Sérgio Ferreira wrote: > I change on authdaemonrc the option: authmodulelist="authldap", then: > > <snip> > gaia slapd[2682]: conn=9145 op=0 BIND > dn="cn=replica,dc=cultura,dc=gov,dc=br" method=128 slapd[2682]: conn=9145 > op=0 BIND dn="cn=replica,dc=cultura,dc=gov,dc=br" mech=SIMPLE ssf=0 > slapd[2682]: conn=9145 op=0 RESULT tag=97 err=0 text= > authdaemond: using search filter: (mail=sergio.ferreira)
Looks like you have LDAP_MAIL mail in authldaprc based on this, if you want to use the LDAP mail attribute to lookup users, you'll need to either use the full email address as the username at IMAP login or, if you've only got 1 domain, set LDAP_DOMAIN so that it is appended. You could also set LDAP_MAIL to uid so that your search will be done like it is below but if you do this and you have multiple domains, your usernames must be unique across all domains. > slapd[2682]: conn=9145 op=1 SRCH base="ou=Users,dc=cultura,dc=gov,dc=br" > scope=2 deref=0 filter="(mail=sergio.ferreira)" slapd[2682]: conn=9145 op=1 > <snip> > > It was logged. Afterward I back to "authpam", then: > > slapd[2682]: conn=9144 fd=29 ACCEPT from IP=127.0.0.1:42066 > (IP=0.0.0.0:389) > slapd[2682]: conn=9144 op=0 BIND dn="cn=replica,dc=cultura,dc=gov,dc=br" > method=128 slapd[2682]: conn=9144 op=0 BIND > dn="cn=replica,dc=cultura,dc=gov,dc=br" mech=SIMPLE ssf=0 slapd[2682]: > conn=9144 op=0 RESULT tag=97 err=0 text= slapd[2682]: conn=9144 op=1 SRCH > base="dc=cultura,dc=gov,dc=br" scope=2 deref=0 > filter="(&(objectClass=posixAccount)(uid=sergio.ferreira))" slapd[2682]: Here you are using UID and it's working, above you were using mail. > <snip> > > I presume It is a such problem with Maildrop? It should be an authlib > problem? If the answer is yes, have some directions to fix It? Or any > suggestion? I never presume the fault lies anywhere but squarely upon myself, I'm generally right and happily surprised when I'm not. :) Jay -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University -- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
