Hi folks.
I am writing because i need to setup ldap to work with qmail. At the present moment i am faced with the task to load qmail.schema within the openldap server. The problem is while i have qmail.schema in my home directory, i have no qmail.ldif. Where may i download qmail.ldif from ?
Thanks. Regards
Gustavo Rios wrote:
Hi folks.
I am writing because i need to setup ldap to work with qmail. At the present moment i am faced with the task to load qmail.schema within the openldap server. The problem is while i have qmail.schema in my home directory, i have no qmail.ldif. Where may i download qmail.ldif from ?
You can generate qmail.ldif yourself, from qmail.schema. Just use slaptest to convert the format.
Thanks. Regards
-- In software systems the price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find most hard to pay.
1. create an empty directory mkdir /root/schema
2. copy your qmail.schema file to /root
3 create an include file qmail.conf with the following content: --------- include /root/qmail.schema ---------
4. use slaptest
slaptest -f /root/qmail.conf -F /root/schema
If no error continue
5. open the file cn=config/cn=schema/cn={0}qmail.ldif with an editor change:
dn: cn={0}qmail objectClass: olcSchemaConfig cn: {0}qmail
to
dn: cn=qmail,cn=schema,cn=config objectClass: olcSchemaConfig cn: qmail
remove all lines ad the end starting with:
structuralObjectClass: olcSchemaConfig entryUUID: 2ee6ec1e-c284-1039-9be2-fbd3d5dcee4d creatorsName: cn=config createTimestamp: 20200103145052Z entryCSN: 20200103145052.585886Z#000000#000#000000 modifiersName: cn=config modifyTimestamp: 20200103145052Z
save changes
then add the ldif like any other ldif to your ldap
Am 14.08.26 um 16:04 schrieb Howard Chu:
Gustavo Rios wrote:
Hi folks.
I am writing because i need to setup ldap to work with qmail. At the present moment i am faced with the task to load qmail.schema within the openldap server. The problem is while i have qmail.schema in my home directory, i have no qmail.ldif. Where may i download qmail.ldif from ?
You can generate qmail.ldif yourself, from qmail.schema. Just use slaptest to convert the format.
Thanks. Regards
-- In software systems the price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find most hard to pay.
openldap-technical@openldap.org