haary wrote:
Hello,
JOYDEEP-3 wrote:
OK list,
now I hv LDAP as authentication backend. now how to configure cyrus to
use LDAP
users data for authentication ??
thanks in advanced.
I experimented with this quite a while. The best thing is to
use saslauthd with pam and let pam do the LDAP stuff.
Otherwise - if you want to use auxprop-based SASL mechanism with
ldapdb - you have to use plain text passwords in your LDAP directory,
which was not acceptable for me.
Regards,
Dear Henry,
thanks for your response. Could u kindly suggest how to utilise PAM to
do LDAP stuff ?
here I have set my saslauthd as SASLAUTHD_AUTHMECH=ldap
then I have created /etc/saslauthd.conf with the following
ldap_servers: ldap://localhost:389
ldap_bind_dn: cn=Manager,dc=kolkatainfoservices,dc=in
ldap_bind_pw: secret
ldap_search_base: ou=Users,dc=kolkatainfoservices,dc=in
ldap_version: 3
ldap_filter: uid=%U
ldap_default_domain: kolkatainfoservices.in
now I have tested some existing account with testsaslauthd command ( I
have migrated from mysql to LDAP authentication)
and got the success 
but when I try to create a new account from egw ( now the authentication
backend is LDAP) the account’s authentication is not
there in LDAP that’s why user can’t login. but the account is created in
mysql ( used as storage back end)
here is the error from the log.
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=0 BIND
dn=“cn=Manager,dc=kolkatainfoservices,dc=in” method=128
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=0 BIND
dn=“cn=Manager,dc=kolkatainfoservices,dc=in” mech=SIMPLE ssf=0
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=0 RESULT tag=97 err=0 text=
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=1 SRCH
base=“ou=Users,dc=kolkatainfoservices,dc=in” scope=2 deref=0
filter="(uid=cyrus)"
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=1 SRCH attr=dn
Feb 28 13:36:51 linux slapd[4103]: <= bdb_equality_candidates: (uid)
index_param failed (18)
Feb 28 13:36:51 linux slapd[4103]: conn=141 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Feb 28 13:36:51 linux saslauthd[8976]: Entry not found (uid=cyrus).
Feb 28 13:36:51 linux saslauthd[8976]: Authentication failed for
cyrus/kolkatainfoservices.in: User not found
I can’t understand why it is showing Entry not found (uid=cyrus).
because I am craeting a user with a diofferent name
than cyrus. so could any one kindly point out what I am missing here ?
thanks for your kind help
Henry
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users