>>>>> "Benjamin" == Benjamin Coles <[EMAIL PROTECTED]> writes:
Ahh. Thanks. I actually had set ldapuid & ldapgid. The problem was
that I hadn't been aware that it should be the numeric uid.
Thanks for the help
Hasse
Benjamin> Hasee, qmailUID should be set in your control directory,
Benjamin> this is the user that talks with LDAP and handles the
Benjamin> authentication. Check the docs one more time, I'm sure
Benjamin> you'll find it=)
Benjamin> Thanks, Benjamin Coles Gentoo Infrastructure
Benjamin> On Sat, 2004-04-03 at 05:09, Hasse Hagen Johansen wrote:
>> Hi
>>
>> This is maybe a dumb question, but I cannot find anything
>> describing which attributes is required for qmail-ldap to
>> work. When I try to send a mail to a test user on my server I
>> get this in the qmail log:
>>
>> --- snip --
>>
>> @40000000406eb56a21078b24 new msg 439927
>> @40000000406eb56a2107a67c info msg 439927: bytes 325 from
>> <[EMAIL PROTECTED]> qp 7406 uid 11186 @40000000406eb56a2107aa64
>> starting delivery 1: msg 439927 to local [EMAIL PROTECTED]
>> n-johansen.dk @40000000406eb56a2107b234 status: local 1/10
>> remote 0/20 @40000000406eb56a216eb54c delivery 1: log:
>> mailaddr:[EMAIL PROTECTED] @40000000406eb56a21703034
>> delivery 1: log: qldap_open:_init_successful/
>> @40000000406eb56a217350fc delivery 1: log:
>> qldap_set_option:_set_referrals_succe ssful/
>> @40000000406eb56a2182069c delivery 1: log:
>> qldap_bind:_successful/ @40000000406eb56a21853aec delivery 1:
>> log: ldapfilter:_'(&(objectClass=qmailuser
>> )(|([EMAIL PROTECTED])([EMAIL PROTECTED]
>> n.dk)))'/ @40000000406eb56a21ada2ac delivery 1: log:
>> qldap_lookup:_search_for_(&(objectCla
>> ss=qmailuser)(|([EMAIL PROTECTED])([EMAIL PROTECTED]
>> agen-johansen.dk)))_succeeded/ @40000000406eb56a21b1a9ec
>> delivery 1: log: qldap_get_attr(accountStatus):_active /
>> @40000000406eb56a21b4a78c delivery 1: log:
>> qldap_get_attr(mailSizeMax):_no_such_ attribute/
>> @40000000406eb56a21b785ec delivery 1: log:
>> qldap_get_attr(mailQuotaSize):_100000 000/
>> @40000000406eb56a21ba54ac delivery 1: log:
>> qldap_get_attr(mailQuotaCount):_10000 /
>> @40000000406eb56a21bd3adc delivery 1: log:
>> qldap_get_attr(homeDirectory):_no_suc h_attribute/
>> @40000000406eb56a21c0193c delivery 1: log:
>> qldap_get_attr(mailMessageStore):_/va r/qmail/maildirs/
>> @40000000406eb56a21c2f79c delivery 1: log:
>> qldap_get_attr(uid):_testldap/ @40000000406eb56a21c59394
>> delivery 1: log: qldap_get_attr(qmailUID):_no_such_att ribute/
>> @40000000406eb56a21d85844 delivery 1: failure:
>> LDAP_attribute_is_not_given_but_m andatory._(#5.3.5)/
>>
>> --- snip ---
>>
>> And then it bounces the mail. My testldap user is defined as
>> this:
>>
>> dn: uid=testldap,ou=accounts,dc=hagen-johansen,dc=dk
>> objectClass: top objectClass: person objectClass:
>> organizationalPerson objectClass: inetOrgPerson objectClass:
>> qmailUser ou: accounts sn: LDAP cn: Test mail:
>> [EMAIL PROTECTED] uid: testldap accountStatus: active
>> mailQuotaSize: 100000000 mailQuotaCount: 10000 userPassword:
>> {CRYPT}Z0X2Avwf6U77. mailMessageStore: /var/qmail/maildirs
>>
>> Is anything missing?
>>
>> I am using the newest (as of now) qmail-ldap patch.
>>
>> Best Regards Hasse
>>