I've been trying to set up Samba to use LDAP on our new server (FC13, OpenLDAP 2.4). There is a samba.schema in /etc/openldap/schema, which I believe I need to convert to the new config format. I created a file, samba.conf, containing one line:
include /etc/openldap/schema/samba.schema
and create a directory, /etc/openldap/convert for the output, and then:

[root@is02 openldap]#slapcat -f samba.conf -F /etc/openldap/convert -n0 -s "cn={12}samba,cn=schema,cn=config"
/etc/openldap/schema/samba.schema: line 496 objectclass: AttributeType not found: "displayName"
slapcat: bad configuration directory!

Now I'm stuck, and an afternoon of Googling seems to be getting me nowhere!

Any help would be greatly appreciated!