RE: Re: courierpop3d and Ldap authentication
"Ilo Lorusso" <[email protected]> Wed, 30 Jun 2004 15:50:58 +0200
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
This is what my slapd.log has to say, when I connect to my 172.69.128.102:110 And do a manual user [email protected] pass 12345 ----------------- Jun 30 17:52:33 darkness slapd[6486]: conn=0 fd=12 ACCEPT from IP=172.69.128.102:1043 (IP=172.69.128.102:389) Jun 30 17:52:33 darkness slapd[6489]: conn=0 op=0 BIND dn="" method=128 Jun 30 17:52:33 darkness slapd[6489]: conn=0 op=0 RESULT tag=97 err=2 text=requested protocol version not allowed Jun 30 17:52:33 darkness slapd[6489]: conn=0 op=1 UNBIND Jun 30 17:52:33 darkness slapd[6489]: conn=0 fd=12 closed Hmmm Something about a err=2 text=requested protocol version not allowed -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ilo Lorusso Sent: Wednesday, June 30, 2004 3:18 PM To: [email protected] Subject: RE: [Jamm-users] Re: courierpop3d and Ldap authentication Yes the user does have mail there.. ./domains/ipnoc.co.za/ilo/new: total 17 drwx------ 2 vmail users 304 Jun 30 16:34 . drwx------ 5 vmail users 120 Jun 29 14:41 .. -rw------- 1 vmail users 441 Jun 29 18:04 1088525059.V303I3a2b5.darkness.ipnetworks.co.za -rw------- 1 vmail users 451 Jun 30 15:17 1088601468.V303I2ca55.darkness.ipnetworks.co.za -rw------- 1 vmail users 429 Jun 30 16:13 1088604792.V303I289dc.darkness.ipnetworks.co.za -rw------- 1 vmail users 434 Jun 30 16:34 1088606041.V303I289dd.darkness.ipnetworks.co.za I'll try the debugging in slapd see what Icome up with. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Keith T. Garner Sent: Wednesday, June 30, 2004 3:13 PM To: [email protected] Subject: Re: [Jamm-users] Re: courierpop3d and Ldap authentication Does that user have a Maildir directory? Logging in will fail if the maildir directory is not yet created. Also, you can turn up debugging on slapd. Keith On Wed, 30 Jun 2004 8:10 am, Ilo Lorusso wrote: > Hi, > > I still get the logs below, doesn't look like its talking to LDAP at > all, > > > Jun 30 17:10:33 darkness pop3d: Connection, ip=[172.69.128.100] > Jun 30 17:10:39 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100], > command=USER > Jun 30 17:10:43 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100], > command=PASS > Jun 30 17:10:43 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100], > [email protected] > Jun 30 17:10:43 darkness pop3d: LOGIN: DEBUG: ip=[172.69.128.100], > password=12345 > Jun 30 17:10:48 darkness pop3d: LOGIN FAILED, ip=[172.69.128.100] > ---- > > This is how I specify the BIND > > LDAP_AUTHBIND 1 > > > This is what my /etc/courier-imap/pop3d looks like, everthing here is > default, > ------------------- > PIDFILE=/var/run/pop3d.pid > MAXDAEMONS=40 > MAXPERIP=4 > AUTHMODULES="authdaemon" > AUTHMODULES_ORIG="authdaemon" > DEBUG_LOGIN=2 > POP3AUTH="" > POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1" > POP3AUTH_TLS="" > POP3AUTH_TLS_ORIG="LOGIN PLAIN" > PORT=110 > ADDRESS=0 > TCPDOPTS="-nodnslookup -noidentlookup" > POP3DSTART=YES > MAILDIRPATH=Maildir > MAILDIR=.maildir > PRERUN= > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Keith T. > Garner > Sent: Wednesday, June 30, 2004 2:51 PM > To: [email protected] > Subject: [Jamm-users] Re: courierpop3d and Ldap authentication > > On Wed, 30 Jun 2004 6:04 am, Ilo Lorusso wrote: >> LDAP_BINDDN cn=Manager,dc=ipnetwork,dc=co,dc=za >> LDAP_BINDPW mypass > > Do not use these. Comment these out and use LDAP_AUTHBIND. Courier > doesn't know how to do SSHA natively, so we'll just bind to the ldap > server to serve as auth. > >> What should the cn be, Manager or root as ive tried both.. > > This is configurable in jamm.properties. By default its root. > > Keith > > -- > Keith T. Garner [email protected] > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Jamm-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jamm-users > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Jamm-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jamm-users -- Keith T. Garner [email protected] ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Jamm-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jamm-users ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Jamm-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jamm-users ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com