Thanks very much Turbo. It's working now. I have done nothing but changed the 
conf-qmail to the original file. I have ever changed this file to install qmail to 
another directory, but now I have restored it. It woks:) Thanks again. Next, I would 
like to design my own ldap-schema.

> You're missing something here... Check the files 'ldaplogin', 'ldappassword'
> och absolut minimum 'ldapserver' and 'ldapcontroldn'.
> 
> > control_ldap_search: search for (&(cn=)(objectclass=qmailControl)) failed (No such 
>object)
> 
> It don't know what to look for 'cn=' (empty!).
> 
> I know! You're missing the 'me' file! Insert your hosts full FQDN there, then
> create a qmailControl object with 'cn=<FQDN>'. Back to reading the FAQ! This
> is documented!
> 
> > simple bind successful (as '')
> > qldap_lookup: searching with ([EMAIL PROTECTED])
> 
> Can this uid be found if searching anonymously with 'ldapsearch" (that
> is, is the 'mail' and 'mailAlternateAddres' etc readable if anonymously)? 
> 
> > me: My name is test.com.
> 
> Include hostname!
> 
> > ldapserver: My LDAP Server is localhost?
> > ldapcontroldn: LDAP controldn: ou=configs,dc=test,dc=com?
> > ldapport: LDAP port: 389?
> > ldaplogin: LDAP login name: cn=Manager,dc=test,dc=com?
> > ldappassword: LDAP login password: secret?
> > ldapbasedn: LDAP basedn: dc=test,dc=com?.
> > ldapuid: Default UID is: 1501?.
> > ldapgid: Default GID is: 1501?.
> > ldapmessagestore: Prefix for non absolute paths: /mail/mailuser?.
> 
> Oki, these are read from the LDAP server (I can tell from the '?' at
> the end :). I'd recomend putting 'ldapserver', 'ldapcontroldn', 'ldaplogin'
> and 'ldappassword' as files. Those for are the only one needed as file,
> the rest is ok to have in LDAP...



Reply via email to