HowTo: Samba PDC with LDAP backend

Discussion in 'HOWTO-Related Questions' started by jmangan, Dec 9, 2010.

  1. jmangan

    jmangan New Member


    I'm trying to follow this How to:

    but I've hit a snag. This is my init.ldif

    dn: dc=test,dc=local
    objectclass: dcObject
    objectclass: organization
    o: test.local
    dc: test

    dn: cn=root,dc=test,dc=local
    objectclass: organizationalRole
    cn: root

    but when I issue the command
    slapadd -l /etc/openldap/init.ldif

    I get the following error:
    /etc/openldap/schema/samba.schema: line 485: AttributeType not found: "displayName"
    slapadd: bad configuration file!

    I'm running CentOS 5.5, downloaded epel 5-4 (latest) and smldap-tool 9.6-1 (latest).

    Any ideas, please?
  2. jmangan

    jmangan New Member


    Never mind. I found a typo in the slapd.conf. It gort messed up cutting and pasting it into my system and while sorting it out I had lost a space n one of the 'include' statements.

    Moving on. . . .

Share This Page