Reply to comment

Samba - tree connect failed: NT_STATUS_BAD_NETWORK_NAME

At home our Samba broke recently..
So after some googling found this from 2004..

http://www.justlinux.com/forum/archive/index.php/t-125414.html

=============
dboyer
04-06-2004, 05:16 PM
...
the fix ended up being the version of samba they distribute has been misconfigured, and tries to make the IPC$ share in /root/tmp for some screwball reason, so none of the list-like commands cooperate...

the answer? start samba up with: "TEMPDIR=/tmp smbd -D -s /etc/samba/smb.conf"

grr...

I'm so mad right now...
=============

.. nice - its working.. Tested from localhost - its a recent Fedora 11 build - still tweaking Shorewall, etc..

[root@gregg-desktop samba]# service smb stop
Shutting down SMB services:                                [  OK  ]
[root@gregg-desktop samba]# TEMPDIR=/tmp smbd -D -s /etc/samba/smb.conf

[root@gregg-desktop samba]# smbclient //localhost/media -d=3 -W=WORKGROUP --user=gregg
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
WARNING: Ignoring invalid value 'user username map = /etc/samba/smbusers' for parameter 'security'
interpret_interface: using netmask value 8 from config file on interface lo
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
added interface eth0 ip=fe80::21a:92ff:feea:9e46%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=172.16.234.20 bcast=172.16.234.255 netmask=255.255.255.0
interpret_interface: can't determine interface for eth1
Client started (version 3.4.7-0.50.fc11).
Enter gregg's password: 
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
Connecting to 127.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1.3.6.1.4.1.311.2.2.10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a8215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.7-0.50.fc11]
smb: \>

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.