summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-24 21:42:46 +0100
committerVolker Lendecke <vl@samba.org>2007-12-10 16:06:32 +0100
commite81629339589e2e7f464b3dca55730ff2d0877e4 (patch)
treeae067bf0bd85d1fadecd4037ad17230728eedf4f
parent66bd6837b593a7127bd5098afc990d3fb7a5a35a (diff)
downloadsamba-e81629339589e2e7f464b3dca55730ff2d0877e4.tar.gz
samba-e81629339589e2e7f464b3dca55730ff2d0877e4.tar.xz
samba-e81629339589e2e7f464b3dca55730ff2d0877e4.zip
use dbwrap_rbt in loadparm.c
-rw-r--r--source/param/loadparm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index cb19fda741a..608acb12e71 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -2641,10 +2641,8 @@ static bool hash_a_service(const char *name, int idx)
char *canon_name;
if ( !ServiceHash ) {
- DEBUG(10,("hash_a_service: creating tdb servicehash\n"));
- ServiceHash = db_open_tdb(NULL, "servicehash", 1031,
- TDB_INTERNAL, (O_RDWR|O_CREAT),
- 0600);
+ DEBUG(10,("hash_a_service: creating servicehash\n"));
+ ServiceHash = db_open_rbt(NULL);
if ( !ServiceHash ) {
DEBUG(0,("hash_a_service: open tdb servicehash failed!\n"));
return False;