Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello there , i need sum serious help so... _/-\o_ i
have a problem which is driving me crazy with my
network, i have been trying to find help on the net
for weeks now, but couldn't find any helpful sites
relating to my problem so i thought i'd try posting it
on here. I tried to include all the information i have
but i'm a linux n00b sort of... anyways i have a
network with three computers
machine#1: 10.0.0.1 windows 2000 prof
machine#2: 10.0.0.3 linux suse 9.0 with samba Version 2.2.8a-SuSE
machine#3: 10.0.0.4 windows 2000 prof
all machines can ping each other and both windows
machines can read each others shares and the shares of
the linux machine, in linux i can also mount the
shares of machine #1 but not the ones of machine #3
althought when doing:
smbclient -L machinename -U user
i can see the shares of machine#3 but when i try to
mount them with e.g.
mount -t smbfs -o username=xxx,password=xxxx //machinename/SGC/ /test
it does not work, neither when i specify workgroup, ip
or more options i get the following error:
16025: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed
the number 16025 changes btw, and if u think i have a
typo in my mount command because it says invalid share
name, that is not the problem, i have checked that
many times, and mounting shares from machine#1 is no
problem, that works fine. Another strange thing is
when i use:
smbmount //machinename/ftp3 test -o username=xxxx,password=xxx
it seems like there is no problem because it does not
return an error but then when i change to the /test/
directory and want to c what is in it by using 'ls' i
get this:
/bin/ls: .: Stale NFS file handle
smbclient -L machine3 -U user gives this:
added interface ip=10.0.0.3 bcast=10.0.0.255
nmask=255.255.255.0
Got a positive name query response from 127.0.0.1 (
10.0.0.4 )
Password:
Domain=[WEBCHILLA] OS=[Windows 5.0] Server=[Windows
2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
E$ Disk Default share
ftp6 Disk
IPC$ IPC Remote IPC
G$ Disk Default share
F$ Disk Default share
SGC Disk
G Disk
ADMIN$ Disk Remote Admin
H$ Disk Default share
C$ Disk Default share
Grooverider Disk Education Corner
ftp3 Disk
Sharename Type Comment
--------- ---- -------
E$ Disk Default share
ftp1 Disk
IPC$ IPC Remote IPC
D$ Disk Default share
Funky Disk
G$ Disk Default share
F$ Disk Default share
ADMIN$ Disk Remote Admin
Series Disk
C$ Disk Default share
Software Disk
Server Comment
--------- -------
Workgroup Master
--------- -------
as you can see there is a difference in this line with
the problem machine:
Got a positive name query response from 127.0.0.1 (
10.0.0.4 )
both computers have the same username/password which
is also added in linux, rights and privelges are also
checked and ok, i set in both windows computer to
never be masterbrowser or domain controller and
testparm shows this:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[documents]"
Processing section "[chinaconnection desktop]"
Processing section "[htmlstuff]"
Processing section "[funkmaster home]"
Processing section "[glftpdtest]"
Processing section "[my azz]"
Processing section "[Deep Space Nine]"
Processing section "[geexbox]"
Loaded services file OK.
WARNING: You have some share names that are longer
than 8 chars
These may give errors while browsing or may not be
accessible
to some older clients
Press enter to see a dump of your service definitions
my log.nmbd has this error:
[2005/01/27 17:04:05, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fa
il(358)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name
WEBCHILLA<1b> for the workgroup WEBCHILLA.
Unable to sync browse lists in this workgroup.
my smb.conf looks like this:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2005/01/07 17:54:11
# Global parameters
[global]
workgroup = WEBCHILLA
server string = ChinaConnection
interfaces = eth1
encrypt passwords = Yes
map to guest = Bad User
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE TCP_NODELAY
IPTOS_LOWDELAY
printcap name = CUPS
os level = 128
preferred master = Yes
domain master = Yes
wins support = Yes
printing = cups
[homes]
comment = Home Directories
invalid users = geexbox
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
invalid users = geexbox
write list = @ntadmin,@root
force group = ntadmin
create mask = 0664
directory mask = 0775
[documents]
comment = documents
path = /home/funkmaster/Documents/
invalid users = geexbox
read only = No
[chinaconnection desktop]
comment = ChinaConnection Desktop
path = /home/funkmaster/Desktop/
invalid users = geexbox
read only = No
[htmlstuff]
comment = susi share
path = /home/funkmaster/public_html/
invalid users = geexbox
read only = No
[funkmaster home]
comment = funkmaster home
path = /home/funkmaster/
invalid users = geexbox
read only = No
[glftpdtest]
path = /prison/glftpd/site
guest account =
invalid users = geexbox
valid users = funkmaster,funky1,@root,@users
read only = No
[my azz]
comment = argh
path = /home/funkmaster/ftp
invalid users = geexbox
read only = No
and so on...
i have no idea what the problem is, I would appreciate
some tips on what could be wrong very very much thx in
advance :*)
hm i think u misread sumthin cuz the mount command used is (quote from above):
mount -t smbfs -o username=xxx,password=xxxx //machinename/SGC/ /test
any other ideas?
I think what acid_kewpie meant was to remove the trailing / after SGC in your mount command. It should look like this:
mount -t smbfs -o username=xxx,password=xxxx //machinename/SGC /test
not this:
mount -t smbfs -o username=xxx,password=xxxx //machinename/SGC/ /test
When you execute this:
smbmount //machinename/ftp3 test -o username=xxxx,password=xxx
is your current directory the root directory (/ not /root)? If not, then //machinename/ftp3 would not be mounted at /test but at a directory named test under your current directory.
You have your Samba server set up to be a WINS server. Are your Win2k machines pointing to it as their primary WINS server?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.