summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/idmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/nsswitch/idmap.c b/source3/nsswitch/idmap.c
index 530e03089d..7a74f744b4 100644
--- a/source3/nsswitch/idmap.c
+++ b/source3/nsswitch/idmap.c
@@ -322,8 +322,16 @@ NTSTATUS idmap_init(void)
*p = '\0';
compat_params = p + 1;
}
+ } else {
+ /* Back compatible: without idmap domains and explicit
+ idmap backend. Taking default idmap backend: tdb */
+
+ compat = 1;
+ compat_backend = talloc_strdup( idmap_ctx, "tdb");
+ compat_params = compat_backend;
}
+
if ( ! dom_list) {
dom_list = idmap_default_domain;
}