[Samba] Samba Schema Error? Setting up PDC with LDAP

Mike Trzcianowski miket at casemed.com
Wed Aug 24 13:18:34 GMT 2005


I have samba 3.0.10 and OpenLDAP(slapd) 2.2.13 on a redhat enterprise 4
machine.

I have modified the slapd.conf file according to the official Smaba3 by
example book.

I have copied samba.schema from the samba directory
/usr/share/doc/samba-3.0.10/LDAP/ to /etc/openldap/schema and included it in
the slapd.conf file:

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/opendlap/schema/samba.schema

when I run /usr/sbin/slaptest, I get a "bad configuration file!" message.
But when I comment out the samba.schema and the three lines with index
sambaSID, index sambaPrimaryGroupSID and index sambaDomainName the slaptest
says that everything is correct.

I assume there must be some error in the samba.schema file. But how can I
find out what it is if I don't get a line number or anything?

Has this happened to anyone?

Any help appreciated.




More information about the samba mailing list