werror: replace WERR_USER_NOT_FOUND with WERR_NERR_USERNOTFOUND in source3/lib/netapi...
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:33 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:26 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/netapi/group.c

index d592440598a7910043d8e7f637f2bc91f1d86465..682d3801112f42550828f621662ad1dd2c1aa72d 100644 (file)
@@ -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;
        }