summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 180db58c2d..8307919d10 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1299,7 +1299,9 @@ static NTSTATUS pdb_default_remove_sid_from_privilege(struct pdb_methods *method
static NTSTATUS pdb_default_get_privilege_set(struct pdb_methods *methods, NT_USER_TOKEN *token, PRIVILEGE_SET *privset)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ /* by default return the empty privilege set as otherwise login will
+ * be denied if a backend does not support privilege sets */
+ return NT_STATUS_OK;
}
static NTSTATUS pdb_default_get_privilege_entry(struct pdb_methods *methods, const char *privname, char **sid_list)