diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-06 22:08:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-06 22:08:19 +0000 |
commit | 9a9ac2739bbdc993ecdfa78298bdd9c059328378 (patch) | |
tree | fb5d245f31a6bea0d31c124d4dec78ae8847ae3b /source3/smbd | |
parent | a92f02a0a05b5309644befe57119e799be08177f (diff) | |
download | samba-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/smbd')
-rw-r--r-- | source3/smbd/connection.c | 2 | ||||
-rw-r--r-- | source3/smbd/session.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index df58697917..399851302c 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -119,7 +119,7 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO BOOL ret = True; if (!tdb) { - tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|USE_TDB_MMAP_FLAG, + tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, O_RDWR | O_CREAT, 0644); } if (!tdb) diff --git a/source3/smbd/session.c b/source3/smbd/session.c index eaff78c685..6a27cd7326 100644 --- a/source3/smbd/session.c +++ b/source3/smbd/session.c @@ -52,7 +52,7 @@ BOOL session_claim(uint16 vuid) } if (!tdb) { - tdb = tdb_open_log(lock_path("sessionid.tdb"), 0, TDB_CLEAR_IF_FIRST|USE_TDB_MMAP_FLAG, + tdb = tdb_open_log(lock_path("sessionid.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, O_RDWR | O_CREAT, 0644); if (!tdb) { DEBUG(1,("session_claim: failed to open sessionid tdb\n")); |