Dear List,

We are using courier authlib for authenticating our users. User details are
stored in Active Directory (Windows Server 2008). The base DN of Active
Directory is  dc=tibs,dc=edu,dc=in

Under this base DN we have multiple OUs like student,faculty etc. In order
to search users belonging to multiple OUs we need to use base DN as
dc=tibs,dc=edu,dc=in When we are using ldapsearch with this it is working
fine – the following command returns the desired entry:

ldapsearch -h 172.16.2.14 -b "dc=tibs,dc=edu,dc=in" -D
"ad...@tibs.edu.in" -w cescnet_123 -x uid=jayanta


But when we are doing courier authentication by using the command authtest
we get "Authentication FAILED: Input/output error"

The content of the file /etc/authlib/authldaprc is as follows:-

LDAP_SERVER             172.16.2.14
LDAP_URI                ldap://172.16.2.14
LDAP_PROTOCOL_VERSION   3
LDAP_BASEDN            dc=tibs, dc=edu, dc=in
LDAP_BINDDN             admin
LDAP_BINDPW             cescnet_123
#LDAP_TIMEOUT           5
LDAP_TIMEOUT            60
LDAP_AUTHBIND           1
LDAP_MAIL               mail
LDAP_DOMAIN             tibs.edu.in
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            unixHomeDirectory
LDAP_MAILDIR            unixHomeDirectory
#LDAP_DEFAULTDELIVERY   defaultDelivery
LDAP_MAILDIRQUOTA       mailQuotaSize
LDAP_FULLNAME           cn
#LDAP_CLEARPW           clearPassword
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0

But when we are using LDAP_BASEDN ou=student,dc=tibs,dc=edu,dc=in

authtest is working fine.

Any clues please. The problem is intermittent in nature. We are unable to
figure out the problem.

With regards,

Goutam
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to