[Date Prev][Date Next]
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.
At 10:12 AM 11/19/2001 -0500, you wrote:
I need help
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
The the contents of ldap.ldif is:
dn: dc=my-domain, dc=com
dn: ou=qmail, dc=my-domain, dc=com
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..