On Mon, Jan 03, 2005 at 11:22:47AM -0500, Daniel Corbe wrote:
> Hello,
> 
> I'm attempting to set up qmail-pop3d for POP access to my Maildirs and
> I can't seem to get the auth_pop module to do its job.
> 
> I'm having several issues with the daemon
> 
> 1) It gives me a "unable to write to pipe" error if auth_pop is
> running as anything other than root
> 
> 2) If auth_pop is running as root and I attempt to log in with either
> [EMAIL PROTECTED] or username%domain or just plain old username, I get
> authorization failed.  Note that SMTP delivery works without a
> problem.
> 
> I'm not sure what to do.
> 

...

> Okay, and this is the user which I'm trying to authenticate against:
> 
> [EMAIL PROTECTED] control]# /var/qmail/bin/qmail-ldaplookup -d 255 -m
> [EMAIL PROTECTED]
> init_ldap: control/ldaplogin: uid=qmail,ou=Scripts,dc=voipincorporated,dc=com
> init_ldap: control/ldappassword: xxxxxxxxxxxxx
> init_ldap: control/ldapserver: cliff.eglobalphone.com:389 
> init_ldap: control/ldapbasedn: dc=voipincorporated,dc=com
> init_ldap: control/ldapobjectclass: qmailuser
> init_ldap: control/ldaptimeout: 30
> init_ldap: control/ldaprebind: 0
> init_ldap: control/ldapuid: 1025
> init_ldap: control/ldapgid: 1015
> init_ldap: control/ldapmessagestore: /usr/local/vpopmail/
> init_ldap: control/ldapdefaultdotmode: both
> init_ldap: control/defaultquotasize: 0
> init_ldap: control/defaultquotacount: 0
> init: control/ldaplocaldelivery: 0
> init: control/ldapcluster: 0
> init: control/dirmaker: /usr/local/qmail/bin/dirmaker

...

Why don't you try /var/qmail/bin/qmail-ldaplookup -d 255 -u <uid> -p
<passwd>?
Also try to set control/ldaprebind to 1 especially if you have slapd ACLs.

-- 
:wq Claudio

Reply via email to