[patch] bdc samsync support

Richard Renard rrenard at idealx.com
Wed Mar 2 16:39:44 GMT 2005


Hi list,

Here is a new revision of the previous patches i made, based on 
samba-3.0.11.

This one is a bit different, it introduces a new binary called samsyncd.
The only purpose of samsyncd is do take care of the sam synchronisation, 
it runs as a daemon and waits for a message sent using message_send_pid 
(nmbd send the message upon reception of the "change to UAS or SAM" message)

- net rpc deltas
- rename user script smb.conf option (only used by samsync)
   ex: rename user script = /usr/local/sbin/smbldap-usermod -r "%x" "%u"
- samsyncd (take a '-o' option for "one-shot")

move of delta parse functions contained in utils/net_rpc_samsync.c to 
rpc_client/cli_netlogon_utils.c

changes in include/rpc_netlogon.h (mainly delta structures names) 
reflected in rpc_parse/parse_net.c

things still to do
- s/d_printf/DEBUG/ in cli_netlogon_utils.c
- sync privileges that are supported
- svcctl missing functions (queryDispName, startService, ...)
- lsa missing functions (set and query Secret)


Richard.

--
Richard Renard
rrenard at idealx.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdc_samsyncd_02032005-3.diff
Type: text/x-patch
Size: 120839 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050302/0fa768e6/bdc_samsyncd_02032005-3.bin


More information about the samba-technical mailing list