Extending Samba 4 schema for OSX GPO support

Andrew Bartlett abartlet at samba.org
Tue Nov 23 16:31:34 MST 2010

On Wed, 2010-11-24 at 01:28 +0200, Kamen Mazdrashki wrote:
> Hi Aubrey,
> I have tested with the ldif you've attached in your first mail (I think)
> and here is what I did to make it work (yes, it works)
> 1. the ldif is in Unicode - I've converted it in utf-8
> 2. in all classes, rdnAttId, subClassOf etc are denoted by OIDs
>   so I just commented the line with the numeric OID and uncommented
>   the line after it (the one with the ldapDisplayName)
>   (it seems this is a problem only for rdnAttId, but I did for all of
> them anyway)
> 3. replace "changetype: ntdsschemaadd" with "changetype: add"
> 4. use ldbmodify utility
> It worked like charm :)
> Good luck!


Any chance you can write a python script to do all this?  That would
allow future users to import this without such manual work (sort of like
the oLschema2ldif tool does).

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101124/e37f8f7d/attachment.pgp>

More information about the samba-technical mailing list