Hi Marc,

Thanks for your reply.

Sorry, I should have been more specific.
I am encountering the same error as the original post by Luis where I have
added the calEntry and calendarRessource schema to my samba4 internal ldap
successfully but am encountering the following error for attribute kind and
multiplebookings when adding a resource:


ERR: Object class violation : "LDAP error 65 LDAP_OBJECT_CLASS_VIOLATION -
 <00002014: objectclass_attrs: attribute 'Kind' on entry
'CN=Boardroom,OU=Resources,DC=my,DC=domain' does not exist in the specified
objectclasses!> <>" on DN cn=Boardroom, ou=Resources,dc=my,dc=domain at
block before line 23

Yes, I have changed the root DN to suit my set up for all the ldif files.

Here's the ldif file of the resource I am trying to add:

===============================
dn: ou=Resources,dc=my,dc=domain
changetype: add
objectClass: top
objectClass: organizationalUnit
ou: Resources

dn: cn=Boardroom,ou=Resources,dc=my,dc=domain
changetype: add
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: CalendarResource
objectClass: calEntry
multiplebookings: 1
kind: location
cn: Boardroom
sn: Boardroom
displayName: Boardroom
givenName: Boardroom
mail: boardroom@my.domain
uid: Boardroom
===============================

Thanks in advance,

Regards,
Charles









On 29 July 2015 at 20:32, Marc Patermann <hans.mo...@ofd-z.niedersachsen.de>
wrote:

> Charles,
>
> Am 29.07.2015 um 05:03 Uhr schrieb Charles:
>
>> I am stuck on the same problem you mentioned in this post.
>>
> and "the same problem" is exactly what?
> "I was getting an error about the empty dn."?
>
> This is by far a exact error message.
>
> Did you end up finding the solution?
>>
> the wiki text menitions somethig about "DN":
>
> "This LDIF file (calentry-schema.ldif) contains the necessary changes, all
> you need to do is fill in the correct root DN for your domain and import
> the file on the commandline using ldifde -i -j . -f calentry-schema.ldif"
>
>
> Did you "fill in the correct root DN for your domain"?
>
>
>
> Marc
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to