git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026852b
)
r22447: Patch from Ying Li <ying.li2@hp.com> to default tdb idmap
author
Gerald Carter
<jerry@samba.org>
Sun, 22 Apr 2007 10:09:41 +0000
(10:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:34 +0000
(12:19 -0500)
plugin when neither idmap domains nor idmap backend have
been defined.
(This used to be commit
2fa12753da22551c9d5e6ca1bea95884e02ef7b2
)
source3/nsswitch/idmap.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/idmap.c
b/source3/nsswitch/idmap.c
index 530e03089d0d364b43066ebe6047dfc576dd4da2..7a74f744b46fccd21d05c377c3d552addcf0d3c1 100644
(file)
--- 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;
}