[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: newbie openbsd ldap startup

Thanks JM,
I've done everything as root so far until I have a better idea how all this works together.. probably not a good idea, but I just want to see the thing work to start. so i don't think it's permissions. .
I'm going to try to find logging note you'd posted. .
I don't suppose you have it handy?
----- Original Message -----
Sent: Monday, November 19, 2001 10:29 AM
Subject: Re: newbie openbsd ldap startup

Check your database permissions. Normally that's the reason why it can't add. If its other than that check the logs... I posted a note before on how to do the logging its pretty tricky but you'll have to restart syslogd and edit /etc/syslog.conf and start slapd with -s local4. Please check the man page on openldap.

jm ^_^

At 10:12 AM 11/19/2001 -0500, you wrote:
I need help desperately..
I'm tryind to get qmial-ldap setup, but I can't get past the initial install for ldap.
I've installed openldap 2.0.18 on OpenBSD 2.9. The 'make tests' all passed with no problems.. I can start slapd, but I get the following error everytime I try to do anything.
ldap_init( localhost, 0 )
ldap_bind: Can't contact LDAP server

When I 'ps -aux' I can see that slapd is running. I'm using the default slapd.conf exactly as it comes with the following command to add a record.
ldapadd -vxc -h localhost -D "cn=manager,dc=my-domain,dc=com" -w secret -f ldap.ldif
The the contents of ldap.ldif is:
dn: dc=my-domain, dc=com
objectclass: top

dn: ou=qmail, dc=my-domain, dc=com
objectclass: top
objectclass: organizationalUnit
ou: qmail
There's probably a typical rookie flaw in here somewhere, but I haven't been able to find anything online to help..

Thanks in advance..