summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
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
commit0c0054fe1615a504d103da94149d1c1729abb8e2 (patch)
treecae741961ca36461ceb9e27356908b437557b9cb /source3/param/loadparm.c
parent307396435b3159a268834b3c11c812b3213b74fd (diff)
downloadsamba-0c0054fe1615a504d103da94149d1c1729abb8e2.tar.gz
samba-0c0054fe1615a504d103da94149d1c1729abb8e2.tar.bz2
samba-0c0054fe1615a504d103da94149d1c1729abb8e2.zip
use dbwrap_rbt in loadparm.c
(This used to be commit e81629339589e2e7f464b3dca55730ff2d0877e4)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c6
1 files 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;