[Dovecot] dovecot-1.0.3 & apacheds ldap
sergey ivanov
seriv at parkheights.dyndns.org
Tue Aug 7 06:15:58 EEST 2007
Timo Sirainen wrote:
> On Fri, 2007-08-03 at 08:22 -0400, sergey ivanov wrote:
>
>> dovecot: Aug 03 08:07:10 Info: auth(default): ldap(seriv,127.0.0.1):
>> pass search: base=ou=people,dc=parkheights,dc=dyndns,dc=org
>> scope=subtree filter=(&(objectClass=posixAccount)(uid=seriv))
>> fields=uid,gidNumber,userPassword,homeDirectory,uidNumber
>> dovecot: Aug 03 08:07:10 Info: auth(default): ldap(seriv,127.0.0.1):
>> result: uid(user)=seriv gidnumber(?unknown?)= userpassword(?unknown?)=
>> homedirectory(?unknown?)= uidnumber(?unknown?)=
>>
>
> Looks like Dovecot found only "uid" field. Perhaps it would be also
> helpful if it returned if there were any extra fields it didn't
> recognize..
>
>
>> Attribute id : 'gidnumber', Values : ['1927']
>> Attribute id : 'userpassword', Values : [0x7B 0x4D ...
>> (skipped some bytes here) ... 0x3D 0x3D ]
>> Attribute id : 'homedirectory', Values :
>> ['/var/spool/imap/seriv']
>> Attribute id : 'uidnumber', Values : ['1001']
>>
>
> Could it be that you need to use all lowercase letters, like gidnumber
> instead of gidNumber? I didn't think LDAP attributes were
> case-insensitive.
>
>
You are rights. It's very strange, but when I changed gidNumber,
uidNumber, userPassword and homeDirectory to all lowercase, dovecot
successfully authorize against apacheds ldap server.
Thanks.
--
Sergey.
More information about the dovecot
mailing list