[Samba] PDC + LDAP

John H Terpstra jht at Samba.Org
Mon Dec 27 20:50:37 GMT 2004


On Monday 27 December 2004 13:44, Adam Tauno Williams wrote:
> > it instructs to run /sbin/splapindex -f /splapd.conf  When I run this I
> > get the following error:
> > /etc/openldap/schema/samba.schema: line 423: AttributeType not found:
> > "gidNumber"
> > slapindex: bad configuration file!
>
> samba.schema requires the posix/nis schema from RFC2307 to be loaded
> first, this is a dependency.  Fix your schema includes.
>
> > Attached are my slapd.conf and samba.schema (modified for security.)
>
> There is no need to send your samba.schema, everone's is the same.

Not quite! The Samba schema has changed over time. Samba 2.x, 3.0.0-3.0.5, 
3.0.6-current are different schemas. Not everyone is using the latest version 
of Samba: In fact, over 60% of the Samba installed base is at least one 
generation out of date!

I do not want to sound like I am nit-picking, but this is an important point. 
You must use the version of the schema that matches your version of Samba.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list