diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-01 18:32:34 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-01 18:32:34 +0000 |
commit | c55bcec817f47d6162466b193d533c877194124a (patch) | |
tree | 7e021cec55906e2e789c4a66a316b66342061724 /source/rpc_server/srv_util.c | |
parent | 8cfb55e81abebf0354e6d470ed68bbac1d6560ad (diff) | |
download | samba-c55bcec817f47d6162466b193d533c877194124a.tar.gz samba-c55bcec817f47d6162466b193d533c877194124a.tar.xz samba-c55bcec817f47d6162466b193d533c877194124a.zip |
Tidyup removing many of the 0xC0000000 | NT_STATUS_XXX stuff (only need NT_STATUS_XXX).
Removed IS_BITS_xxx macros as they were just reproducing "C" syntax in a more
obscure way.
Jeremy.
Diffstat (limited to 'source/rpc_server/srv_util.c')
-rw-r--r-- | source/rpc_server/srv_util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/rpc_server/srv_util.c b/source/rpc_server/srv_util.c index a1f2a7c0856..ba13f0ed7a6 100644 --- a/source/rpc_server/srv_util.c +++ b/source/rpc_server/srv_util.c @@ -216,7 +216,7 @@ uint32 lookup_group_name(uint32 rid, char *group_name, uint32 *type) } DEBUG(5,(" none mapped\n")); - return 0xC0000000 | NT_STATUS_NONE_MAPPED; + return NT_STATUS_NONE_MAPPED; } /******************************************************************* @@ -242,7 +242,7 @@ uint32 lookup_alias_name(uint32 rid, char *alias_name, uint32 *type) } DEBUG(5,(" none mapped\n")); - return 0xC0000000 | NT_STATUS_NONE_MAPPED; + return NT_STATUS_NONE_MAPPED; } /******************************************************************* @@ -282,7 +282,7 @@ uint32 lookup_user_name(uint32 rid, char *user_name, uint32 *type) } DEBUG(5,(" none mapped\n")); - return 0xC0000000 | NT_STATUS_NONE_MAPPED; + return NT_STATUS_NONE_MAPPED; } /******************************************************************* @@ -301,7 +301,7 @@ uint32 lookup_group_rid(char *group_name, uint32 *rid) } while (grp_name != NULL && !strequal(grp_name, group_name)); - return (grp_name != NULL) ? 0 : 0xC0000000 | NT_STATUS_NONE_MAPPED; + return (grp_name != NULL) ? 0 : NT_STATUS_NONE_MAPPED; } /******************************************************************* @@ -320,7 +320,7 @@ uint32 lookup_alias_rid(char *alias_name, uint32 *rid) } while (als_name != NULL && !strequal(als_name, alias_name)); - return (als_name != NULL) ? 0 : 0xC0000000 | NT_STATUS_NONE_MAPPED; + return (als_name != NULL) ? 0 : NT_STATUS_NONE_MAPPED; } /******************************************************************* @@ -342,7 +342,7 @@ uint32 lookup_user_rid(char *user_name, uint32 *rid) return 0x0; } - return 0xC0000000 | NT_STATUS_NONE_MAPPED; + return NT_STATUS_NONE_MAPPED; } #undef OLD_NTDOMAIN |