'use mmap = no' option doesn't work anymore

Jeremy Allison jra at samba.org
Mon Apr 9 20:41:14 UTC 2018

On Mon, Apr 09, 2018 at 04:57:22PM +1200, Garming Sam via samba-technical wrote:
> Hi,
> I've been unable to start samba (on a testing domain I had) for some
> time on my workstation, and now I've finally discovered that it's
> because I had been setting 'use mmap = no' for some testing I did a
> while ago. Both smbXsrv_version_global.tdb and netlogon_creds_cli.tdb
> fail to open in these cases, and both smbd and winbindd exit
> prematurely. Given that it doesn't work, is there still meaning to this
> option, or should the behaviour be changed so that it only covers some
> scenarios (or we just make the option work again)?

tdb is tested with TDB_NOMMAP as far as I can see (but only
inside the lib/tdb test code). How much effort would be needed
to get smbXsrv_version_global.tdb and netlogon_creds_cli.tdb
opening again ?

More information about the samba-technical mailing list