From 67c358095f8df6413d6a0c3bf98d5b0633dfb1c2 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 11 Mar 2000 00:58:12 +0000 Subject: removed check_vuser_ok() as it restricts things too much, unexpectedly. "invalid users = root" will stop any msrpc daemons working, including being able to add users to the sam database (!!!! not good!) --- source/lib/set_vuid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lib/set_vuid.c b/source/lib/set_vuid.c index 9d4aa5de431..35c7c95c135 100644 --- a/source/lib/set_vuid.c +++ b/source/lib/set_vuid.c @@ -47,12 +47,14 @@ BOOL become_vuser(const vuser_key *k) return False; } +#if 0 if (!check_vuser_ok(&vcache, vuser, -1)) { DEBUG(2,("become_vuser: check_vuser rejected access\n")); vuid_free_user_struct(vuser); return False; } +#endif ret = become_unix_sec_ctx(k, NULL, vuser->uid, vuser->gid, vuser->n_groups, vuser->groups); -- cgit v1.2.1