文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Solaris LDAP

Solaris LDAP

时间:2009-06-27  来源:dreamxe

Setting Up an LDAP Client   客户端的profile和proxy账户在Sun Java Directory Server setup的时候就已经建好了,默认的profile叫default,而默认的proxy账户是proxyagent。当LDAP的客户端被初始化后,客户端会从服务端上获取a copy of profile,在LDAP的客户端,ldap_cachemgr进程就是来负责管理和更新客户端profile的更新信息的。  

The following example describes a typical client initialization:

# ldapclient init -a proxyPassword=proxy \ -a proxyDN=cn=proxyagent,ou=profile,dc=suned,dc=sun,dc=com\ -a domainname=suned.sun.com 192.168.0.100 System successfully configured 
注意proxDN 
 
ldapclient命令会在/var/ldap目录下生成两个文件,但都是ASCII的文件,不容易阅读,常用ldapclient list来查看配置信息
NS_LDAP_SEARCH_SCOPE= sub Tell the clients the scope of search a naming
service lookup should perform. Is it just searching one level under the DN (one), or the entire subtree under the DN (sub)?
在LDAP客户端的初始化过程中,/etc/nsswitch.ldap文件会自动覆盖/etc/nsswitch.conf文件。
 
To unconfigure an LDAP client, use the ldapclient command with the uninit option. This command removes the client files from the /var/ldap directory and restores the previous /etc/nsswitch.conf file. The ldap_cachemgr process is also stopped. The changes to the client name service configuration are dynamic; therefore, no reboot is needed. 
 
相关阅读 更多 +
排行榜 更多 +
单挑幸存者安卓版

单挑幸存者安卓版

飞行射击 下载
决战战地指挥官

决战战地指挥官

飞行射击 下载
鸡仔幸存者最新版

鸡仔幸存者最新版

飞行射击 下载