diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-01 18:27:29 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-01 18:27:29 +0000 |
commit | 5b38ad78b87454650f301b7d96d2b53aa4d30260 (patch) | |
tree | f747090507d69d7002159eee699b2529f8a4680e /source3 | |
parent | 860688f6e71fca58fee50e364224ee0f6e4f4da4 (diff) | |
download | samba-5b38ad78b87454650f301b7d96d2b53aa4d30260.tar.gz samba-5b38ad78b87454650f301b7d96d2b53aa4d30260.tar.bz2 samba-5b38ad78b87454650f301b7d96d2b53aa4d30260.zip |
permissions on SamrConnect changed to 0x02000000 (maximum allowed)
(This used to be commit cbc646b1d8ce73d1d8167887cbfdab3cad4f11a4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index 1d29403842..a14c2d29bd 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -202,7 +202,7 @@ void cmd_sam_lookup_domain(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -276,7 +276,7 @@ void cmd_sam_del_aliasmem(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -369,7 +369,7 @@ void cmd_sam_delete_dom_alias(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -520,7 +520,7 @@ void cmd_sam_add_aliasmem(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -634,7 +634,7 @@ void cmd_sam_create_dom_user(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -721,7 +721,7 @@ void cmd_sam_create_dom_alias(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -803,7 +803,7 @@ void cmd_sam_del_groupmem(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -897,7 +897,7 @@ void cmd_sam_delete_dom_group(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1016,7 +1016,7 @@ void cmd_sam_add_groupmem(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1158,7 +1158,7 @@ void cmd_sam_create_dom_group(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1365,7 +1365,7 @@ int msrpc_sam_enum_users(struct client_info *info, /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1532,7 +1532,7 @@ void cmd_sam_query_user(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1623,7 +1623,7 @@ void cmd_sam_query_dispinfo(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1708,7 +1708,7 @@ void cmd_sam_query_dominfo(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -1791,7 +1791,7 @@ void cmd_sam_enum_aliases(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ @@ -2009,7 +2009,7 @@ void cmd_sam_enum_groups(struct client_info *info) /* establish a connection. */ res = res ? samr_connect(smb_cli, fnum, - srv_name, 0x00000020, + srv_name, 0x02000000, &info->dom.samr_pol_connect) : False; /* connect to the domain */ |