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 | 840802f10677cb0009cb4df4c37c7d01aa5edacd (patch) | |
tree | 76dc98e5bff5af6130ebfeee95b4a3dc6255fee5 /source/groupdb/mapping.c | |
parent | e3580b4033c551e215cb246d4e36c4870cb4a582 (diff) | |
download | samba-840802f10677cb0009cb4df4c37c7d01aa5edacd.tar.gz samba-840802f10677cb0009cb4df4c37c7d01aa5edacd.tar.xz samba-840802f10677cb0009cb4df4c37c7d01aa5edacd.zip |
Added "use mmap" for HPUX.
Jeremy.
Diffstat (limited to 'source/groupdb/mapping.c')
-rw-r--r-- | source/groupdb/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c index a86283b5567..97e75515866 100644 --- a/source/groupdb/mapping.c +++ b/source/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; |