diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-06-05 04:32:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:30 -0500 |
commit | c455b0a935dec8c9644634c496f2b95d7678df05 (patch) | |
tree | d3bfab9a28a71e4ca7c455ba4ff3635242dcd89f /source4/rpc_server/samr/dcesrv_samr.c | |
parent | 35af8953507c9e6d5310ee07cbe63a735954ffb6 (diff) | |
download | samba-c455b0a935dec8c9644634c496f2b95d7678df05.tar.gz samba-c455b0a935dec8c9644634c496f2b95d7678df05.tar.bz2 samba-c455b0a935dec8c9644634c496f2b95d7678df05.zip |
r1028: More consistancy fixes, which should also fix the build.
Andrew Bartlett
(This used to be commit 0d2ae66d3a82134d86084f63c05214e03dfcb48b)
Diffstat (limited to 'source4/rpc_server/samr/dcesrv_samr.c')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index 3b590baa6e..195a2b75f9 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1627,7 +1627,7 @@ static NTSTATUS samr_QueryUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CT break; case 12: - QUERY_STRING(msg, info12.profile.name, "profilePath"); + QUERY_STRING(msg, info12.profile_path.name, "profilePath"); break; case 13: @@ -1654,14 +1654,14 @@ static NTSTATUS samr_QueryUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CT QUERY_NTTIME(msg, info21.last_logoff, "lastLogoff"); QUERY_NTTIME(msg, info21.last_password_change, "pwdLastSet"); QUERY_NTTIME(msg, info21.acct_expiry, "accountExpires"); - QUERY_APASSC(msg, info21.allow_password_change, "pwdLastSet"); - QUERY_FPASSC(msg, info21.force_password_change, "pwdLastSet"); - QUERY_STRING(msg, info21.account_name.name, "sAMAccountName"); + QUERY_APASSC(msg, info21.allow_password_change,"pwdLastSet"); + QUERY_FPASSC(msg, info21.force_password_change,"pwdLastSet"); + QUERY_STRING(msg, info21.account_name.name, "sAMAccountName"); QUERY_STRING(msg, info21.full_name.name, "displayName"); QUERY_STRING(msg, info21.home_directory.name, "homeDirectory"); QUERY_STRING(msg, info21.home_drive.name, "homeDrive"); QUERY_STRING(msg, info21.logon_script.name, "scriptPath"); - QUERY_STRING(msg, info21.profile.name, "profilePath"); + QUERY_STRING(msg, info21.profile_path.name, "profilePath"); QUERY_STRING(msg, info21.description.name, "description"); QUERY_STRING(msg, info21.workstations.name, "userWorkstations"); QUERY_STRING(msg, info21.comment.name, "comment"); @@ -1742,7 +1742,7 @@ static NTSTATUS samr_SetUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX break; case 12: - SET_STRING(msg, info12.profile.name, "profilePath"); + SET_STRING(msg, info12.profile_path.name, "profilePath"); break; case 13: @@ -1771,8 +1771,8 @@ static NTSTATUS samr_SetUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX SET_STRING(msg, info21.comment.name, "comment"); IFSET(SAMR_FIELD_LOGON_SCRIPT) SET_STRING(msg, info21.logon_script.name, "scriptPath"); - IFSET(SAMR_FIELD_PROFILE) - SET_STRING(msg, info21.profile.name, "profilePath"); + IFSET(SAMR_FIELD_PROFILE_PATH) + SET_STRING(msg, info21.profile_path.name, "profilePath"); IFSET(SAMR_FIELD_WORKSTATION) SET_STRING(msg, info21.workstations.name, "userWorkstations"); IFSET(SAMR_FIELD_LOGON_HOURS) @@ -1796,8 +1796,8 @@ static NTSTATUS samr_SetUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX SET_STRING(msg, info23.info.comment.name, "comment"); IFSET(SAMR_FIELD_LOGON_SCRIPT) SET_STRING(msg, info23.info.logon_script.name, "scriptPath"); - IFSET(SAMR_FIELD_PROFILE) - SET_STRING(msg, info23.info.profile.name, "profilePath"); + IFSET(SAMR_FIELD_PROFILE_PATH) + SET_STRING(msg, info23.info.profile_path.name, "profilePath"); IFSET(SAMR_FIELD_WORKSTATION) SET_STRING(msg, info23.info.workstations.name, "userWorkstations"); IFSET(SAMR_FIELD_LOGON_HOURS) @@ -1839,8 +1839,8 @@ static NTSTATUS samr_SetUserInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX SET_STRING(msg, info25.info.comment.name, "comment"); IFSET(SAMR_FIELD_LOGON_SCRIPT) SET_STRING(msg, info25.info.logon_script.name, "scriptPath"); - IFSET(SAMR_FIELD_PROFILE) - SET_STRING(msg, info25.info.profile.name, "profilePath"); + IFSET(SAMR_FIELD_PROFILE_PATH) + SET_STRING(msg, info25.info.profile_path.name, "profilePath"); IFSET(SAMR_FIELD_WORKSTATION) SET_STRING(msg, info25.info.workstations.name, "userWorkstations"); IFSET(SAMR_FIELD_LOGON_HOURS) |