diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:33 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:26 +0200 |
commit | 1ffcbd884022b3e57a4db13751234cc34079b418 (patch) | |
tree | 81d11a410888350fe0600bf4ff83ab8f973a5124 /source3/lib/netapi | |
parent | 104154c0af990bf7b6b44d831441c04958b6b0b7 (diff) | |
download | samba-1ffcbd884022b3e57a4db13751234cc34079b418.tar.gz |
werror: replace WERR_USER_NOT_FOUND with WERR_NERR_USERNOTFOUND in source3/lib/netapi/group.c
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/group.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c index d592440598a..682d3801112 100644 --- a/source3/lib/netapi/group.c +++ b/source3/lib/netapi/group.c @@ -997,7 +997,7 @@ WERROR NetGroupAddUser_r(struct libnetapi_ctx *ctx, goto done; } if (!NT_STATUS_IS_OK(result)) { - werr = WERR_USER_NOT_FOUND; + werr = WERR_NERR_USERNOTFOUND; goto done; } if (rids.count != 1) { @@ -1010,7 +1010,7 @@ WERROR NetGroupAddUser_r(struct libnetapi_ctx *ctx, } if (types.ids[0] != SID_NAME_USER) { - werr = WERR_USER_NOT_FOUND; + werr = WERR_NERR_USERNOTFOUND; goto done; } @@ -1158,7 +1158,7 @@ WERROR NetGroupDelUser_r(struct libnetapi_ctx *ctx, } if (!NT_STATUS_IS_OK(result)) { - werr = WERR_USER_NOT_FOUND; + werr = WERR_NERR_USERNOTFOUND; goto done; } if (rids.count != 1) { @@ -1171,7 +1171,7 @@ WERROR NetGroupDelUser_r(struct libnetapi_ctx *ctx, } if (types.ids[0] != SID_NAME_USER) { - werr = WERR_USER_NOT_FOUND; + werr = WERR_NERR_USERNOTFOUND; goto done; } |