[EMAIL PROTECTED] wrote: > After the installation of the qmail+ldap+control, I found this error that I > have no idea how to solve... maybe it's a bug?
In short: Yes, but not with the software but with your understanding of its output and ldap... >keops:~# qmail-ldaplookup -u javi >init_ldap: passwords are not compared via rebind > localdelivery: off > clustering: off > ldapobjectclass: qmailUser > homedirmaker: > defaultDotMode: ldaponly > defaultQuota: > QuotaWarning: >------ >MailBox Full > >------ >qldap_lookup: searching with (&(objectclass=qmailUser >qldap_lookup: NOT successful: ldap_search failed >localdelivery off, so no local lookup > >see the filter string... >If I delete the ldapobjectclass entry in the ldap directory, everything works well... >but I have some problems because I have some users as system users... Yep, see the filter string - looks buggy... should look like qldap_lookup: searching with (&(objectclass=qmailuser)(uid=korte)) what does your ldap log say, when executing this search? (didn't look at the latest sources of qmail-ldaplookup) >this is the control.ldif: > >dn: cn=derethor.net, ou=QMailLDAP, dc=StaticBytes, dc=com >objectclass: top >objectclass: qmailControl ^^ this is where another "objectclass=qmailuser" should go... >cn: derethor.net >ldapbasedn: dc=staticbytes,dc=com >ldapuid: 64030 >ldapgid: 64040 >ldapmessagestore: /var/qmail/maildirs >quotawarning: MailBox Full >locals: derethor.net >ldapobjectclass: qmailUser >ldaplocaldelivery: 0 > >by the way... why is the ldapobjectclass not listed on the qmailControl.schema? I had >to added it by hand: because it's a control file in control/ldapobjectclass and not a field in the ldap db... >attributetype ( 1.3.6.1.4.1.7006.1.2.1.62 NAME 'ldapObjectClass' > DESC 'QMail Object Class Filter.' > EQUALITY caseIgnoreIA5Match > SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) >any idea? might get your ldap server confused - and is plain wrong. add an attribute "objectclass=qmailuser" to the users ldif and remove that "qmailObjectClass" stuff... greetings & bye Timm
