samba-3.0.1-2 (from samba.org)
Under the section on configuring slapd.conf, the docs read:
However, samba.schema requires attribute gidNumber which exists in nis.schema;
ergo nis.schema needs to be included first:
# slapindex -f slapd.conf
/etc/openldap/schema/samba.schema: line 324: AttributeType not found: "gidNumber"
Fixed in CVS.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.