STRANGE LDAP_FILTER IN SASLAUTHD.CONF
Wang Penghui
wangpenghui at realss.com
Tue Jul 13 22:32:54 EDT 2004
Hi, everyone here.
There is a question about the query via ldap pazzle me for several days.
One entry in my ldapdatabase is follow:
=====================================================
dn: uid=wangpenghui,ou=realss,ou=EOA,dc=eoa,dc=cn
userPassword: {MD5}kU7j0AdNFNTSlCxo92ReAg==
phpgwAccountType: u
phpgwAccountExpires: -1
homeDirectory: /home/admin
loginShell: /bin/false
cn: penghui
sn: wang
givenName: admin
uid: wangpenghui
uidNumber: 501
gidNumber: 1
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: phpgwAccount
phpgwAccountStatus: A
=====================================================
and the user wangpenghui's domain is @realss.xxx
The field should be auth via ldap is wangpenghui at realss.xxx.
How to make the ldap_filter in saslauthd.conf to make out the
mailaddress wangpenghui at realss.xxx to query.
I guess maybe i should use %U and %1-9 to make out the
wangpenghui at realss.xxx with uid=wangpenghui and ou=realss.
And i also have a default domain, how to solve the auth both default
domain and virtual domains.
The default domain's field should be auth via ldap is just wangpenghui
And in main.cf of postfix, it should be also work.
My versions :
Cyrus-imapd 2.2.3
Cyrus-SASL 2.1.18
Postfix 2.0.19
OpenLDAP 2.1.26
I am blind with it now. Any response is appreciation.
Thank you very much.
Wang Penghui
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list