Frank Swasey disse: > Today at 12:48pm, Wessel Louwris wrote: > >> 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 > > Hi, > What you are trying to do should work just fine. The only problem I > see is that structuralObjectClass is not an attribute that you can set > yourself. However, you say that you are using slapadd and that has > always accepted it in the ldif as far as I know (I use 2.3.39 not 2.3.35 > and never ran 2.3.35 so I can't say if there was a problem there or > not). > > However, my recommendation would be to remove the > structuralObjectClass attribute from your ldif and let slapadd determine > what to put there itself. > > You also didn't show them in your sample, but I assume you know you > have to create the superior DNs so that you can create these. If you > don't have "dn: ou=companies,dc=dummy,dc=nl" as an entry, you can't > create these children entries. And I would correct organisation. It's organization (note the 'z') ciao
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 0382 573859 (137) Mobile: +39 347 1014425 Email: [EMAIL PROTECTED] ----------------------------------- --- 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.
