On Friday 06 July 2001 12:57, you wrote:
> Yes, read http://www.lifewithqmail.org/ldap/#Schema for OpenLDAP 2.x
> that I have written explaining this.

Yes I know this document and I configure my LDAP-server with it.

But there's no qmailUser object class!

My slapd.conf file shows like this:

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/qmail.schema

schemacheck     off
referral        ldap://127.0.0.1
pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args
loglevel        64

database        ldbm
suffix          "o=soid,c=ch"
directory       "/var/lib/ldap"
lastmod on

access to dn=".*,ou=Roaming,o=soid,c=ch"
        by dnattr=owner write

access to attribute=userPassword
        by dn="cn=admin,ou=People,o=soid,c=ch" write
        by anonymous auth
        by self write
        by * none

access to *
        by dn="cn=admin,ou=People,o=soid,c=ch" write
        by * read

I think this is correct!?

The server writes this into the logfile when it restarts:

Jul  6 13:15:24 server5 slapd[16929]: slapd shutdown: waiting for 0 threads 
to terminate
Jul  6 13:15:24 server5 slapd[16926]: slapd stopped.
Jul  6 13:15:26 server5 slapd[16994]: daemon: socket() failed errno=97 
(Address family not supported by protocol)
Jul  6 13:15:27 server5 slapd[16994]: line 34 (database^Ildbm)
Jul  6 13:15:27 server5 slapd[16994]: line 37 (suffix^I^I"o=soid,c=ch")
Jul  6 13:15:27 server5 slapd[16994]: line 40 (directory^I"/var/lib/ldap")
Jul  6 13:15:27 server5 slapd[16994]: line 43 (lastmod on)
Jul  6 13:15:27 server5 slapd[16994]: line 48 (access to 
dn=".*,ou=Roaming,o=soid,c=ch" by dnattr=owner write)
Jul  6 13:15:27 server5 slapd[16994]: line 58 (access to 
attribute=userPassword by dn="cn=admin,ou=People,o=soid,c=ch" write by 
anonymous auJul  6 13:15:27 server5 slapd[16994]: line 63 (access to * by 
dn="cn=admin,ou=People,o=soid,c=ch" write by * read)
Jul  6 13:15:27 server5 slapd[16995]: slapd starting

Thanks!

Severin Olloz

Reply via email to