summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-31 20:43:18 +0200
committerKarolin Seeger <kseeger@bando.sernet.private>2008-04-01 09:47:46 +0200
commit643e84551f9467324e00fc09e13e7362d275ca58 (patch)
treeb295f309ea29d3f7e634f57ff679776068334983 /source/rpc_client
parent631e9d77fdf2999790fddb7a83b5353cc07dbdcd (diff)
downloadsamba-643e84551f9467324e00fc09e13e7362d275ca58.tar.gz
samba-643e84551f9467324e00fc09e13e7362d275ca58.tar.xz
samba-643e84551f9467324e00fc09e13e7362d275ca58.zip
Re-add support for the samr parameters string.
(dialin settings, terminal server settings, etc.) Guenther (cherry picked from commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/init_samr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpc_client/init_samr.c b/source/rpc_client/init_samr.c
index 1275fc834b3..3b62e7effb1 100644
--- a/source/rpc_client/init_samr.c
+++ b/source/rpc_client/init_samr.c
@@ -308,9 +308,9 @@ void init_samr_user_info18(struct samr_UserInfo18 *r,
********************************************************************/
void init_samr_user_info20(struct samr_UserInfo20 *r,
- const char *munged_dial)
+ struct lsa_BinaryString *parameters)
{
- init_lsa_String(&r->parameters, munged_dial);
+ r->parameters = *parameters;
}
/*************************************************************************
@@ -333,7 +333,7 @@ void init_samr_user_info21(struct samr_UserInfo21 *r,
const char *description,
const char *workstations,
const char *comment,
- const char *parameters,
+ struct lsa_BinaryString *parameters,
uint32_t rid,
uint32_t primary_gid,
uint32_t acct_flags,
@@ -362,7 +362,7 @@ void init_samr_user_info21(struct samr_UserInfo21 *r,
init_lsa_String(&r->description, description);
init_lsa_String(&r->workstations, workstations);
init_lsa_String(&r->comment, comment);
- init_lsa_String(&r->parameters, parameters);
+ r->parameters = *parameters;
r->rid = rid;
r->primary_gid = primary_gid;
r->acct_flags = acct_flags;
@@ -397,7 +397,7 @@ void init_samr_user_info23(struct samr_UserInfo23 *r,
const char *description,
const char *workstations,
const char *comment,
- const char *parameters,
+ struct lsa_BinaryString *parameters,
uint32_t rid,
uint32_t primary_gid,
uint32_t acct_flags,