--- Jason Parsons <[EMAIL PROTECTED]> wrote:
> Your questions suggest that perhaps you don't have a complete
> understanding of the workings of qmail-ldap.
yes u r rite.
which made me transformed my slapd.conf to:
...snip...
suffix "dc=example,dc=com"
rootdn "cn=admin,o=Administrators,dc=example,dc=com"
cachesize 1000000
dbcachesize 5000000
rootpw {SSHA}nAe88/UiD9Lj6BrONwHaGsrVKSlWL0Cv
directory /usr/local/var/openldap-ldbm/clients
...snip...
so my ldap tree with client1 and client2 now looks like:
dc=example, dc=com
|
+-- o=Administrators
|
+-- o=client1
| |
| +-- uid=user1 (cn=user1, o=client1, dc=example, dc=com)
| |...
| |...
+-- o=client2
| |
| +-- uid=user1 (cn=user1, o=client2, dc=example, dc=com)
|... |...
--- Claudio Jeker <[EMAIL PROTECTED]> wrote:
> Use auth_imap of qmail-ldap and forget about all courier auth modules.
OK, i have done that. and i have also altered my ldapbasedn, ldapserver etc
files to reflect the changes.
current status:
i can send email from both client's webmail frontend and
i can received email from the outside world ...
AS LONG AS the uid is UNIQUE throught the ldap database; which brought me to my
next question.
suppose i have a user dn in o=client1 subtree as
uid=roger,o=client1,dc=example,dc=com
and another user's dn in client2 subtree as
uid=roger,o=client2,dc=example,dc=com
this will make qmail-ldaplookup fail with:
# /var/qmail/bin/qmail-ldaplookup -u roger -p rogerpasswd
qldap_lookup: searching with (uid=roger)
qldap_lookup: NOT successful: too many entries found
localdelivery off, so no local lookup
(and user roger also is NOT able to login to courier-imap)
how do i solve this problem? do i need to install additional patches to make
things work? please advise.
--
roger
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com