8.1.1.5. ldapserver
Your ldap server's hostname. If you want more than one ldap-server for redundancy, use a space separated list of hostnames. You can append a port number if your LDAP server does not run on its default port 389.
ldap.example.com:389 ldap2.example.com:389
Required.
8.1.1.6. ldaplogin
If you need to authentificate against your ldap server to retrieve the user information, this is the username to do so. Note: this is a ldap dn, not a unix username.
Default: NULL (do not authentificate)
echo "cn=root, o=yourcorp, c=de" > ldaplogin
8.1.1.7. ldappassword
The password for the user defined in ldaplogin if needed. Cleartext, so this file should be owned by root and mode 600.
Default: NULL
-----Urspr�ngliche Nachricht-----Is it possible to have the ldap server on a separate machine other than the one qmail is running on?
Von: BsD JuNkiE [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. M�rz 2003 18:07
An: [EMAIL PROTECTED]
Betreff: ldap server seperate from mail server?
I already have a fresh openldap 2.1.12 server running on another host and would like to use it. Is there any instructions on how to achieve this as i am reading life with qmail-ldap and from what i can tell its referring to ldap being on the mail server. I have just finished installing openbsd for the mail server, removed sendmail, installed openldap * for the libraries i guess but i don't want to run dap services on this machine, installed daemon tools and tcp-server with the ssl patch, downloaded qmail and patched with the ldap patch. I have copied the qmail.schema over to the other host running ldap. The next step from the guide says to:
4.4. Configuration
Now that you have the schema loaded, a little system configuration is needed. I am going to discuss virtual user accounts, meaning that there are no home directories or /etc/passwd accounts for users on the mail server. After all, this is a mail server and not a user playground.
This involves setting a few control files:
- edit /etc/passwd and add: vmail:x:11184:2110::/var/qmail/maildirs/:/bin/true - edit /etc/group and add: vmail::2110 - mkdir /var/qmail/maildirs - chown -R vmail:vmail /var/qmail/maildirs - cd /var/qmail/control - Create the following control files with specified contents in /var/qmail/control: defaultdelivery: ./Maildir/ ldapmessagestore: /var/qmail/maildirs ldapgid: 2110 ldapuid: 11184
Does all the above still have to be on the ldap server?
If anyone has a install like this please advise.
thanks.
