summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index bf8eb7d3a83..995ed081f62 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -4013,7 +4013,7 @@ static bool api_RNetUserGetInfo(struct smbd_server_connection *sconn,
struct lsa_String names;
struct samr_Ids rids;
struct samr_Ids types;
- int errcode = W_ERROR_V(WERR_USER_NOT_FOUND);
+ int errcode = W_ERROR_V(WERR_NERR_USERNOTFOUND);
uint32_t rid;
union samr_UserInfo *info;
struct dcerpc_binding_handle *b = NULL;