The Samba-Bugzilla – Bug 8735
Cause for NT_STATUS_NO_SUCH_USER should be reported more prominently
Last modified: 2012-02-03 18:03:54 UTC
I made a mistake: on a share I configured "force user = xyz" but xyz wasn't in /etc/passwd (misspelling). The result is NT_STATUS_NO_SUCH_USER, which left me clueless in the first place.
I needed to up the log level to 5 to see
"Get_Pwnam_internals didn't find user [xyz]!"
I propose to report this more prominently (on a lower debug level) to make this kind of misconfiguration easier to solve.
Maybe this could be detected by testparm too.
Created attachment 7288 [details]
Raw patch for 3.6.x and master
Would the attached fit the bill ?
(In reply to comment #1)
Crashes for missing groups.
I changed "*lp_force_group" to "lp_force_group", then it worked.
Thanks - compiled, but not tested :-).