Hello,

I'm trying to setup a directory (openldap 2.3.35)  with a list of companies
(objectClass: organisation) in a container (dn: ou=companies,dc=dummy,dc=nl)
but I get

invalid value for attributeType structuralObjectClass #0 (syntax
1.3.6.1.4.1.1466.115.121.1.38)
slapadd: could not parse entry (line=6)

when adding:

dn: o=company1,ou=companies,dc=dummy,dc=nl
structuralObjectClass: organisation
objectClass: top
objectClass: organisation
o: company1

Apparantly I'm doing something wrong with the organisation class? (because
1.3.6.1.4.1.1466.115.121.1.38 looks like it's an oid syntax?)
If I try to add such an object with phpldapadmin it also says syntax error:
Invalid DN syntax


What I'm trying to accomplish is this:

 ou=people
and
 ou=companies

where objects in ou=people are objectClass: inetOrgPerson and objects in
companies I thought could be objectClass: organisation
People can belong to multiple companies, so I will add an  auxiliary
class/attribute for that later I guess. But I cannot even set it up without
this relation now so for this question I'll leave that part out.

So my ldif file looks like something like this:

dn: ou=people,dc=dummy,dc=nl
ou: People
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: ou=companies,dc=dummy,dc=nl
ou: Companies
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit

dn: uid=user1,ou=people,dc=dummy,dc=nl
structuralObjectClass: inetOrgPerson
objectClass: top
objectClass: inetOrgPerson
uid: user1

dn: o=company1,ou=companies,dc=dummy,dc=nl
structuralObjectClass: organisation
objectClass: top
objectClass: organisation
o: company1

Any suggestions on how to fix this? Or is my model completely wrong? Then
some suggestions on how to setup a schema for this situation would be great!

Thanks a lot for any help.

Wessel


---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to