On July 13, 2001 12:10 am, Walter Wieserner wrote:
> The Problem is in your LDAP-Database. How is the password encrypted?
> crypt,MD5. My entry is the following.
>
> mail: [EMAIL PROTECTED]
> userpassword: {crypt}IYpqy4YATsWp.
> uid: wieserner

Hmmm... how do you get that stuff in there? The password is definitely 
encrypted, though what scheme I have no idea. Here is the ldif I used to 
create the user entry:

---------------------------------------------------------------
suffix "dc=arcticbears, dc=com"
 
dn: [EMAIL PROTECTED], ou=accounts, dc=arcticbears, dc=com
cn: Eric Paynter
sn: Paynter
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailHost: metis.arcticbears.com
mailMessageStore: [EMAIL PROTECTED]
uid: [EMAIL PROTECTED]
userPassword: testpass
accountStatus: active
---------------------------------------------------------------

Somehow, this turns the password entry into

userPassword:: dGVzdHBhc3M=                                                   

Perhaps you could add to the ldif to form one that would do as you have 
outlined? I'm no OpenLDAP expert and the learning curve of qmail along with 
OpenLDAP has been steep for certain!

Thanks,

-Eric

> Hello
>
> Eric Paynter schrieb:
> > I'm trying to get auth_pop to work for qmail-pop3d. My test user id is
> > [EMAIL PROTECTED] The password is testpass. I know that auth_pop is
> > hitting the ldap server because I can see it in the syslog. I'm using
> > OpenLDAP 2.0.11, qmail-1.03, qmail-ldap-1.03-20010501
> >
> > Below are outputs from uname, qmail-ldaplookup, ldapsearch, and an
> > auth_pop session. After that is a sample from the syslog indicating that
> > the auth_pop did hit the ldap server. If anybody has any ideas or would
> > like any other info, please let me know. At this point, I'm pretty
> > stumped.
> >
> > Thanks,
> >
> > -Eric
>
> The Problem is in your LDAP-Database. How is the password encrypted?
> crypt,MD5. My entry is the following.
>
> mail: [EMAIL PROTECTED]
> userpassword: {crypt}IYpqy4YATsWp.
> uid: wieserner
>
> > uid: [EMAIL PROTECTED]
> > userPassword:: dGVzdHBhc3M=
> > accountStatus: active
>
> the other problem is that userPassword has 2 ":"
>
>    Have a look at the exapmple entry of www.lifewithqmail.org There is a 
> Howto about qmail-LDAP
>
> > # search result
> > search: 2
> > result: 0 Success
> >
> > # numResponses: 2
> > # numEntries: 1
> > [root@metis /root]# /var/qmail/bin/qmail-popup localhost \
> >
> > > /var/qmail/bin/auth_pop pwd
> >
> > +OK <23518.994995796@localhost>
> > user [EMAIL PROTECTED]
> > +OK
> > pass testpass
> > -ERR authorization failed
> >
> > --
> > arctic bears - the internet - your way.
> > email hosting from US$8/month, domains from US$19/year.
> > http://www.arcticbears.com

-- 
arctic bears - the internet - your way.
email hosting from US$8/month, domains from US$19/year.
http://www.arcticbears.com

Reply via email to