Author: jerry
Date: 2007-04-22 10:10:29 +0000 (Sun, 22 Apr 2007)
New Revision: 22448

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22448

Log:
grab idmap compat patch from 3.0.25 (will recur 3.0.25rc2 for this)
Modified:
   branches/SAMBA_3_0_RELEASE/WHATSNEW.txt
   branches/SAMBA_3_0_RELEASE/source/nsswitch/idmap.c


Changeset:
Modified: branches/SAMBA_3_0_RELEASE/WHATSNEW.txt
===================================================================
--- branches/SAMBA_3_0_RELEASE/WHATSNEW.txt     2007-04-22 10:09:41 UTC (rev 
22447)
+++ branches/SAMBA_3_0_RELEASE/WHATSNEW.txt     2007-04-22 10:10:29 UTC (rev 
22448)
@@ -163,6 +163,11 @@
     * Allow profiling level to be set on startup.
 
 
+o   Ying Li <[EMAIL PROTECTED]>
+    * Use the default tdb idmap plugin when neither idmap domains
+      nor idmap backend have been defined.
+
+
 o   Jason Mader <[EMAIL PROTECTED]>
     * Various compile warning fixes. 
     * Initial patch set for strptime() in libreplace.

Modified: branches/SAMBA_3_0_RELEASE/source/nsswitch/idmap.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/nsswitch/idmap.c  2007-04-22 10:09:41 UTC 
(rev 22447)
+++ branches/SAMBA_3_0_RELEASE/source/nsswitch/idmap.c  2007-04-22 10:10:29 UTC 
(rev 22448)
@@ -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;
        }

Reply via email to