diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-03-02 14:19:44 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-03-02 14:19:44 +0000 |
commit | 4faa480a4a5662b73012680d3f3f2284fdc7af60 (patch) | |
tree | 4a8c333772ef619f65c2293c0e1ed39968498780 /source3 | |
parent | 41951ea78bb24a8aa9e24f36ccb27b639ec37dd5 (diff) | |
download | samba-4faa480a4a5662b73012680d3f3f2284fdc7af60.tar.gz samba-4faa480a4a5662b73012680d3f3f2284fdc7af60.tar.bz2 samba-4faa480a4a5662b73012680d3f3f2284fdc7af60.zip |
Idra, your privileges patch allowed login only with tdbsam. The problem is
that pdb_default_get_privilege_set returns NOT_IMPLEMENTED and not a privilege
set that does not grant anything. I don't really understand privileges yet, so
work around that by not failing if pdb_get_privilege_set fails.
Volker
(This used to be commit b790753f443092a65eeef7b146a18d4c5ffcb323)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 018d3b1851..871b399b86 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -836,7 +836,7 @@ static NTSTATUS add_privileges(auth_serversupplied_info **server_info) init_privilege(&privs); if (!pdb_get_privilege_set((*server_info)->ptok, privs)) - return NT_STATUS_UNSUCCESSFUL; + DEBUG(1, ("Could not add privileges\n")); (*server_info)->privs = privs; |