summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-06 22:08:19 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-06 22:08:19 +0000
commit9a9ac2739bbdc993ecdfa78298bdd9c059328378 (patch)
treefb5d245f31a6bea0d31c124d4dec78ae8847ae3b /source3/rpc_server
parenta92f02a0a05b5309644befe57119e799be08177f (diff)
downloadsamba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.gz
samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.tar.bz2
samba-9a9ac2739bbdc993ecdfa78298bdd9c059328378.zip
got rid of USE_TDB_MMAP_FLAG as its not needed any more
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 455f8d8be5..fd137e6038 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -84,7 +84,7 @@ static void send_sync_message(void)
TDB_CONTEXT *tdb;
tdb = tdb_open_log(lock_path("connections.tdb"), 0,
- USE_TDB_MMAP_FLAG, O_RDONLY, 0);
+ TDB_DEFAULT, O_RDONLY, 0);
if (!tdb) {
DEBUG(3, ("send_sync_message(): failed to open connections "
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 5ba460b607..a0ae9050e2 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -125,7 +125,7 @@ BOOL share_info_db_init(void)
char *vstring = "INFO/version";
if (share_tdb && local_pid == sys_getpid()) return True;
- share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, USE_TDB_MMAP_FLAG, O_RDWR|O_CREAT, 0600);
+ share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (!share_tdb) {
DEBUG(0,("Failed to open share info database %s (%s)\n",
lock_path("share_info.tdb"), strerror(errno) ));