[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss] ldap auth problems
From: |
Jari Huuskonen |
Subject: |
[tpop3d-discuss] ldap auth problems |
Date: |
25 Apr 2003 15:17:50 +0300 |
Hello all.
I have been wrestling with tpop3d and ldap auth
3 weeks and need advice.
I am sure that problem is filter section.
If any one can help me please do that.
Also tested many different auth-ldap-filter:
rows, that has been on this mailing-list archive.
note login name is uid only, not address@hidden
#tpop3d.conf
listen address: 0.0.0.0
max-children 1024
log-facility: mail
mailbox: maildir:$(home)/Maildir
auth-ldap-enable: yes
auth-ldap_url: ldap://localhost
auth-ldap-searchdn:
auth-ldap-mail-user: mail
auth-ldap-mail-group: mail
auth-ldap-password:
auth-ldap-filter: uid=$(user),ou=users,dc=domain,dc=com
ldif user john
dn: uid=john,ou=users,dc=domain,dc=com
uid: john
cn: john
objectClass: InetOrgPerson
objectClass: posixAccount
objectClass: top
loginShell: /bin/false
uidNumber: 502
gidNumber: 502
homeDirectory: /home/Domain/john
sn: john
mail: address@hidden
userPassword: bart
tpop3d log shows:
> Apr 25 11:40:38 mailserver tpop3d[2571]: net_loop: terminating on
signal
> 2
> Apr 25 11:40:41 mailserver tpop3d[2585]: listener_new:
> gethostbyaddr(0.0.0.0): cannot resolve name
> Apr 25 11:40:41 mailserver tpop3d[2585]: listener_new: 0.0.0.0: no
> domain sufcomx can be appended for this address
> Apr 25 11:40:41 mailserver tpop3d[2585]: listener_new: 0.0.0.0: using
> fallback domain sufcomx `mailserver.domain.com'
> Apr 25 11:40:41 mailserver tpop3d[2585]: listening on address
0.0.0.0,
> port 110, domain mailserver.domain.com
> Apr 25 11:40:41 mailserver tpop3d[2585]: auth_ldap_init: using DN n/a
on
> localhost:389
> Apr 25 11:40:41 mailserver tpop3d[2585]: 1 authentication drivers
> successfully loaded
> Apr 25 11:40:41 mailserver tpop3d[2585]: net_loop: tpop3d version
1.4.2
> successfully started
> Apr 25 11:40:47 mailserver tpop3d[2585]: connection_sendresponse:
client
> [5]127.0.0.1/mailserver.domain.com: sent `+OK
> <address@hidden>'
> Apr 25 11:40:47 mailserver tpop3d[2585]: listeners_post_select:
client
> [5]127.0.0.1/mailserver.domain.com: connected
> Apr 25 11:40:50 mailserver tpop3d[2585]: connection_parsecommand:
client
> [5]127.0.0.1/mailserver.domain.com: received `user john'
> Apr 25 11:40:50 mailserver tpop3d[2585]: connection_sendresponse:
client
> [5]127.0.0.1/mailserver.domain.com: sent `+OK Tell me your password.'
> Apr 25 11:40:54 mailserver tpop3d[2585]: connection_parsecommand:
client
> [5]127.0.0.1/mailserver.domain.com: received `pass [...]'
> Apr 25 11:40:54 mailserver tpop3d[2585]: auth_ldap_new_user_pass:
LDAP
> search comlter: uid=john,ou=users,dc=domain,dc=com
> Apr 25 11:40:54 mailserver tpop3d[2585]: connection_sendresponse:
client
> [5]127.0.0.1/mailserver.domain.com: sent `-ERR Lies! Try again!'
> Apr 25 11:40:54 mailserver tpop3d[2585]: connection_do: client
> `[5]127.0.0.1/mailserver.domain.com': username `john': 1
authentication
> failures
> Apr 25 11:40:56 mailserver tpop3d[2585]: net_loop: terminating on
signal
> 2
> Apr 25 11:41:16 mailserver mailserver[2591]: 2003-04-25 11:41:16
Start
> queue run: pid=2591
> Apr 25 11:41:16 mailserver mailserver[2591]: 2003-04-25 11:41:16 End
> queue run: pid=2591
--
************************************
Jari Huuskonen
Lemminkaisenkatu 46, 20520 Turku/FI
mb +358 40 533 4958
************************************
- [tpop3d-discuss] ldap auth problems,
Jari Huuskonen <=