{"id":1653,"date":"2018-06-12T13:13:12","date_gmt":"2018-06-12T20:13:12","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1653"},"modified":"2018-06-12T13:13:12","modified_gmt":"2018-06-12T20:13:12","slug":"mounting-shares-via-windows-alternate-names-in-linux","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1653","title":{"rendered":"Mounting Shares via Windows Alternate Names In Linux"},"content":{"rendered":"<p>On the server you want to mount a share, use the following list all names for the server:<\/p>\n<blockquote><p>NETDOM COMPUTERNAME servrname \/ENUM<\/p><\/blockquote>\n<p>Example:<\/p>\n<blockquote><p>C:\\>netdom computername dc01 \/enum<br \/>\nAll of the names for the computer are:<\/p>\n<p>DC01.domain.tld<br \/>\nThe command completed successfully.<\/p><\/blockquote>\n<p>To add a new name:<\/p>\n<blockquote><p>NETDOM COMPUTERNAME servername \/ADD othername.domain.tld<\/p><\/blockquote>\n<p>And then to get the name registered into your DNS:<\/p>\n<blockquote><p>IPCONFIG \/REGISTERDNS<\/p><\/blockquote>\n<p>Now, when you list the names, you will see the new one:<\/p>\n<blockquote><p>C:\\>netdom computername dc01 \/enum<br \/>\nAll of the names for the computer are:<\/p>\n<p>DC01.domain.tld<br \/>\nothername.domain.tld<br \/>\nThe command completed successfully.<\/p><\/blockquote>\n<p>To delete a name:<\/p>\n<blockquote><p>NETDOM COMPUTERNAME servername \/REMOVE othername.domain.tld<br \/>\nIPCONFIG \/REGISTERDNS<\/p><\/blockquote>\n<p>When using Samba in linux to mount via an alternate server name, you need to make sure you specify the SMB version as a option.<\/p>\n<p>For example:<\/p>\n<blockquote><p>\/etc\/fstab:<br \/>\n&#8230;<br \/>\n\/\/othername.domain.tld\/sharename    \/MountPoint        cifs    <strong>vers=3.0<\/strong>,iocharset=utf8,file_mode=0777,dir_mode=0777    0    0<br \/>\n&#8230;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>On the server you want to mount a share, use the following list all names for the server: NETDOM COMPUTERNAME servrname \/ENUM Example: C:\\>netdom computername dc01 \/enum All of the names for the computer are: DC01.domain.tld The command completed successfully. To add a new name: NETDOM COMPUTERNAME servername \/ADD othername.domain.tld And then to get the [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[471,140,61],"class_list":["post-1653","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-name","tag-netdom","tag-samba"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1653"}],"version-history":[{"count":3,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1653\/revisions"}],"predecessor-version":[{"id":1656,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1653\/revisions\/1656"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}