summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-26 16:46:45 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-26 16:46:45 +0000
commitea6592046f40ca21c689bff6472b4dd764850e43 (patch)
tree20c95af4ac1b735d9a1a42ddd5776f1d544d7a37 /source3/include
parent9d890f269cf54291edee585168960a56731cb363 (diff)
downloadsamba-ea6592046f40ca21c689bff6472b4dd764850e43.tar.gz
samba-ea6592046f40ca21c689bff6472b4dd764850e43.tar.bz2
samba-ea6592046f40ca21c689bff6472b4dd764850e43.zip
adding extra parameter back in to trust account functions (trust account name).
restoring opening S-1-5-20 in sam enum users code. (This used to be commit 1be877114e2e958c59e6516dacf22d3fb5a4240f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ade8866376..6789fdd0be 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1780,8 +1780,14 @@ BOOL cli_net_srv_pwset(struct cli_state *cli, uint16 nt_pipe_fnum,
BOOL cli_net_sam_logon(struct cli_state *cli, uint16 nt_pipe_fnum, NET_ID_INFO_CTR *ctr,
NET_USER_INFO_3 *user_info3);
BOOL cli_net_sam_logoff(struct cli_state *cli, uint16 nt_pipe_fnum, NET_ID_INFO_CTR *ctr);
-BOOL cli_net_sam_sync(struct cli_state *cli, uint16 nt_pipe_fnum, uint32 database_id, uint32 *num_deltas, SAM_DELTA_HDR *hdr_deltas, SAM_DELTA_CTR *deltas);
+BOOL cli_net_sam_sync(struct cli_state *cli, uint16 nt_pipe_fnum,
+ const char* srv_name,
+ uint32 database_id,
+ uint32 *num_deltas,
+ SAM_DELTA_HDR *hdr_deltas,
+ SAM_DELTA_CTR *deltas);
BOOL do_sam_sync(struct cli_state *cli, uchar trust_passwd[16],
+ const char* acct_name,
const char* srv_name,
SAM_DELTA_HDR hdr_deltas[MAX_SAM_DELTAS],
SAM_DELTA_CTR deltas [MAX_SAM_DELTAS],