Setting Up CIFS Server (Samba) In an LDAP Environment

Setting Up CIFS Server (Samba) in an LDAP Environment
8
Part two: Setting up ldapux client.
Install J4269AA LDAP-UX Integration product on the
server you will be using CIFS Server on.
This needs to be version B.03.20 or greater (only this version and later contains the
ldap-ux sdk needed by CIFS Server)
You can obtain this from
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4269
AA
Configure you ldapux client:
Login as root.
cd /opt/ldpaux/config
./setup
For example:
Directory Server: [1]: (Netscape Directory)
Directory server host [rkm-nt.alf.cpqcorp.net = 16.113.9.137]:
Directory Server port number [389]:
Would you like to extend the schema in this directory server? [Yes]:
Would you like to extend the printer schema in this directory server? [Yes]: NO
User DN [cn=Directory Manager]:
Password: yourchoice (same as you entered when you setup Netscape DS)
Profile Entry DN: []: cn=ldapuxprofile,dc=alf,dc=cpqcorp,dc=net
User DN [cn=Directory Manager]: (this is to add the profile you are creating)
Password: yourchoice
Authentication method: [1]: (if you change this, you will have to read up on ssl/tls
communication)
Enter the number of hosts you want to specify [0]: (leave at zero, for a single
Netscape DS lookup)
Default base DN [dc=alf,dc=cpqcorp,dc=net]:
Accept remaining defaults? (y/n [y]:
Are you ready to create the Profile Entry? [Yes]:
You will then get messages indicating that you have ‘created/changed the
configuration’
And it will then ask if you want to start/restart the LDAP-UX daemon. Respond
yes.
This will set up you client to:
-talk to a Netscape/Iplanet DS server rather than a Win2k one
-use your hostname=ip address as the address of the directory server where you want to
store your ldap-ux profile; if you have Netscape DS running on a different server, this will
need to change, obviously.
-use port 389 as the port to connect to the DS service on the previous ipaddress.
(note: make sure that the slapd daemon is up and running on whatever ip address you
give!)