summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-03-02 15:34:46 +0000
committerSimo Sorce <idra@samba.org>2004-03-02 15:34:46 +0000
commit6159be06a3b7af3d3a2502aca17c94ebebddac93 (patch)
treeafeb638807af5c67dae7e62e375f6d504043bc85
parentb5c98c295c1131e805cccbbfbf061cf723b221c3 (diff)
downloadsamba-6159be06a3b7af3d3a2502aca17c94ebebddac93.tar.gz
samba-6159be06a3b7af3d3a2502aca17c94ebebddac93.tar.bz2
samba-6159be06a3b7af3d3a2502aca17c94ebebddac93.zip
Let's be polite with poorer backends ;-)
(This used to be commit 90640a523e9898157a361f3fbf5923b1ef2a6651)
-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)