[PATCH] Check if the idmap_hash range is big enough

Andreas Schneider asn at samba.org
Wed Feb 15 09:25:42 UTC 2017


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.

Review and push much appreciated!



Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idmap_hash.patch
Type: text/x-patch
Size: 2506 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170215/361b80e6/idmap_hash.bin>

More information about the samba-technical mailing list