From 0c0054fe1615a504d103da94149d1c1729abb8e2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 24 Nov 2007 21:42:46 +0100 Subject: use dbwrap_rbt in loadparm.c (This used to be commit e81629339589e2e7f464b3dca55730ff2d0877e4) --- source3/param/loadparm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index cb19fda741..608acb12e7 100644 --- a/source3/param/loadparm.c +++ b/source3/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; -- cgit