Re: [courier-users] Re: ldap authentication

2002-06-14 Thread Roger Helgesen

Here is [EMAIL PROTECTED] Ldap search output
[root@jokke root]# ldapsearch -x uid=mailbackup
version: 2

#
# filter: uid=mailbackup
# requesting: ALL
#

# mailbackup, Brukere, ost, htg, org
dn: uid=mailbackup,ou=Brukere,ou=ost,dc=htg,dc=org
cn: mailbackup
uid: mailbackup
uidNumber: 1013
gidNumber: 503
homeDirectory: /home/mailbackup
loginShell: /bin/bash
gecos: mail backup
description: mail backup
objectClass: top
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: sambaAccount
objectClass: qmailUser
objectClass: shadowAccount
objectClass: person
objectClass: CourierMailAccount
logonTime: 0
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 0
displayName: mail backup
acctFlags: [UX]
mail: [EMAIL PROTECTED]
sn: backup
givenName: mail
homePhone: 123
mobile: 456
rid: 3026
primaryGroupID: 2007
homeDrive: H:
smbHome: \\jokke-SRV\homes
lmPassword: xxx
ntPassword: xxx
pwdLastSet: 1023986447
pwdMustChange: 1029170447
clearPassword: 123

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


The only entry with uidNumber=0 in the LDAP db is root
Every user I trye to authenticate get this error message.


On Fri, 2002-06-14 at 01:17, Sam Varshavchik wrote:
 Roger Helgesen writes: 
 
  What is happening here I can't explain. The authldap module is querying
  the ldap server, and getting access to the requested attributes. 
  
  And why,
   authdaemond.ldap: authlib: refuse to authenticate
   [EMAIL PROTECTED]: uid=0, gid=0,
  in the error message (only prints if the user is present in ldapDB)
 
 The error message is self-explanatory.  The indicated mail account is 
 configured with uid and gid of zero, which is obviously a bunch of rubbish. 
 
 
 -- 
 Sam 
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
 
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

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



[courier-users] ldap authentication

2002-06-13 Thread Roger Helgesen

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
[EMAIL PROTECTED]: uid=0, gid=0 

And the client tells me that there is a problem with the password or the
username ?


Any ide?

roger helgesen



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

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