diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-29 02:46:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:20 -0500 |
commit | 465e089dd30f8804994c00f31136fc041cf2a604 (patch) | |
tree | e24cd79d04038bc488656d9292dd157297c3b74e /source4/rpc_server | |
parent | 6e614bf63260cf13b4196cc1c5e37595f149a72a (diff) | |
download | samba-465e089dd30f8804994c00f31136fc041cf2a604.tar.gz samba-465e089dd30f8804994c00f31136fc041cf2a604.tar.bz2 samba-465e089dd30f8804994c00f31136fc041cf2a604.zip |
r5080: patch from ronnie to make our samr IDL a little more consistent
(This used to be commit 7607ddda3f221bd5a68d28c0eae297569fbb58b1)
Diffstat (limited to 'source4/rpc_server')
-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 0bc44c410b..43cad59c7a 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1562,19 +1562,19 @@ static NTSTATUS samr_QueryGroupInfo(struct dcesrv_call_state *dce_call, TALLOC_C /* Fill in the level */ switch (r->in.level) { - case GroupInfoAll: + case GROUPINFOALL: QUERY_STRING(msg, all.name.string, "sAMAccountName"); r->out.info->all.attributes = 7; /* Do like w2k3 */ QUERY_UINT (msg, all.num_members, "numMembers") QUERY_STRING(msg, all.description.string, "description"); break; - case GroupInfoName: + case GROUPINFONAME: QUERY_STRING(msg, name.string, "sAMAccountName"); break; - case GroupInfoX: + case GROUPINFOX: r->out.info->unknown.unknown = 7; break; - case GroupInfoDescription: + case GROUPINFODESCRIPTION: QUERY_STRING(msg, description.string, "description"); break; default: @@ -1612,15 +1612,15 @@ static NTSTATUS samr_SetGroupInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX } switch (r->in.level) { - case GroupInfoDescription: + case GROUPINFODESCRIPTION: SET_STRING(msg, description.string, "description"); break; - case GroupInfoName: + case GROUPINFONAME: /* On W2k3 this does not change the name, it changes the * sAMAccountName attribute */ SET_STRING(msg, name.string, "sAMAccountName"); break; - case GroupInfoX: + case GROUPINFOX: /* This does not do anything obviously visible in W2k3 LDAP */ break; default: @@ -1987,15 +1987,15 @@ static NTSTATUS samr_QueryAliasInfo(struct dcesrv_call_state *dce_call, TALLOC_C ZERO_STRUCTP(r->out.info); switch(r->in.level) { - case AliasInfoAll: + case ALIASINFOALL: QUERY_STRING(msg, all.name.string, "sAMAccountName"); QUERY_UINT (msg, all.num_members, "numMembers"); QUERY_STRING(msg, all.description.string, "description"); break; - case AliasInfoName: + case ALIASINFONAME: QUERY_STRING(msg, name.string, "sAMAccountName"); break; - case AliasInfoDescription: + case ALIASINFODESCRIPTION: QUERY_STRING(msg, description.string, "description"); break; default: @@ -2033,10 +2033,10 @@ static NTSTATUS samr_SetAliasInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX } switch (r->in.level) { - case AliasInfoDescription: + case ALIASINFODESCRIPTION: SET_STRING(msg, description.string, "description"); break; - case AliasInfoName: + case ALIASINFONAME: /* On W2k3 this does not change the name, it changes the * sAMAccountName attribute */ SET_STRING(msg, name.string, "sAMAccountName"); |