I'm running samba on 4.1-release but every time I try to connect
(smbclient -U chris \\\\192.168.25.18\\tmp), I get this error -

Domain=[BLUE] OS=[Unix] Server=[Samba 3.0.24]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Here's my /etc/samba/smb.conf file

[global]

       bind interfaces only = yes
       interfaces = 192.168.25.18
      encrypt passwords = yes

[/tmp]
       comment = All groups
       path = /tmp
       read only = No
       browsable = yes
       valid users = chris

I added user password with "smbpasswd -a chris"

netstat shows samba started and bind to 192.168.25.18. ps show smbd
and nmbd running.

smbclient -L 192.168.25.18 -U chris shows -

Domain=[BLUE] OS=[Unix] Server=[Samba 3.0.24]

       Sharename       Type      Comment
       ---------       ----      -------
       /tmp            Disk      All groups
       IPC$            IPC       IPC Service (Samba 3.0.24)
Domain=[BLUE] OS=[Unix] Server=[Samba 3.0.24]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------
       WORKGROUP            BLUE

smbstatus shows -

Samba version 3.0.24
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------

No locked files

/var/log/log.smbd file shows -

[2007/07/26 20:21:37, 0]
/usr/obj/i386/samba-3.0.24/samba-3.0.24/source/smbd/service.c:make_connection(1111)
 blue (192.168.25.18) couldn't find service tmp

/var/log/log.nmbd shows -

[2007/07/26 20:26:41, 0]
/usr/obj/i386/samba-3.0.24/samba-3.0.24/source/nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
 *****

 Samba name server BLUE is now a local master browser for workgroup
WORKGROUP on subnet 192.168.25.18

 *****

Any help would be much appreciated.

Thanks.

Reply via email to