>>>>> "Benjamin" == Benjamin Lorson <[EMAIL PROTECTED]> writes:

    Benjamin> Hi Turbo, I'm sorry if you don't like to be contacted
    Benjamin> directly, but I didn't find any list for your control
    Benjamin> patch.  I won't try to contact you again if I don't get
    Benjamin> an answer, no need to worry :)

Use the qmail-ldap list...

    Benjamin> - It doesn't use the locals from the controldb.

What does the entry look like? Got an example? The DN must match (EXACTLY!)
the entry that's in the 'me' file... For my test environment this is:

----- s n i p -----
tuzjfi:/etc/qmail# ls -l
total 8
-rw-------    1 root     root         1760 Dec  7 09:31 cert.pem
-rw-r--r--    1 qmails   qmail          30 Oct 31  2001 ldapcontroldn
-rw-r-----    1 qmails   qmail          47 Oct 31  2001 ldaplogin
-rw-r-----    1 qmails   qmail          11 May 24 15:59 ldappassword
-rw-r--r--    1 qmails   qmail          32 May 23 10:52 ldapserver
-rw-r--r--    1 qmails   qmail          22 May 24 08:42 me
drwxr-xr-x    2 qmails   qmail        1024 May 25 14:43 users
tuzjfi:/etc/qmail# cat me
tuzjfi.int.bayour.com
tuzjfi:/etc/qmail# cat ldapserver
ldaps://tuzjfi.int.bayour.com/

tuzjfi:/etc/qmail# cat ldapcontroldn
ou=QmailLDAP,dc=bayour,dc=com
tuzjfi:/etc/qmail# cat ldaplogin
cn=qmail,ou=People,dc=papadoc,dc=bayour,dc=com
tuzjfi:/etc/qmail# ldapsearch -x -LLL -D `cat ldaplogin` -w `cat ldappassword` -b `cat 
ldapcontroldn` -H `cat ldapserver` cn=`cat me`
dn: cn=tuzjfi.int.bayour.com,ou=QmailLDAP,dc=bayour,dc=com
objectClass: top
objectClass: qmailControl
cn: tuzjfi.int.bayour.com
defaultDomain: int.bayour.com
ldapUid: 3001
ldapGid: 8
ldapServer: tuzjfi.int.bayour.com
ldapPassword: SuperSecret
ldapRebind: 1
ldapBaseDN: dc=com
quotaWarning: User is above quota level!
locals: localhost
locals: int.bayour.com
locals: tuzjfi.int.bayour.com
rcptHosts: localhost
rcptHosts: int.bayour.com
rcptHosts: tuzjfi.int.bayour.com
ldapDefaultQuota: 1000000
dirMaker: /var/qmail/bin/create_homedirs

tuzjfi:/etc/qmail#
----- s n i p -----

Note the 'cn' and the 'me' file!!

    Benjamin> It always 'falls back' to the control/locals file. Maybe it
    Benjamin> just hates me :) qmail-showctl shows the locals correct,
    Benjamin> so I guess the LDAP-DB isn't the problem.  Rcpthosts and
    Benjamin> the other values I checked come from LDAP without
    Benjamin> trouble.

Probably something wrong with the owner/group/modes. Verify against mine...

    Benjamin> - qmail-ldap doesn't compile here with the control patch
    Benjamin> enabled but without TLS.

Never tried it, I'll see what I can do...

    Benjamin> - The patch changes qmail-local.c to use
    Benjamin> /usr/sbin/qmail-quotawarn.  At least in my setup I don't
    Benjamin> have it there :)

It is on mine :). I'll see what I can do to make it better.

Thanx for the input.

-- 
DES Uzi Legion of Doom radar $400 million in gold bullion [Hello to
all my fans in domestic surveillance] Iran Clinton ammonium
assassination Panama Treasury nitrate NSA Cocaine
[See http://www.aclu.org/echelonwatch/index.html for more about this]

Reply via email to