Hello all!
One question about ldap. In my logs im see this:
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): user search: base=dc=CAS scope=subtree filter=(&(objectClass=mailUser)(mail=sysadmin@domain.off)) fields=(all)
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): result: accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknown?)= telephoneNumber(?unknown?)= sn(?unknown?)= title(?unknown?)= uid(?unknown?)= userPassword(?unknown?)= mail(?unknown?)=
What is that mean? And how can im get a rid of this?
-- Best regards, Proskurin Kirill
On Thu, 2008-09-11 at 19:45 +0400, Proskurin Kirill wrote:
Hello all!
One question about ldap. In my logs im see this:
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): user search: base=dc=CAS scope=subtree filter=(&(objectClass=mailUser)(mail=sysadmin@domain.off)) fields=(all)
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): result: accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknown?)= telephoneNumber(?unknown?)= sn(?unknown?)= title(?unknown?)= uid(?unknown?)= userPassword(?unknown?)= mail(?unknown?)=
What is that mean? And how can im get a rid of this?
Show your dovecot-ldap.conf
Timo Sirainen wrote:
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): result: accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknown?)= telephoneNumber(?unknown?)= sn(?unknown?)= title(?unknown?)= uid(?unknown?)= userPassword(?unknown?)= mail(?unknown?)=
What is that mean? And how can im get a rid of this?
Show your dovecot-ldap.conf
%grep -v # /usr/local/etc/dovecot-ldap.conf
hosts = 127.0.0.1 dn = cn=root,dc=CAS dnpass = secret tls = no auth_bind = no ldap_version = 3 base = dc=CAS deref = never scope = subtree user_attrs = user_filter = (&(objectClass=mailUser)(mail=%u)) pass_attrs = mail=user,userPassword=password pass_filter = (&(objectClass=mailUser)(mail=%u)) default_pass_scheme = CRYPT
-- Best regards, Proskurin Kirill
On Fri, 2008-09-12 at 09:56 +0400, Proskurin Kirill wrote:
Timo Sirainen wrote:
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): result: accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknown?)= telephoneNumber(?unknown?)= sn(?unknown?)= title(?unknown?)= uid(?unknown?)= userPassword(?unknown?)= mail(?unknown?)= .. user_attrs =
Empty user_attrs means Dovecot looks up all the fields from LDAP. ?unknown? means that the field hasn't been mapped to anything and Dovecot uses that field as-is.
You probably won't need userdb ldap at all. Use userdb static instead: http://wiki.dovecot.org/UserDatabase/Static
participants (2)
-
Proskurin Kirill
-
Timo Sirainen