entry returned by qmail-ldaplookup -u <user> id different from ldi used
Friedrich Locke <[email protected]> Mon, 11 Jul 2011 20:11:44 -0300
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <CANMDHqdmoN5WHbSqEkNakmFve+CM5WQ6krgG6RiFOauy9RZf+A@mail.gmail.com> |
Hi,
after a good amount of pain i got my qmail+ldap working, but there are
something strange:
Take a look at this:
$ cat ldif
dn: uid=grios,ou=people,dc=ufv,dc=br
uid: grios
objectclass: organizationalrole
objectclass: posixaccount
objectclass: qmailuser
cn: Gustavo Rios
uidnumber: 2000
gidnumber: 2000
homedirectory: /home/grios
userpassword: {SASL}[email protected]
loginshell: /bin/sh
gecos: Gustavo V G C Rios,,,
mail: [email protected]
mailalternateaddress: [email protected]
mailhost: gustav.cpd.ufv.br
mailmessagestore: /var/pop/grios
$
Now take a look at qmail-ldaplookup -u grios
sioux@gustav$ ./qmail-ldaplookup -u grios
Searching ldap for: (&(objectClass=qmailuser)(uid=grios))
under dn: ou=people,dc=ufv,dc=br
Found 1 entry:
dn: uid=grios,ou=people,dc=ufv,dc=br
-------------------------------------------------------
objectClass: organizationalRole
objectClass: posixAccount
objectClass: qmailUser
mail: [email protected]
mailAlternateAddress: [email protected]
uid: grios
accountStatus: undefined -> active
mailHost: gustav.cpd.ufv.br
homeDirectory: /home/grios
aliasEmpty: /var/pop/grios
qmailDotMode: ldaponly
qmailUID: 1016
qmailGID: 1010
mailQuotaSize: 100000000
mailQuotaCount: 100
mailSizeMax: 0 (unlimited)
mailReplyText: undefined
sioux@gustav$
As you can see, aliasEmpty (there was no such a attribute in ldif
file) is setted to the same value as "mailmessagestore" that is
contained in ldif file.
The mailmessagestore is not returned by qmail-ldaplookup!
Why? What am i doing wrong ?
Thanks in advance.