[Dovecot] configuration of user_global_uid and user_global_gid

KATOH Yasufumi karma at jazz.email.ne.jp
Thu Jul 14 08:44:30 EEST 2005


Hi.

I'm configuring LDAP auth with dovecot (cvs trunk at 14, July) as follows:

/etc/dovecot/dovecot.conf:

  passdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf 
  }

  userdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf
  }

/etc/dovecot/dovecot-ldap.conf:

  user_attrs = mail,homeDirectory,mailbox,,,
  user_global_uid = 10000
  user_global_gid = 1000

But "user_global_uid" and "user_global_gid" definition does not work.

  dovecot: Jul 14 11:50:36 Error: auth(default): ldap(test at example.jp,127.0.0.1): ui
  d not in user_attrs and no default given in user_global_uid
  dovecot: Jul 14 11:50:36 Error: auth(default): ldap(test at example.jp,127.0.0.1): gi
  d not in user_attrs and no default given in user_global_gid

How do I configure to enable "user_global_uid" and "user_global_gid"?
Does my configuration have any problem?

-- 
karma at jazz.email.ne.jp / KATOH Yasufumi


More information about the dovecot mailing list