Mário Gamito wrote, on 14. feb 2007 15:38:

> I have authdaemon running.

So what? You didn't answer my questions.

> Now i get another (obvious) error:
> Feb 14 12:39:25 mail2 imapd: Connection, ip=[192.168.84.128]
> Feb 14 12:39:38 mail2 authdaemond: ldap_simple_bind_s failed: Can't 
> contact LDAP server

Yeah, sort that one out first. It's not a Courier problem.

> Feb 14 12:39:38 mail2 authdaemond: ldap_simple_bind_s failed: Can't 
> contact LDAP server
> Feb 14 12:39:38 mail2 imapd: LOGIN FAILED, [EMAIL PROTECTED], 
> ip=[192.168.84.128]
> Feb 14 12:39:38 mail2 imapd: authentication error: Input/output error

You'll get "Input/output error" whatever goes wrong, to do with anything 
whatsoever.

> My sladp.conf is:
> --------------------------------------------------
> suffix          "dc=telbit,dc=pt"
> rootdn          "cn=root,dc=telbit,dc=pt"
> --------------------------------------------------

Therefore your base dn is "dc=telbit,dc=pt"

> and my /usr/local/etc/authlib/authldaprc is:
> --------------------------------------------------
> LDAP_URI                ldaps://mail2.telbit.pt
> 
> ##NAME: LDAP_PROTOCOL_VERSION:0
> #
> # Which version of LDAP protocol to use
> 
> LDAP_PROTOCOL_VERSION   3
> 
> ##NAME: LDAP_BASEDN:0
> #
> # Look for authentication here:
> 
> LDAP_BASEDN             cn=root,dc=telbit,dc=pt

That's not your base dn. Sort that out and test it with ldapsearch -x, 
then test with Courier's authtest.

You've now most probably got multiple distinct faults, as detailed 
previously; sort one out at a time.

--Tonni

-- 
Tony Earnshaw
Email: tonni at hetnet dot nl

-------------------------------------------------------------------------
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
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to