SMB2 not used with \\server\share but with \\server.domain\share

Gerhard Wiesinger lists at wiesinger.com
Tue Jun 14 14:17:13 MDT 2011


On Tue, 14 Jun 2011, Christian PERRIER wrote:

> Quoting Gerhard Wiesinger (lists at wiesinger.com):
>> Ok, I solved the issue. :-)
>>
>> Today the server \\server\share didn't work any more but
>> \\server.domain\share worked. Also server wasn't listed in net view
>> any more.
>>
>> After some look I found that nmbd wasn't started because directory
>> /var/locks didn't exist:
>>   error creating socket directory /var/locks/.nmbd: No such file or directory
>>
>> mkdir /var/locks
>> service nmb restart
>>
>> Then the server was listed in net view again and also worked with
>> \\server\share with an WINS server configured on remote network.
>
> Side comment:
>
> You didn't mention if you were using self-compiled samba or distro
> packages. We indeed had this problem reported in debian:
> http::/bugs.debian.org/628121.
>
> The solution is of course either to create the lock directory or (much
> better) to use the newly introduced in 3.6.0 "--with-nmbdsocketdir"
> option in order to use a directory that's suitable for such files
> (/var/run as of now in Debian/Ubuntu and most distros, and /run in the
> future).

Yes, self compiled and modified distro package, see my first mail:
http://lists.samba.org/archive/samba-technical/2011-June/078034.html

Ciao,
Gerhard

--
http://www.wiesinger.com/


More information about the samba-technical mailing list