pid_directory error in testparm?

Michael Tokarev mjt at
Tue Apr 26 09:42:48 UTC 2022


I noticed testparm is failing when samba pid directory does not exist.
However, some samba daemons do create this directory automatically, and
as far as I can see, samba can be started just fine without this directory
(maybe not all daemons do this, I'm not sure yet).

How about something like the attached change for testparam.c, to denote
this condition from being ERROR to a mere WARNING instead?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: testparm-do-not-fail-if-pid-dir-does-not-exists.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list