summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 4aa753c022..2b43f0baf4 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -176,7 +176,7 @@ BOOL initialize_groups(char *user, uid_t uid, gid_t gid)
unbecome_root();
return False;
}
- become_root();
+ unbecome_root();
return True;
}