-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 12 Apr 2002, Christopher Bodenstein uttered the following:

> Problably something wrong in you authldaprc.
> 
> Did you try with the actual ldap query with ldapsearch to check if you
> get the right path?
> 
> Maybe attaching your authldaprc could also help :)
> 

sean@bsod:~ > ldapsearch -h tcob1.net -b "dc=tcob1,dc=net" uid=sean
version: 2

#
# filter: uid=sean
# requesting: ALL
#

# Sean Rima, tcob1, net
dn: cn=Sean Rima,dc=tcob1,dc=net
cn: Sean Rima
sn: Rima
telephoneNumber: +353 95 438 68
objectClass: inetOrgPerson
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: CourierMailAccount
mail: [EMAIL PROTECTED]
uid: Sean
uidNumber: 500
gidNumber: 100
homeDirectory: /home/sean
gecos: Sean Rima
mailbox: /var/mail/sean
userPassword:: somethingfalse

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


LDAP_SERVER             tcob1.net
LDAP_PORT               389

##NAME: LDAP_BASEDN:0
#
# Look for authentication here:

LDAP_BASEDN             dc=tcob1,dc=net

##NAME: LDAP_BINDDN:0
#
# You may or may not need to specify the following.  Because you've got
# a password here, authldaprc should not be world-readable!!!

LDAP_BINDDN             cn=Bogus Manager, dc=tcob1, dc=net
LDAP_BINDPW             bogus password

##NAME: LDAP_TIMEOUT:0
#
# Timeout for LDAP search

LDAP_TIMEOUT            5

LDAP_AUTHBIND           1

##NAME: LDAP_MAIL:0
#
# Here's the field on which we query

LDAP_MAIL               uid

##NAME: LDAP_DOMAIN:0
#
# The following default domain will be appended, if not explicitly
#specified.
#
# LDAP_DOMAIN           example.com

LDAP_GLOB_UID           exim
LDAP_GLOB_GID           exim

##NAME: LDAP_HOMEDIR:0
#
# We will retrieve the following attributes
#
# The HOMEDIR attribute MUST exist, and we MUST be able to chdir to it

LDAP_HOMEDIR            homeDir

##NAME: LDAP_MAILDIR:0
#
# The MAILDIR attribute is OPTIONAL, and specifies the location of the
# mail directory.  If not specified, ./Maildir will be used

LDAP_MAILDIR            mailbox
 

All the rest is set to the dist authldaprc file

Sean
- -- 
  Sean Rima                                http://www.tcob1.net
  Linux User:      231986          Jabber:   [EMAIL PROTECTED]
  THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.
 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Use GPG for Secure Mail

iEYEARECAAYFAjy2+Y4ACgkQeR/L2ZZp3E8P6wCeNBCr0TTa5pgDVUxS2qIOIh51
7w0AoIHl3Z46+4sHYqyY5zgZ0IZJJJA7
=jNOA
-----END PGP SIGNATURE-----

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to