summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-09-27 20:12:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:01 -0500
commitd7a4d51eadaa9c01fb91375e855db0bffe7dd2bd (patch)
tree49a404ae2b2957086bd3bbc03ca36f6083ac098f
parenta4137c3555562b7a2ad558ed3849b1dfa10cb845 (diff)
downloadsamba-d7a4d51eadaa9c01fb91375e855db0bffe7dd2bd.tar.gz
samba-d7a4d51eadaa9c01fb91375e855db0bffe7dd2bd.tar.bz2
samba-d7a4d51eadaa9c01fb91375e855db0bffe7dd2bd.zip
r25380: Remove the groupdb:mapping parameter as discussed in the following thread:
http://lists.samba.org/archive/samba-technical/2007-June/053747.html (This used to be commit c5adb92c020e38644baf1afc8fc570a518cd6307)
-rw-r--r--source3/groupdb/mapping.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 0a733dded9..2e9658fec9 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -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;
}