[BLUG] Samba Fun!
Marco Bartholomew
blug_at_mailman.cs.indiana.edu
Sun, 14 Jan 2007 15:36:49 -0500
Simon Ruiz wrote:
> I'd been wondering why a couple of things on our new Linux image weren't working quite right.
>
>
>
> These are the three errors I get running "testparm" on the new image:
>
> ERROR: lock directory /var/run/samba does not exist
> ERROR: pid directory /var/run/samba does not exist
> WARNING: passdb expand explicit = yes is deprecated
>
> The strange thing is that these errors pop up AFTER it already says that it "Loaded services file OK.", so where the hell is it getting "passdb expand explicit = yes" from?!
>
> Still not quite convinced that I didn't break something somehow, I booted to the Ubuntu Live CD, absolutely fresh image, ran testparm and BANG! Same three error messages!
>
>
I don't know if this will help, but I've had the same error regarding
passdb expand explicit, and I ended up just putting in the line
passdb expand explicit = no
in my smb.conf, and the error goes away. I don't know why Samba thinks
this should be set to yes by default, especially since it's being
deprecated.