I have found errors (typos) in the man-page smb.conf.5 in the description of the option check password script.
1. typo: standrad
2. in example: double option-name in assignment
My attached patch fixes both errors.
The error (2) exists also in samba.git.
Created attachment 4210 [details]
fixes typo+error in smb.conf.5 for check password-script option
Fixed in master and all current release branches.
Closing out bug report.
Thanks for reporting!