On Wed, Apr 09, 2014 at 09:19:41PM +0200, Martin Lesser wrote: > Am 09.04.2014 21:13, schrieb Friedrich Locke: > > qmail-ldaplookup: fatal: qldap_get_uid: needed value is missing > > obsd# > > > > Why qmail-ldaplookup fails ? > > Setting qmailUID and qmailGID to the appropriate values in LDAP-entry > should help. > > IMO both attributes should be set to mandatory in qmail.schema >
Nope, they are only needed if you don't have a default config in control/ldap{uid,gid}. In most cases people just need to set the default config files. QLDAPINSTALL lists all the control files used / added by qmail-ldap and describes what they are used for and if the are required or not. Also have a look at the "DEFAULT LDAP PARAMETER FIELDS" section of the same file. -- :wq Claudio