Qmail-LDAP
[Top] [All Lists]

Re: ldap-qmail error: required ldap attributes not found

To: Hor Henley <henley@omniarray.com>
Subject: Re: ldap-qmail error: required ldap attributes not found
From: russ <russ@cttechhosting.net>
Date: Thu, 09 Nov 2006 22:55:44 -0500
Cc: qmail-ldap@qmail-ldap.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20061110032531.GK24770@prata.ncc.shs.com.sg>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <20061110032531.GK24770@prata.ncc.shs.com.sg>
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

delivery 61: log: qldap_get_attr(uid):_henley/
Nov 10 11:02:48 mail2 qmail: [ID 748625 mail.info] 1163127768.660581
delivery 61: log: qldap_get_attr(qmailUID):_no_such_attribute/
Nov 10 11:02:48 mail2 qmail: [ID 748625 mail.info] 1163127768.660652
delivery 61: log: qldap_get_attr(qmailGID):_no_such_attribute/
Nov 10 11:02:48 mail2 qmail: [ID 748625 mail.info] 1163127768.660949
delivery 61: failure:
LDAP_attribute_is_not_given_but_mandatory._(#5.3.5)/
    

Seems like the error is due to qmailUID and qmailGID deemed
missing by qmail-ldap. This is unexpected because 
I have populated the controls files with ldapuid and ldapgid.
Anyway I have attached the qmail-ldaplookup output as follows
which seems to have no problem picking up the info from the controls files

  
Both qmailUID and qmailGID are set for each user. I'm not sure that you can set one for everyone, but maybe I'm wrong. When I set up users, I set qmailUID and qmailGID for each account. This can be repeated for different users, but I do set it in LDAP. Try setting this attribute in your LDAP entry for the henley user and see if you can get email.

Russ
<Prev in Thread] Current Thread [Next in Thread>