[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Getting LDAP to work
Hi.
I am wondering if any one here had an opportunity to compile and run the LDAP server from open LDAP. If so I am curious if anyone got it working.
I was able to compile it and run the tests which it came with, successfully. Later, I modified the config file so that I told the LDAP server the location of the data. I also ran ldiff to make the data base. But, when I run it in debug mode and issue queries it pretends that it does not see any of the objects I have created. I ran the ldapsearch command using 'objectclass=*' string.
P.S.
I do see the data bases in /usr/tmp
If you guys have any input I would appreciate it.
-----myslapd.conf
database ldbm
suffix "o=Mobinetix, c=US"
directory /usr/tmp
rootdn "cn=root, o=Mobinetix, c=US"
rootpw secret
-----myldif
dn: o=Mobinetix, c=US
o: Mobinetix
objectclass: organization
dn: cn=Rahim, o=Mobinetix, c=US
cn: Rahim
sn: Valiani
mail: rvaliani@mobinetix.com
objectclass: person
dn: cn=Alnoor, o=Mobinetix, c=US
cn: Alnoor
sn: Karim
mail: akarim@mobinetix.com
objectclass: person
Thanks in advance for any help you may be able to provide in this matter.
Best Regards,
Rahim Valiani
- Follow-Ups:
- nisMap
- From: "Tony C. Wu" <tonywu@att.net.tw>