[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: simple Authentication

[ Aubrey Moore ]

> Hi everyone, I am trying to get courier (with squirrelMail) to use
> LDAP authentication but everytime sqirrelmail will fail producing
> the following
> error in the messages file
> 	ldap_bind: Inappropriate authentication
> If I try doing what I think should be a correct ldapsearch on the
> commandline I get the ame error e.g
> 	ldapsearch -x -w email -D "dc=kit, dc=mail" "(cn=aubs) *
> The only documentation I can find on this error states the
> userPassword attribute is missing but I don't understand this???

-D "dc=kit, dc=mail" means you're trying to autenticate as user
 "dc=kit,dc=mail". Use 

-D  mail=aubs@kit.mail,ou=mailboxes,dc=kit,dc=mail 


Mathias Meisfjordskar
GNU/Linux addict.

"If it works; HIT IT AGAIN!"