[Date Prev][Date Next]
Can't get started openldap-server 2.0.23 + obsd 3.0
Hello, I've been trying to use the Quickstart guide to get LDAP running,
but when I cannot enter the initial database values with the ldif file
and ldapadd .
The directory is created with 700 permissions
At this point, the "ldapsearch -x -b '' -s base '(objectclass=*)'
namingContexts" command returns:
# filter: (objectclass=*)
# requesting: namingContexts
# search result
result: 0 Success
# numResponses: 2
# numEntries: 1
So the first part of the config appears correct, but is only half the
job. To get the proper credentials into LDAP, you need to create an
LDIF file and use LDAPADD to insert your records.
My first.ldif file to be added with "ldapadd -x -D
"cn=Manager,dc=bozack,dc=com" -W -f first.ldif" - tried this as root
I am prompted for the the ldap password, and I enter the one specified
in slapd.conf but, I receive "ldap_bind: Invalid credentials"
I have tried the ldapadd command without the -W switch and I receive
adding new entry "dc=bozack,dc=com"
ldap_add: No such object
ldif_record() = 32
Tried to make this as readable as possible - thanks for any help you can
JSquared Network Solutions