{"id":5351,"date":"2021-10-21T01:30:14","date_gmt":"2021-10-21T01:30:14","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5351"},"modified":"2022-05-05T11:40:27","modified_gmt":"2022-05-05T11:40:27","slug":"adding-new-share-name-for-fileserver","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver","title":{"rendered":"Adding new Share Name for Fileserver"},"content":{"rendered":"<p>Recently we needed to add a new alias to a share for it to be accessible from\u00a0<\/p><ol><li>Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )<\/li><\/ol><p>Run below on domain controller<\/p><ol><li>run setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)<\/li><li>run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)<\/li><\/ol><p>If a item already exists you will need to clear is\u00a0<\/p><p>&nbsp;<\/p><ol><li>setspn -D host\/filenew\u00a0file01<\/li><li>setspn -D HOST\/filenew.domain.com file01<\/li><\/ol><p>&nbsp;<\/p><p>Examples:<br \/>setspn -R daserver1<br \/>It will register SPN &#8220;HOST\/daserver1&#8221; and &#8220;HOST\/{DNS of daserver1}&#8221;<br \/>setspn -S http\/daserver daserver1<br \/>It will register SPN &#8220;http\/daserver&#8221; for computer &#8220;daserver1&#8221;<br \/>if no such SPN exists in the domain<br \/>setspn -D http\/daserver daserver1<br \/>It will delete SPN &#8220;http\/daserver&#8221; for computer &#8220;daserver1&#8221;<br \/>setspn -F -S http\/daserver daserver1<br \/>It will register SPN &#8220;http\/daserver&#8221; for computer &#8220;daserver1&#8221;<br \/>if no such SPN exists in the forest<br \/>setspn -U -S http\/daserver dauser<br \/>It will register SPN &#8220;http\/daserver&#8221; for user account &#8220;dauser&#8221;<br \/>if no such SPN exists in the domain<br \/>setspn -T * -T bar -X<br \/>It will report all duplicate registration of SPNs in this domain and bar<br \/>setspn -T bar -F -Q *\/daserver<br \/>It will find all SPNs of the form *\/daserver registered in the forest to<br \/>which bar belongs<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently we needed to add a new alias to a share for it to be accessible from\u00a0Add DNS A record for that name ( e.g. fileshare -&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1377,3812,3618,3619,3617,3049],"class_list":["post-5351","post","type-post","status-publish","format-standard","hentry","category-research","tag-dns","tag-kerberos","tag-kerboros","tag-new-alias","tag-setspn","tag-share"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Adding new Share Name for Fileserver | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-10-21T01:30:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-05-05T11:40:27+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Adding new Share Name for Fileserver | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#article\",\"name\":\"Adding new Share Name for Fileserver | Welcome to Pariswells.com\",\"headline\":\"Adding new Share Name for Fileserver\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2021-10-21T01:30:14+00:00\",\"dateModified\":\"2022-05-05T11:40:27+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#webpage\"},\"articleSection\":\"Research, DNS, Kerberos, kerboros, new alias, setspn, share\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#listItem\",\"name\":\"Adding new Share Name for Fileserver\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#listItem\",\"position\":3,\"name\":\"Adding new Share Name for Fileserver\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver\",\"name\":\"Adding new Share Name for Fileserver | Welcome to Pariswells.com\",\"description\":\"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -> 192.168.0.33 )Run below on domain controllerrun setspn -S host\\\/fileshare existingfileshareserver (e.g. setspn -S host\\\/filenew file01)run setspn -S host\\\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\\\/filenew.domain.local file01)If a item already exists\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/adding-new-share-name-for-fileserver#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2021-10-21T01:30:14+00:00\",\"dateModified\":\"2022-05-05T11:40:27+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adding new Share Name for Fileserver | Welcome to Pariswells.com","description":"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -> 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists","canonical_url":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#article","name":"Adding new Share Name for Fileserver | Welcome to Pariswells.com","headline":"Adding new Share Name for Fileserver","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2021-10-21T01:30:14+00:00","dateModified":"2022-05-05T11:40:27+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#webpage"},"articleSection":"Research, DNS, Kerberos, kerboros, new alias, setspn, share"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#listItem","name":"Adding new Share Name for Fileserver"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#listItem","position":3,"name":"Adding new Share Name for Fileserver","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#webpage","url":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver","name":"Adding new Share Name for Fileserver | Welcome to Pariswells.com","description":"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -> 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2021-10-21T01:30:14+00:00","dateModified":"2022-05-05T11:40:27+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"Adding new Share Name for Fileserver | Welcome to Pariswells.com","og:description":"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists","og:url":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver","article:published_time":"2021-10-21T01:30:14+00:00","article:modified_time":"2022-05-05T11:40:27+00:00","twitter:card":"summary","twitter:title":"Adding new Share Name for Fileserver | Welcome to Pariswells.com","twitter:description":"Recently we needed to add a new alias to a share for it to be accessible from Add DNS A record for that name ( e.g. fileshare -&gt; 192.168.0.33 )Run below on domain controllerrun setspn -S host\/fileshare existingfileshareserver (e.g. setspn -S host\/filenew file01)run setspn -S host\/fileshare.domain.local existingfileshareserver (e.g. setspn -S host\/filenew.domain.local file01)If a item already exists"},"aioseo_meta_data":{"post_id":"5351","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-10-21 01:27:56","updated":"2022-09-15 03:23:56","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdding new Share Name for Fileserver\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"Adding new Share Name for Fileserver","link":"https:\/\/pariswells.com\/blog\/research\/adding-new-share-name-for-fileserver"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5351"}],"version-history":[{"count":4,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5351\/revisions"}],"predecessor-version":[{"id":5723,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5351\/revisions\/5723"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}