Hi,

I have authdaemon running.

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
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


My sladp.conf is:
--------------------------------------------------
suffix          "dc=telbit,dc=pt"
rootdn          "cn=root,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

##NAME: LDAP_BINDDN:0
#
# You may or may not need to specify the following.  Because you've got
# a password here, authldaprc should not be world-readable!!!

LDAP_BINDDN             cn=root,dc=telbit,dc=pt
LDAP_BINDPW             secret

##NAME: LDAP_TIMEOUT:0
#
# Timeout for LDAP search and connection

LDAP_TIMEOUT            30

  LDAP_AUTHBIND          0

##NAME: LDAP_MAIL:0
#
# Here's the field on which we query

LDAP_MAIL               mail

##NAME: LDAP_FILTER:0
#
# This LDAP filter will be ANDed with the query for the field defined above
# in LDAP_MAIL.  So if you are querying for mail, and you have LDAP_FILTER
# defined to be "(objectClass=CourierMailAccount)" the query that is 
performed
# will be "(&(objectClass=CourierMailAccount)(mail=<someAccount>))"
#
# LDAP_FILTER           (objectClass=CourierMailAccount)

##NAME: LDAP_DOMAIN:0
#
# The following default domain will be appended, if not explicitly 
specified.
#
LDAP_DOMAIN             mail2.telbit.pt

##NAME: LDAP_GLOB_IDS:0
#
# The following two variables can be used to set everybody's uid and gid.
# This is convenient if your LDAP specifies a bunch of virtual mail accounts
# The values can be usernames or userids:
#
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            /etc/openldap

##NAME: LDAP_MAILROOT:0
#
# If homeDirectory is not an absolute path, define the root of the
# relative paths in LDAP_MAILROOT
#
LDAP_MAILROOT        /var/qmail/maidirs


##NAME: LDAP_MAILDIR:0
#
# The MAILDIR attribute is OPTIONAL, and specifies the location of the
# mail directory.  If not specified, ./Maildir will be used

LDAP_MAILDIR            ./Maildir
----------------------------------------------------------------------

I guess something is wrong here.

Any help would be appreciated.

Warm Regards,
Ma'rio Gamito

-------------------------------------------------------------------------
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