summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-08 23:49:26 +0000
committerJeremy Allison <jra@samba.org>2000-08-08 23:49:26 +0000
commit04de6d02584aa431cbd99e057407ffeb3bdc413d (patch)
tree84bae7aa912ded66f2037813cbe7808bebd46e0f
parentb4d1e192cdcd42de504f5a6ef27f61f6c0e350f0 (diff)
downloadsamba-04de6d02584aa431cbd99e057407ffeb3bdc413d.tar.gz
samba-04de6d02584aa431cbd99e057407ffeb3bdc413d.tar.bz2
samba-04de6d02584aa431cbd99e057407ffeb3bdc413d.zip
Found the sec_ctx_stack overflow - a become_root() should have been an
unbecome_root() - typo. Jeremy. (This used to be commit ebb160663ed55e44e44f1c3d17eb077a32c2ffb9)
-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;
}