Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

dovecot and LDAP problem

Reply to Post Add a New Topic
UserPost

3:11 am
October 19, 2010


na

Guest

Hi,

i allready posted this but maybe i posted it in the wrong place, so here it is again

i am trying to make dovecot to use my 389-directory server but when i start it i get this error

Oct 19 02:26:14 mail dovecot: Dovecot v1.0.7 starting up
Oct 19 02:26:14 mail dovecot: Auth process died too early – shutting down
Oct 19 02:26:14 mail dovecot: auth(default): LDAP: ldap_init() failed with hosts: ldap://server.hashab.com/
Oct 19 02:26:14 mail dovecot: child 5950 (auth) returned error 89

here is my dovecot-ldap.conf:

hosts = ldap://server.hashab.com/
base = dc=hashab,dc=com
ldap_version = 3
auth_bind = yes
pass_filter = (&(objectclass=person)(uid=%u))

any help will be appreciated, thanks in advance.

3:49 am
October 19, 2010


na

Guest

hi,

i solved the problem, apparently i should write (hosts = server.hashab.com) without the ldap://

i got the dovecot running but when i try to use users from my directory server it says authentication failed. but i am sure that the password is right.

i think it has something to do with the pass_filter but i dont know how to troubleshoot, any help will be appreciated.

3:51 am
October 19, 2010


na

Guest

here is the error in the log:

mail dovecot: auth(default): ldap(sarah@hashab.com,::ffff:127.0.0.1): ldap_bind() failed: No such object

9:55 am
October 31, 2010


consultant

Admin

posts 353

What LDAP server are you using? If you are using passfilter, your ldap layout should contain a  userpassword attribute which contains the user password.

Reply to Post

Reply to Topic:
dovecot and LDAP problem

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 2
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
15 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)