svn commit: samba r22447 - in branches: SAMBA_3_0/source/nsswitch
SAMBA_3_0_25/source/nsswitch
jerry at samba.org
jerry at samba.org
Sun Apr 22 10:09:42 GMT 2007
Author: jerry
Date: 2007-04-22 10:09:41 +0000 (Sun, 22 Apr 2007)
New Revision: 22447
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22447
Log:
Patch from Ying Li <ying.li2 at hp.com> to default tdb idmap
plugin when neither idmap domains nor idmap backend have
been defined.
Modified:
branches/SAMBA_3_0/source/nsswitch/idmap.c
branches/SAMBA_3_0_25/source/nsswitch/idmap.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/idmap.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/idmap.c 2007-04-22 09:42:43 UTC (rev 22446)
+++ branches/SAMBA_3_0/source/nsswitch/idmap.c 2007-04-22 10:09:41 UTC (rev 22447)
@@ -322,8 +322,16 @@
*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;
}
Modified: branches/SAMBA_3_0_25/source/nsswitch/idmap.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/idmap.c 2007-04-22 09:42:43 UTC (rev 22446)
+++ branches/SAMBA_3_0_25/source/nsswitch/idmap.c 2007-04-22 10:09:41 UTC (rev 22447)
@@ -322,8 +322,16 @@
*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;
}
More information about the samba-cvs
mailing list