People,

Almost resolved, but with "blank password" against a "active directory - ldap - windows 2003 sp1" the user was logged in. See following logs.

Good notice: the situation doesn't happen in "active directory - ldap - windows 2000 sp4"

Thanks.

[root@mail etc]# telnet 0 110
Trying 0.0.0.0...
Connected to 0 (0.0.0.0).
Escape character is '^]'.
+OK Dovecot ready.
user user@domain
+OK
pass <blank password>
+OK Logged in.

--->>> dovecot-ldap.conf

# Arquivo Configuracao Servidor LDAP
hosts = servidor2k3
scope = subtree
ldap_version = 3
dn = cn=binduser,ou=domain,dc=br
dnpass = bindpass
auth_bind = yes
deref = never
base = ou=domain,dc=br
default_pass_scheme = CRYPT
user_attrs = uid=mail,,,,,
user_filter = (&(objectClass=person)(mail=%u))
pass_filter = (&(objectClass=person)(mail=%u))
user_global_uid = vmail
user_global_gid = vmail

--->>> Log file

Nov  9 08:09:24 mailsec dovecot: Dovecot v1.0.rc13 starting up
Nov  9 08:09:32 mailsec dovecot: auth(default): client in: AUTH 1       PLAIN   service=POP3    secured lip=127.0.0.1   rip=127.0.0.1      resp=AHNwZEBhbHVuby51bmlmcmFuLmJyAA==
Nov  9 08:09:32 mailsec dovecot: auth(default): ldap(user@domain,127.0.0.1): bind search: base=ou=domain,dc=br filter=(&(objectClass=person)(mail=user@domain))
Nov  9 08:09:32 mailsec dovecot: auth(default): ldap(user@domain,127.0.0.1): bind: dn=CN=user,ou=domain,dc=br
Nov  9 08:09:32 mailsec dovecot: auth(default): client out: OK  1       user=user@domain
Nov  9 08:09:32 mailsec dovecot: auth(default): master in: REQUEST      1       8348    1
Nov  9 08:09:32 mailsec dovecot: auth(default): ldap(user@domain,127.0.0.1): user search: base=ou=domain,dc=br scope=subtree filter=(&(objectClass=person)(mail=user@domain)) fields=uid
Nov  9 08:09:32 mailsec dovecot: auth(default): master out: USER        1       user@domain    uid=1001        gid=1001
Nov  9 08:09:32 mailsec dovecot: pop3-login: Login: user=<user@domain>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov  9 08:09:32 mailsec dovecot: POP3(user@domain): Effective uid=1001, gid=1001
Nov  9 08:09:32 mailsec dovecot: POP3(user@domain): mbox: data=/dados/vhome/user@domain:INBOX=/dados/vmail/user@domain
Nov  9 08:09:32 mailsec dovecot: POP3(user@domain): mbox: root=/dados/vhome/user@domain, index=/dados/vhome/user@domain, inbox=/dados/vmail/user@domain
Nov  9 08:09:34 mailsec dovecot: POP3(user@domain): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0