
未解決
SONiC OSでLDAP認証に失敗する
こんにちは。
私はS5248FスイッチをEnterprise SONiCの4.5.3-Enterprise_Standardで使用しています。
スイッチへのログインに、LDAP認証を使用したいと考えています。
設定した内容は以下の通りです。
SW02# show running-configuration | grep ldap
aaa authentication login default group ldap local
ldap-server base DC=test,DC=local
ldap-server binddn CN=Administrator,CN=Users,DC=test,DC=local
ldap-server bindpw U2FsdGVkX1+Mmz1m+SOMbjIUOSYQ3ynFxZpkNBz1xP8= encrypted
ldap-server vrf mgmt
ldap-server host 10.30.122.100 port 389 priority 1
ldap-server map attribute uid to sAMAccountName
ldap-server map remote-groups-override-to-sonic-roles team1 to admin
ldap-server map objectclass posixAccount to user
SW02# show ldap-server
---------------------------------------------------------
LDAP Global Configuration
---------------------------------------------------------
base : DC=test,DC=local
bind-dn : CN=Administrator,CN=Users,DC=test,DC=local
bindpw configured : Yes
vrf-name : mgmt
---------------------------------------------------------
LDAP NSS Configuration
---------------------------------------------------------
bindpw configured : No
---------------------------------------------------------
LDAP PAM Configuration
---------------------------------------------------------
bindpw configured : No
---------------------------------------------------------
LDAP SUDO Configuration
---------------------------------------------------------
bindpw configured : No
--------------------------------------------------------------------------------
HOST USE-TYPE PORT PRIORITY SSL RETRY
--------------------------------------------------------------------------------
10.30.122.100 - 389 1 - -
---------------------------------------------------------
LDAP Maps
---------------------------------------------------------
ATTRIBUTE:
sAMAccountName : uid
OBJECTCLASS:
user : posixAccount
CUSTOM_SONIC_ROLES_ATTRIBUTE_VALUE:
admin : team1
SW02#
この設定でSSHによるアクセスを試していますが失敗します。
LDAPサーバ側でパケットキャプチャを見ると、LDAPの認証は成功しています。
しかし、Tera Termのプロンプトでは再びパスワードを確認され、機器へログインできない状態です。
解決方法をご存知の方がいましたらご教授いただけますでしょうか。
返信(0)
解決策(0)
