From 4faa480a4a5662b73012680d3f3f2284fdc7af60 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 2 Mar 2004 14:19:44 +0000 Subject: 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) --- source3/auth/auth_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit