i am having trouble getting smtp auth working with acl's on my ldap
directory (it works just fine when i disable these acls and the dir is
read only to all). because rebind dosent work with smtp auth, i'm having
qmail-ldap bind using special uid, and then allowing it via acl's.
when i check my uid using qmail-ldaplookup, everything comes up fine. i
dont know of a way to test only smtp auth lookups(let me know if there
is a better way than testing with a mail client).
anyone have this problem? what am i missing here? i'm sure it's
simple, and i'm just missing something obvious.. any thoughts?
any more info needed?
thanks in advance,
michael
heres the info... the uid im using to connect to the dir with is
mail_test.
heres the only acl's i have enabled...
access to attr=userPassword
by self write
by dn="cn=manager,dc=legendary,dc=net" write
by group="cn=it,ou=system_groups,ou=groups,dc=legendary,dc=net" write
by dn="uid=mail_test,ou=roles,dc=legendary,dc=net" read
by * compare
access to *
by self write
by dn="cn=manager,dc=legendary,dc=net" write
by dn="uid=mail_test,ou=roles,dc=legendary,dc=net" read
by group="cn=it,ou=system_groups,ou=groups,dc=legendary,dc=net" write
by users read
by * auth
loki:/etc/openldap # ~qmaild/bin/qmail-ldaplookup -u michael
init_ldap: passwords are not compared via rebind
localdelivery: on
clustering: off
ldapobjectclass:
homedirmaker: /var/qmail/bin/mdirmaker
defaultDotMode: ldaponly
defaultQuota: 10000000S, 1000C
QuotaWarning:
------
contact us at +1.xxx.xxx.xxxx
------
ldap_lookup: searching with (uid=michael)
ldap_lookup: succeeded, found:
uid: michael
qmailUID: 11184
qmailGID: 2110
accountStatus: active
mailMessageStore: /var/qmail/maildirs/michael
nohomeDirectory: (null pointer)
mailHost: loki.legendary.net
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailQuota: 15000000S,1000C
mailForwardingAddress: no entry in the database
deliveryProgramPath: no entry in the database
qmailDotMode: no entry in the database
deliveryMode: normal
mailReplyText: i'm out of the office till wednesday
--
e: [EMAIL PROTECTED] c: +1.614.260.6716 u: www.ele-mental.org
Wir fahr'n fahr'n fahr'n auf der Autobahn