help with qmail - ldap

Jesús Martín Calderón Vega <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
The site where it is supposed http://qmail.bayour.com/patches_ldap/ qeu this
qmail-ldap-control is not available, they know from somewhere else where it
may be a patch for download, or if they could help me with the error sale.

ldap works fine and adds the users well, but when I use qmail-ldaplookup
getting an error which says this:

[root@qmail ~]# /var/qmail/bin/qmail-ldaplookup -d 255 -u postmaster
init_ldap: control/ldaplogin: cn=Manager,dc=domain,dc=com
init_ldap: control/ldappassword: secret
init_ldap: control/ldapserver: 'localhost'
init_ldap: control/ldapbasedn: ou=users,dc=domain,dc=com
init_ldap: control/ldapobjectclass: qmailUser
init_ldap: control/ldaptimeout: 30
init_ldap: control/ldaprebind: 1
init_ldap: control/ldapuid: 11184
init_ldap: control/ldapgid: 2110
init_ldap: control/ldapmessagestore: /home/vmail/
init_ldap: control/ldapdefaultdotmode: both
init_ldap: control/defaultquotasize: 10000000
init_ldap: control/defaultquotacount: 1000
init: control/ldaplocaldelivery: 1
init: control/ldapcluster: 0
init: control/dirmaker: /var/qmail/dirmaker
qldap_open: init successful
qldap_set_option: set referrals successful
qldap_open: init successful
qldap_set_option: set referrals successful
qldap_bind: successful
Searching ldap for: (&(objectClass=qmailUser)(uid=postmaster))
under dn: ou=users,dc=domain,dc=com
qldap_filter: search for (&(objectClass=qmailUser)(uid=postmaster)) failed
(No such object)
qmail-ldaplookup: fatal: qldap_filter: no such object

result for ldapsearch:

[root@qmail openldap]# ldapsearch -x -b 'dc=domain,dc=com'
'(&(objectclass=qmailUser)(uid=postmaster))'
# extended LDIF
#
# LDAPv3
# base <dc=domain,dc=com> with scope sub
# filter: (&(objectclass=qmailUser)(uid=postmaster))
# requesting: ALL
#

# Postmaster, users, domain.com
dn: cn=Postmaster,ou=users,dc=domain,dc=com
cn: Postmaster
ou: users
sn: Postmaster
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [email protected]
mailHost: qmail.domain.com.mx
mailQuotaSize: 0
mailQuotaCount: 0
uid: postmaster
accountStatus: active
mailMessageStore: postmaster

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

No mail delivery does not create the directory for messages.

Or have any idea what could be my mistake, if you like I can send my
configuration.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.