I make all steps in the guide:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2546028
but command (exetuded in the same computer where is samba):
smbclient //fc9/tester -Utester%test
gives error:
Domain=[DZTI] OS=[Unix] Server=[Samba 3.2.0-17.fc9]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
The user tester have been created by commands:
useradd tester
smbpasswd -a tester
I've followes some steps from the guide:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html
1 ---------------------------
[root@fc9 ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[share1]"
Processing section "[share2]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = WKG
netbios name = DZTI
hosts allow = ALL
[share1]
path = /tmp
[share2]
comment = Some random files
path = /my_shared_folder
2 ---------------------------
[root@fc9 ~]# ping fc9 -c 1
PING fc9 (127.0.0.1) 56(84) bytes of data.
64 bytes from fc9 (127.0.0.1): icmp_seq=1 ttl=64 time=0.024 ms
3 ---------------------------
[root@fc9 ~]# smbclient -L fc9
Enter root's password:
Anonymous login successful
Domain=[WKG] OS=[Unix] Server=[Samba 3.2.0-17.fc9]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.2.0-17.fc9)
share2 Disk Some random files
share1 Disk
Anonymous login successful
Domain=[WKG] OS=[Unix] Server=[Samba 3.2.0-17.fc9]
Server Comment
--------- -------
DZTI Samba 3.2.0-17.fc9
Workgroup Master
--------- -------
T A308
WKG DZTI
4 ---------------------------
[root@fc9 ~]# nmblookup -B fc9 __SAMBA__
querying __SAMBA__ on 127.0.0.1
10.10.10.99 __SAMBA__<00>
5 ---------------------------
[root@fc9 ~]# nmblookup -B ACLIENT '*'
querying * on 10.10.10.255
10.10.10.99 *<00>
6 ---------------------------
[root@fc9 ~]# nmblookup -d 2 '*'
added interface eth0 ip=fe80::216:e6ff:fe31:e989%eth0
bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0:1 ip=10.10.10.99 bcast=10.10.10.255
netmask=255.255.255.0
added interface eth0 ip=85.254.228.99 bcast=85.254.228.255
netmask=255.255.255.0
querying * on 10.10.10.255
Got a positive name query response from 10.10.10.99 ( 10.10.10.99 )
10.10.10.99 *<00>
7 ---------------------------
[root@fc9 ~]# smbclient //fc9/TMP.
Enter root's password:
Anonymous login successful
Domain=[WKG] OS=[Unix] Server=[Samba 3.2.0-17.fc9]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
André Welter
2008-Aug-07 08:52 UTC
[Samba] smbclient failed --> NT_STATUS_BAD_NETWORK_NAME
Hi Andy, Andy Smb schrieb:> I make all steps in the guide: > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2546028 > > but command (exetuded in the same computer where is samba): > smbclient //fc9/tester -Utester%test >Seems like you are trying to access the home share of the user tester.> gives error: > Domain=[DZTI] OS=[Unix] Server=[Samba 3.2.0-17.fc9] > tree connect failed: NT_STATUS_BAD_NETWORK_NAME >This indicates that the share you are trying to access does not exist.> The user tester have been created by commands: > useradd tester > smbpasswd -a tester > > I've followes some steps from the guide: > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html > > 1 --------------------------- > [root@fc9 ~]# testparm > Load smb config files from /etc/samba/smb.conf > Processing section "[share1]" > Processing section "[share2]" > Loaded services file OK. > Server role: ROLE_STANDALONE > Press enter to see a dump of your service definitions > > [global] > workgroup = WKG > netbios name = DZTI > hosts allow = ALL > > [share1] > path = /tmp > > [share2] > comment = Some random files > path = /my_shared_folder >Your smb.conf is missing a [homes] section for this to work. See http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#simple-example Regards, Andr?
Possibly Parallel Threads
- Samba fails with no apparent message
- ADS Authentication - CLDAP request failed
- Samba 3.0.24 + Winbind + Active Directory 2003 on RedHat AS 4.0
- Samba4 - Shared folder not showing security tab in windows explorer
- run winamax with wine on Fedora 9, very slow display.