summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-04 22:34:43 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-05 15:35:54 +0200
commit915ddf0dc74d2b36d5da2c1bf377a289291c13b8 (patch)
tree141fa25d7bd40c2a9c26d2e39ae2dea2518b2984 /source3
parent3278554b3e8864bc412926b67faf8a924a4416c7 (diff)
downloadsamba-915ddf0dc74d2b36d5da2c1bf377a289291c13b8.tar.gz
samba-915ddf0dc74d2b36d5da2c1bf377a289291c13b8.tar.bz2
samba-915ddf0dc74d2b36d5da2c1bf377a289291c13b8.zip
samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
See MS-SAMR section "FULL IDL"
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/user.c4
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index dcc28e7af9..7107b32d88 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -113,7 +113,7 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX,
info21->parameters = zero_parameters;
info21->lm_owf_password = zero_parameters;
info21->nt_owf_password = zero_parameters;
- info21->unknown3.string = NULL;
+ info21->private_data.string = NULL;
info21->buf_count = 0;
info21->buffer = NULL;
info21->rid = infoX->usriX_user_id;
@@ -128,7 +128,7 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX,
info21->lm_password_set = 0;
info21->nt_password_set = 0;
info21->password_expired = infoX->usriX_password_expired;
- info21->unknown4 = 0;
+ info21->private_data_sensitive = 0;
}
/****************************************************************
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 499f959475..7b74fd8e60 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2464,7 +2464,7 @@ static NTSTATUS get_user_info_2(TALLOC_CTX *mem_ctx,
struct samu *pw)
{
r->comment.string = talloc_strdup(mem_ctx, pdb_get_comment(pw));
- r->unknown.string = NULL;
+ r->reserved.string = NULL;
r->country_code = 0;
r->code_page = 0;