8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] ldap authentication
FromSent OnAttachments
Roger HelgesenJun 13, 2002 7:49 am 
Roger HelgesenJun 13, 2002 4:06 pm 
Sam VarshavchikJun 13, 2002 4:17 pm 
Roger HelgesenJun 13, 2002 11:34 pm 
Roger HelgesenJun 14, 2002 12:59 am 
Gordon MessmerJun 16, 2002 12:16 pm 
Gordon MessmerJun 16, 2002 12:24 pm 
Roger HelgesenJun 17, 2002 11:59 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] ldap authenticationActions...
From:Roger Helgesen (rog@invisible.mine.nu)
Date:Jun 13, 2002 11:34:40 pm
List:net.sourceforge.lists.courier-users

I have uncomented LDAP_UID uidNumber LDAP_GID gidNumber

That shuold be suficient, I hope. Else I guess I need a user/group (in ldap_glob...) that has rights to alle mailDirs. I don't want that !

tnx

On Thu, 2002-06-13 at 07:48, Roger Helgesen wrote:

I'm having problem authenticating to courier-imapd server. It is runing autmldap module, and I belive it gets all the info it need from the OpenLdap server.

In /var/log/messages I get this error msg.

authdaemond.ldap: authlib: refuse to authenticate mail@ost.htg.org: uid=0, gid=0

According to /etc/courier/authldaprc: # Uncomment the following, and modify as appropriate, if your LDAP # database # stores individual userids and groupids. Otherwise, you must uncomment # LDAP_GLOB_UID and LDAP_GLOB_GID above. LDAP_GLOB_UID and # LDAP_GLOB_GID # specify a uid/gid for everyone. Otherwise, LDAP_UID and LDAP_GID must # be defined as attributes for everyone.

You haven't uncommented either of LDAP_GLOB_[UG]ID or LDAP_[UG]ID. You must use one set or the other.