{"id":1003,"date":"2012-05-22T09:00:31","date_gmt":"2012-05-22T13:00:31","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=1003"},"modified":"2012-05-22T07:36:12","modified_gmt":"2012-05-22T11:36:12","slug":"cisco-ucs-and-default-authentication-domains","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/virtualization\/cisco-ucs-and-default-authentication-domains\/","title":{"rendered":"Cisco UCS and Default Authentication Domains"},"content":{"rendered":"<p>I&#8217;ve recently been working with Cisco UCS &#8212; and more specifically the UCS Powertool (the powershell management component). Initially, my scripts were using a local account in UCSM for authentication. However, after changing the &#8220;Default Authentication Realm&#8221; from Local to LDAP (see screenshot below), I could no longer authenticate using a local account in my script<\/p>\n<p><a href=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-auth-native.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1004\" title=\"ucs-usermgmt-auth-native\" src=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-auth-native-300x79.png\" alt=\"\" width=\"300\" height=\"79\" srcset=\"https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-auth-native-300x79.png 300w, https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-auth-native.png 501w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Using an account from the configured default realm worked &#8212; which makes plenty of sense as this is the provider UCS uses for authentication by default. \u00a0However, I wanted to be able to specify the authentication realm in my scripts and override the default if necessary.<\/p>\n<p>I had an idea on how to attempt this configuration while looking at the remotely authenticated user section. \u00a0You&#8217;ll notice in the screenshot below that I have a remotely connected LDAP user with a prefix of <font face=\"COURIER\"><strong>ucs-ldap22\\<\/strong><\/font> (its at the bottom of the image).<\/p>\n<p><a href=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1005\" title=\"ucs-usermgmt\" src=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-228x300.png\" alt=\"\" width=\"228\" height=\"300\" srcset=\"https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt-228x300.png 228w, https:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2012\/05\/ucs-usermgmt.png 272w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/><\/a><\/p>\n<p>Yes, that&#8217;s right. \u00a0<font face=\"COURIER\"><strong>UCS hyphen NameOfAuthenticationDomain backslash UserName<\/strong><\/font>. \u00a0I created an authentication domain named local, which maps to the local authentication provider, and then attempted to Connect-UCS specifying the username in the format ucs-local\\myUserID &#8212; SUCCESS! \u00a0 \u00a0Just thought I&#8217;d share this information in case anyone else has a similar need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve recently been working with Cisco UCS &#8212; and more specifically the UCS Powertool (the powershell management component). Initially, my scripts were using a local account in UCSM for authentication. However, after changing the &#8220;Default Authentication Realm&#8221; from Local to &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/virtualization\/cisco-ucs-and-default-authentication-domains\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1003","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=1003"}],"version-history":[{"count":5,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1003\/revisions"}],"predecessor-version":[{"id":1010,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1003\/revisions\/1010"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=1003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=1003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}