Qmail-LDAP
[Top] [All Lists]

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

To: qmail-ldap@qmail-ldap.org
Subject: Re: ldap-qmail error: required ldap attributes not found
From: henley@omniarray.com
Date: Fri, 10 Nov 2006 17:51:12 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Reply-to: Hor Henley <henley@omniarray.com>
User-agent: Mutt/1.5.9i
Hi Russ,
thanks for you suggestion. I 'm using virtual mailboxes in my setup.
As such  there is no physical accounts and unique userid for each 
user. All the mailboxes are owned by a single unix user account,
which is the uid and gid reflected in the ldapuid and ldapgid 
control files. 

To be honest I tried adding the ldap attributes 
qmailUID and qmailGID for the  user and 
the mail delivery work.

What I want here is for qmail-ldap to use the 
gid and uid specified in the above mentioned control files.
But somewhere that doesn't seems to be working : ( 

Rgds
Henley
On Thu, Nov 09, 2006 at 10:55:44PM -0500, russ wrote:
> 
> 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

-- 
HenLey Hor
Bioinformatics Network Analyst
henley@omniarray.com
DID: 65-64368342


----- End forwarded message -----

-- 
HenLey Hor
Bioinformatics Network Analyst
henley@omniarray.com
DID: 65-64368342



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