[PATCH] bits of samba as a BDC
Jeremy Allison
jra at samba.org
Fri Nov 28 17:12:42 GMT 2003
On Fri, Nov 28, 2003 at 04:49:01PM +0100, Richard Renard wrote:
> Hello all,
>
> Here is a patch, which is an improved version of the patch that i posted
> 1 month ago, which enable samba to work as a BDC of a NT-4.0 PDC.
> this patch is against the SAMBA_3_0 branch (formerly CVS 3.0.1pre4)
>
>
> what it does:
> - when nmbd receives an "announce change to uas or sam" packet it parses
> it and put some infos in a struct which is passed to smbd by the
> internal message subsystem.
> fields are: pdcname, low_serial, and the 3 modified_counts
>
> - when smbd receives the message, it forks and start processing the
> infos it just received in order to create the right
> DatabaseDeltasRequest for the right database.
>
> - it parses the deltas and gets all users and groups informations (only
> adding those not delete), and also all the account policy in the
> SAM_DOMAIN_INFO struct.
>
>
> the patch:
> - adds a smbd/deltas.c which creates a modcount.tdb, and creates the
> requests in order to get the deltas
> - adds a rpc_client/cli_netlogon_util.c which contains the code from
> utils/net_rpc_samsync.c ( code is moved from net_rpc_samsync into
> cli_netlogon_util )
> - modify some stuff in rpc_netlogon.h
>
>
> Waiting for your comments.
Great stuff - I have an smb signing bug to fix first
and I'm not sure we should add this to 3.0.1 (too disruptive
for now) but I want it in the tree asap.
Thanks a *lot* !
Jeremy.
More information about the samba-technical
mailing list