Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Adding a schem to OpenLDAP server

Posted by: caznetworks Nov 4 2010, 12:38 PM

Hi,

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:

CODE
[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!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)