[Date Prev][Date Next] [Chronological] [Thread] [Top]

Newbie LDIF question

Hi All,
I am new to openldap. I was adding the dcObject entries with:

slapadd -v -l root.ldif

my root.ldif lookeed like this:

dn: dc=iitb,dc=ac,dc=in
dc: iitb
objectClass: dcObject
objectClass: organizationalUnit
ou: IITB dot ac dot in

Do i need a seprate entry first for dc=ac ?
Now when I restart my slapd. I get a couple of warnings that say:

/var/lib/ldap/ou.bdb is not owned by "ldap"                [WARNING]
/var/lib/ldap/objectClass.bdb is not owned by "ldap"       [WARNING]

Are they because I ran slapadd as root ? Should I change back the
owenership of these files to user 'ldap' ?