svn commit: samba r12977 - in branches/SAMBA_4_0/source: lib/ldb/include lib/ldb/tools libcli/ldap

Stefan (metze) Metzmacher metze at samba.org
Tue Jan 17 17:58:53 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simo schrieb:
> On Tue, 2006-01-17 at 06:57 +0100, Stefan (metze) Metzmacher wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> idra at samba.org schrieb:
>>> Author: idra
>>> Date: 2006-01-17 04:04:57 +0000 (Tue, 17 Jan 2006)
>>> New Revision: 12977
>>>
>>> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12977
>>>
>>> Log:
>>>
>>> Some code to implement the client side of the Dirsync control
>>> Still investigating how it works.
>> look at librpc/idl/drsblobs.idl ldapControlDirSyncBlob
>>
>> you can test with:
>> bin/ndrdump drsblobs decode_ldapControlDirSync in blob.dat
> 
> 
> Well I do not receive back a blob, all I get back is a "normal" ldap
> message. I was looking at how deletion looked like. I have it now, but
> need to look at our printing/parsing functions, the answer I get back is
> a bit strange, there may be some illegal character in the DN :-/

the Cookie is the blob and it contains the same metadata as drsuapi
replication requests

I have fixed the parsing:

so do:
bin/ndrdump drsblobs decode_ldapCrontrolDirSyncCookie in blob.dat

maybe we could dump the ndr_print_ldapControlDirSyncCookie output as
ldif comment too...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDzTBdm70gjA5TCD8RAm50AKDMgFHgZ+zPrS6aUEFrX88AUY5qCACeNALx
4awbS9BnKUmgFAMu6y6XA/A=
=8COx
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list