Sunday, September 6, 2009

How to configure Ldap Client in Solaris

How To configure Ldap Client in Solaris:

Pls run this Script for Configuring Ldap cliet

ldapclient -v manual\
-a credentialLevel=proxy\
-a proxyDN="uid=proxyagent,ou=profile,dc=itchoice,dc=com"\
-a proxyPassword=hello\
-a "authenticationMethod=simple"\
-a defaultServerList="x.x.x.x x.x.x.x"\ -a preferredServerList="x.x.x.x x.x.x.x"\ -a defaultSearchScope=sub\ -a domainName="itchoice.com"\ -a serviceSearchDescriptor="auto_master:nismapname=local,ou=Automount,dc=itchoice,dc=com?sub"\
-a serviceSearchDescriptor="home:ou=Automount,dc=itchoice,dc=com?sub"\
-a serviceSearchDescriptor="local:nismapname=local,ou=Automount,dc=itchoice,dc=com?sub"\
-a attributeMap=automount:automountMapName=nisMapName\
-a defaultSearchBase="dc=itchoice,dc=com"
/usr/bin/cp ./nsswitch.conf.ori /etc/nsswitch.conf

No comments:

Post a Comment