Remove the groupdb:mapping parameter as discussed in the following thread:
authorjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 27 Sep 2007 20:12:40 +0000 (20:12 +0000)
committerjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 27 Sep 2007 20:12:40 +0000 (20:12 +0000)
http://lists.samba.org/archive/samba-technical/2007-June/053747.html

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25380 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/groupdb/mapping.c

index 0a733dd..2e9658f 100644 (file)
@@ -37,20 +37,8 @@ static BOOL init_group_mapping(void)
                return True;
        }
        
-       /* default to using the ldb backend. This parameter should
-          disappear in future versions of Samba3, but for now it
-          provides a safety net in case any major problems are
-          discovered with ldb after the release */        
-       backend_string = lp_parm_const_string(-1, "groupdb", "backend", "ldb");
-
-       if (strcmp(backend_string, "ldb") == 0) {
-               backend = groupdb_ldb_init();
-       } else if (strcmp(backend_string, "tdb") == 0) {
-               backend = groupdb_tdb_init();
-       } else {
-               DEBUG(0,("Unknown groupdb backend '%s'\n", backend_string));
-               smb_panic("Unknown groupdb backend");
-       }
+               backend = groupdb_ldb_init();
+
        return backend != NULL;
 }