testparm (and swat I suppose) sometimes display the synonyms (aliases) for
certain options than the canonical name, at least based on smb.conf(5).
Reordering the items in loadparm.c fixes the output of testparm to display the
canonical name. The reordered options are:
min passwd length -> min password length
timestamp logs -> debug timestamp
exec -> preexec
Patch to follow...
Created attachment 663 [details]
An updated patch follows; "protocol" is a synonym for "max protocol" and is
Created attachment 664 [details]
(fixes up "protocol" as synonym for "max protocol")
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.