Samba 4: strange problem with custom LDAP schema
Roland Gruber
post at rolandgruber.de
Mon Aug 12 10:02:50 MDT 2013
-----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.
- --
Best regards
Roland
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iEYEARECAAYFAlIJByUACgkQq/ywNCsrGZ7eugCeOL+c04AIpGmF1YulqJ516qYO
ql0An1x1nOU9GqSbDBohUIx6L7JmaZNw
=hd3P
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwordSelfReset-Samba4-attributes.ldif
Type: application/download
Size: 1396 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130812/8f32035c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwordSelfReset-Samba4-objectClass.ldif
Type: application/download
Size: 1101 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130812/8f32035c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwordSelfReset-Samba4-attributes.ldif.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130812/8f32035c/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwordSelfReset-Samba4-objectClass.ldif.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130812/8f32035c/attachment-0001.pgp>
More information about the samba-technical
mailing list