diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-30 22:21:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-30 22:21:31 +0000 |
commit | 996719cce26700c68ff0e456e6a25d20085d091f (patch) | |
tree | 38e4e80d4fb2cd14d7d311b7ba1bc69be643b2c5 /source3/groupdb | |
parent | d17d9bee6f3d23f31f6b408e7b80630d4602c9c2 (diff) | |
download | samba-996719cce26700c68ff0e456e6a25d20085d091f.tar.gz samba-996719cce26700c68ff0e456e6a25d20085d091f.tar.bz2 samba-996719cce26700c68ff0e456e6a25d20085d091f.zip |
Added "use mmap" for HPUX.
Jeremy.
(This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index a86283b556..97e7551586 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -130,7 +130,7 @@ BOOL init_group_mapping(void) char *vstring = "INFO/version"; if (tdb && local_pid == sys_getpid()) return True; - tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, 0, O_RDWR|O_CREAT, 0600); + tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, USE_TDB_MMAP_FLAG, O_RDWR|O_CREAT, 0600); if (!tdb) { DEBUG(0,("Failed to open group mapping database\n")); return False; |