[PATCH] Check if the idmap_hash range is big enough

Marc Muehlfeld mmuehlfeld at samba.org
Sat Feb 18 11:15:50 UTC 2017

Hi Andreas,

Am 15.02.2017 um 10:25 schrieb Andreas Schneider:
> the attached patch improves the idmap_hash manpage and adds a testparm check
> that the configured range is big enough.
> 	$ bin/testparm smb.conf.ads
> 	Load smb config files from smb.conf.ads
> 	Loaded services file OK.
> 	ERROR: The idmap range for 'hash' configrued for the the domain '*' is too
> 	small! For a single domain the range needs to span at least 500000 IDs.
> 	For each other domain you need to add 500000 more IDs.

Does this only concern "testparm" or does Samba fail to start if the 
range is < 500000? In this case, we should mention this in the release 


More information about the samba-technical mailing list