are you using sun's ldap or open ldap ? courier compiled and linked fine against sun's ldap libraries, but I can't figure out how to test it. I suppose, that if it sends requests then some functionality is definitely there, but how to troubleshoot it ?
I did play around with the settings, some things are obvious, homeDirectory, crypt or clear password, but some are not. what's the mail setting for ? is that the naming attribute ? does that mean that if my naming attribute is uid: then LDAP_MAIL needs to be set to uid ? how are the filters used and what information does courier imap need to retrieve to authenticate users ? I tried all of these, but none worked. LDAP_FILTER (objectclass=shadowAccount) LDAP_FILTER (objectClass=posixAccount) LDAP_FILTER (obectClass=top) I would love to contribute to documentation, but have serious problems getting it to work in the first place. On Wed, 11 Feb 2004, [ISO-8859-1] Jürgen Magin wrote: > Hi > > I have a similar problem with the authentication. > > You have to configure the authdaemonrc and authldaprc files and you need > some more > attributes in your LDAP entries (like mail, homeDirectory..). > > I tried authentication via imapd (mozilla) and get always > "authentication failed". > In the logs i can see that imapd talk to authdaemon and authdaemon talks to > the LDAP server (openldap), but in the logs of the LDAP server are only > empty requests. > > Did anyone know what's going wrong? > > I'm using courier 0.42.2. > > -- > Mit freundlichen Grüßen > > Jürgen Magin > > ************************************************************** > # # > # OCTOGON Software Development GmbH # > # http://www.octo-soft.de # > # # > # Jürgen Magin, Einsteinstr. 11, D 68519 Viernheim # > # # > # Tel : +49 6204/914874 # > # Fax : +49 6204/914875 # > # EMail : [EMAIL PROTECTED] # > # # > ************************************************************** > > > synrat schrieb: > > >Can someone please explain how to setup authentication for courier via > >LDAP. > >Using real local accounts. I tried doing it with ssl and without, with > >bind and anonymously, > >all I see in LDAP log ( iplanet ) is an empty request. > > > >thank you in advance. > > > >dn: uid=dude,ou=people,dc=domain,dc=com > >cn: dude > >uidNumber: 217 > >gidNumber: 10 > >gecos: dude > >homeDirectory: > >/export/home/dude > >loginShell: /bin/ksh > >creatorsname: cn=directory manager > >objectClass: posixAccount > >objectClass: shadowAccount > >objectClass: account > >objectClass: top > >uid: dude > >userPassword: {crypt}rYP6wibF9n81Q > > > > > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by EclipseCon 2004 > >Premiere Conference on Open Tools Development and Integration > >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > >http://www.eclipsecon.org/osdn > >_______________________________________________ > >courier-users mailing list > >[EMAIL PROTECTED] > >Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > > > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users