[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
config with netscape help needed
I have compiled openLDAP
created a config file : slapd.conf , it looks like this
/usr/local/ldap/servers/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/ldap/servers/slapd/slapd.at.conf
include /usr/local/ldap/servers/slapd/slapd.oc.conf
schemacheck off
referral ldap://ldap.itd.umich.edu
pidfile %LOCALSTATEDIR%/slapd.pid
argsfile %LOCALSTATEDIR%/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=beth.k12.pa.us"
suffix "o=BASD, c=US"
directory /usr/local/ldap/ldapdata
rootdn "cn=root, dc=beth.k12.pa.us"
rootdn "cn=root, o=BASD, c=US"
rootpw secret
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
**----- end of file
Then I saved the file in the current directory. and created a ldif file
which I called " myldif "
it looks like this
/usr/local/ldap/servers/slapd/myldif
dn: o=BASD, c=US
o: BASD
objectclass: organization
dn: cn=Jeff, o=BASD, c=US
cn: Jeff
sn: Donovan
mail: jdonovan@beth.k12.pa.us
objectclass: person
**---- end of file
Then I did : ./ldif2ldbm -f slapd.conf -i myldif
No errors
then: ./slapd -f slapd.conf
no errors
to test it:
ldapsearch -w secret -b "o=BASD, c=US" "objectclass=*"
o=BASD, c=US
o=BASD
objectclass=organization
cn=Jeff, o=BASD, c=US
cn=Jeff
sn=Donovan
mail=jdonovan@beth.k12.pa.us
objectclass=person
This seems to be fine ' right???? ' what else do i have to do?
When i try to look up this same info from a netscape ldap address book I
recive an error : LDAP error no such object (0x20).
Im stuck,..got any hints or clues?
--jeff
------------------------------------------------------------------------
Jeff Donovan Network Analyst
Bethlehem Area School District The Bethlehem Education Network (BEN)
Bethlehem, PA 18017 (610) 807-5557 jdonovan@beth.k12.pa.us