On 08/20/2013 08:55 AM, Chedomir Nikolikj wrote:
> Hi Paul,
>
> I have noticed that the LDAP part where we give the user password
> attribute is not working as expected. It only works if you use default
> "userPassword" attribute in LDAP, but if you want to use let's say some
> custom attribute for LDAP, for example "mailPassword", no matter what
> attribute you give in "field_passwd" in dbmail.conf it always uses
> "userPassword" attribute. Can you take a look at this pls ?
DBMail's LDAP authentication currently uses ldap_bind_s(3) which simply
asks the LDAP server whether the specified combination of a DN and a
password are valid. I think the userPassword attribute is pretty much
hard-coded into at least OpenLDAP.
The field_passwd attribute in dbmail.conf is only for managing the
attribute, not for authentication.
In order to allow more flexible LDAP authentication, we should start
supporting ldap_sasl_bind_s.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail