Openldap + Ldap Browser/Editor
I’d done played with samba pdc and recently got some free time to give a try with openldap running on top of Noguix linux. My target, hopefully in near future I can have my samba server integrate with ldap authentication. To have basic ldap server running we just need to fulfill all the requirement such as:-
- openldap server v2.3.24 & tools (include client - can be download from Noguix ftp)
- Ldap Browser / Editor v2.8.2
Step : Openldap Installation
- Install openldap
- Edit slapd.conf
- $useradd ldap
- $chown -R ldap:users /var/openldap-data
- $cp /var/openldap-data/DB_CONFIG.example /var/openldap-DB_CONFIG
- $slappasswd
- $slaptest
- $/usr/libexec/slapd &
Step :Create base Organization Unit
$vi /var/openldap-data/bin/machine.ldif and edit as below :
dn: ou=machine, dc=no-x, dc=org
objectClass: organizationalUnit
ou: machine
$ldapadd -x -D “cn=Manager, dc=no-x, dc=org” -W -f /var/openldap-data/machine.ldif
$ldapsearch -xh localhost -b ‘ou=users, dc=no-x, dc=org’ ‘(objectclass=*)’
Step :Ldap Browser / Editor Installation
- $tar -zxvf ../Browser282b2.tar.gz
- $cd /Browser282b2/ldapbrowser
- $/lbe.sh
Now you should get the same as mine as below:-


ariyossss
athlon_crazy 5/01/2009 2:41am
No comments
