Samba 4: strange problem with custom LDAP schema

Matthieu Patou mat at matws.net
Thu Aug 15 00:14:09 MDT 2013


On 08/12/2013 09:02 AM, Roland Gruber wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I installed a custom LDAP schema following this description:
>
> https://wiki.samba.org/index.php/Samba4/Schema_extenstions
>
> My object class is auxiliary and has only optional attributes.
>
>
> The problem is that when I try to add the object class to a user then
> this is not possible in combination with one of the optional
> attributes. I must first add the object class and in a second step add
> the attribute.
>
> Error message:
>
> ldap_modify: Object class violation (65)
>          additional info: 00002014: objectclass_attrs: attribute
> 'passwordSelfResetAnswer' on entry 'CN=myuser,DC=samba4,DC=test' does
> not exist in the specified objectclasses!
>
> Used LDIF:
>
> dn: CN=myuser,DC=samba4,DC=test
> changetype: modify
> add: objectClass
> objectClass: passwordSelfReset
> - -
> add: passwordSelfResetAnswer
> passwordSelfResetAnswer: 123
> - -
>
> Any ideas why Samba refuses the modify? Zarafa also uses auxiliary
> object classes and there it works?!
>
> The schema files are attached. Samba is Sernet Samba appliance 4.0.8.
>
> I hope you can help me with this strange error. Thanks in advance.
>
>
>
I suspect that's a bug would this work on windows ?

Matthieu.


More information about the samba-technical mailing list