From b790753f443092a65eeef7b146a18d4c5ffcb323 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 2 Mar 2004 14:19:44 +0000 Subject: [PATCH] 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 --- source/auth/auth_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c index 018d3b18514..871b399b86d 100644 --- a/source/auth/auth_util.c +++ b/source/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; -- 2.11.4.GIT