> Hi Andrew,
>
> there is probably a better way, but I have changed the value in
> qmail-ldap.h to
>
> #define LDAP_UID "mail"
>
> instead of uid
>
> here is one of my ldap user entries
>
> # [EMAIL PROTECTED], dwalliance.com, Dwalliance Inc, thejobdomain.com
> dn: [EMAIL PROTECTED],ou=dwalliance.com,o=Dwalliance
> Inc,dc=thejobdomai
>  n,dc=com
> objectClass: top
> objectClass: person
> objectClass: qmailuser
> cn: test test
> sn: test test
> mail: [EMAIL PROTECTED]
> uid: test
> userPassword:: censored
> accountStatus: active
> mailHost: node2.thejobdomain.com
> mailMessageStore: dwalliance.com/test
> deliveryMode: reply
> mailReplyText: ljlkjl kljlk
>
> hope this helps
>

thanks for advice.
It is a simple hack :).

So, I solved first problem:

echo 1 > /var/qmail/ldaprebind

but now I don't know how setup ssl with qmail without stunnel.

Reply via email to