SolarisボックスはLDAPを使用するように構成されており、ローカルユーザーアカウントはありません。
これは、nsswitch.conf
ファイルの出力です。
bash-3.2$ less /etc/nsswitch.conf
passwd: files [NOTFOUND=continue] ldap
group: files ldap
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
automount: files ldap
netgroup: ldap
aliases: files
services: files
sendmailvars: files
printers: user files ldap
auth_attr: files
prof_attr: files
project: files
sudoers: ldap
そのため、SolarisはLDAPでユーザーとグループを検索します。しかし、LDAPサービス/サーバーの詳細はどこで正確に構成されていますか?
参照:
ldapclient list
コマンドを実行すると、/ var/ldapディレクトリに保存されているクライアント構成を確認できます。例:
# ldapclient list
NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=west,dc=example,dc=com
NS_LDAP_BINDPASSWD= {NS1}4a3788e8c053424f
NS_LDAP_SERVERS= 192.168.0.1, 192.168.0.10
NS_LDAP_SEARCH_BASEDN= dc=west,dc=example,dc=com
NS_LDAP_AUTH= simple
NS_LDAP_SEARCH_REF= TRUE
NS_LDAP_SEARCH_SCOPE= one
NS_LDAP_SEARCH_TIME= 30
NS_LDAP_SERVER_PREF= 192.168.0.1
NS_LDAP_PROFILE= pit1
NS_LDAP_CREDENTIAL_LEVEL= proxy
NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=people,?sub
NS_LDAP_SERVICE_SEARCH_DESC= group:ou=group,dc=west,dc=example,dc=com?one
NS_LDAP_BIND_TIME= 5
/usr/lib/ldap/ldap_cachemgr -g
コマンドは、接続に関する詳細も提供します。
プロファイルが使用されている場合、構成の一部がディレクトリサーバー自体にある可能性があることに注意してください。