samba4: machine and user accounts

Stefan (metze) Metzmacher metze at
Wed May 28 07:22:46 GMT 2008

Andrew Bartlett schrieb:
> On Tue, 2008-05-27 at 21:14 -0400, Mike Wilkinson wrote:
>> Stefan (metze) Metzmacher wrote:
>>> It's in the prefixMap attribute,
>>> see setup/provision_schema_basedn_modify.ldif.
>>> I think we need to autogenerate the base64 encoded
>>> based on some plain text source, maybe a simple file
>>> like this:
>>> 0x00000000:
>>> 0x00010000:
>>> 0x00020000:
>>> ....
>>> What we also need is to implement the schema master role
>>> completely, so that the schema can we updated at runtime
>>> and a new mapping is created, but first we need to write
>>> some tests to see how windows handles that.
>>> Note the prefixMapping attribute is not exposed via LDAP
>>> from windows hosts, the content is only accessable via the
>>> DsGetNCChanges() (but not as raw blob how it is stored on the database).
>> I've spent hours with gdb trying to work out what the encoding is 
>> supposed to be
> It is described in drsblobs.idl
> Given that the table is not accessible from windows, I am at a loss as
> to why Metze chose a binary encoding.

I just reused the allready existing structure
drsuapi_DsReplicaOIDMapping_Ctr and added some wrapping arround it to
correctly autodetect this format in case it appears that we to use
the same format that windows uses (which is unknown).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url :

More information about the samba-technical mailing list