Open main menu

CDOT Wiki β

Changes

NAD810 LDAP LAB

47 bytes added, 14:29, 17 February 2009
OpenLDAP Server configuration details:
database ldbm
suffix “dc=ops535,dc=com”
rootdn “cn=Manager,dc=ops535nad810,dc=com”
rootpw {SSHA}3NVLOWwqIMka3OyIYLyGrrkirD0pU0Qx
directory /var/lib/ldap/ops535.com
homeDirectory: /home/ldapuser
f. edit ldif.root(change dc=pad1 to dc=nad810)
dn: uid=root,ou=People,dc=padl,dc=com
uid: root
gecos: root
g. create an LDIF file (nad810.com.ldif) for the nad810.com domain
dn: dc=nad810,dc=com
dc: nad810
(5) Import LDIF files into the OpenLDAP database
ldapadd -x -D “cn=Manager,dc=ops535nad810,dc=com” -W -f /etc/openldap/ops535nad810.com.ldif ldapadd -x -D “cn=Manager,dc=ops535nad810,dc=com” -W -f /etc/openldap/ldif.root ldapadd -x -D “cn=Manager,dc=ops535nad810,dc=com” -W -f /etc/openldap/ldif.ldapuser
To test the OpenLDAP database:
ldapsearch -x -b 'dc=ops535nad810,dc=com' '(objectclass=*)' 
==Part 2 - Setup and configure OpenLDAP Client==
1
edit