diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-11 00:58:12 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-11 00:58:12 +0000 |
commit | 67c358095f8df6413d6a0c3bf98d5b0633dfb1c2 (patch) | |
tree | df4fb1c0b84a2cb734a7970ad017924b15e2c933 | |
parent | 596f4373ddc40ab041b6e6c39d78bbe5059be4f6 (diff) | |
download | samba-67c358095f8df6413d6a0c3bf98d5b0633dfb1c2.tar.gz samba-67c358095f8df6413d6a0c3bf98d5b0633dfb1c2.tar.xz samba-67c358095f8df6413d6a0c3bf98d5b0633dfb1c2.zip |
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!)
-rw-r--r-- | source/lib/set_vuid.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |