Mike Trzcianowski
2005-Aug-24 13:17 UTC
[Samba] Samba Schema Error? Setting up PDC with LDAP
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.
Tomasz Chmielewski
2005-Aug-24 13:29 UTC
[Samba] Samba Schema Error? Setting up PDC with LDAP
Mike Trzcianowski schrieb:> 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(...) Well, something similar happened to me, try to look at this thread (2nd message): http://sourceforge.net/mailarchive/message.php?msg_id=12606369 It concerns Kolab schemas, but maybe that'll help. -- Tomek http://wpkg.org