LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-31-2005, 06:16 AM   #1
grooverider
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
windows linux problem with 3 pcs


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

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

Workgroup Master
--------- -------

smbclient -L machine#1 -U user gives this:

added interface ip=10.0.0.3 bcast=10.0.0.255
nmask=255.255.255.0
Password:
Domain=[WEBCHILLA] OS=[Windows 5.0] Server=[Windows
2000 LAN Manager]

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

[printers]
comment = All Printers
path = /var/tmp
invalid users = geexbox
create mask = 0600
printable = Yes
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 :*)
 
Old 01-31-2005, 06:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you said that the share name was "SGC/" which is not a valid name, hence the error message to that end. it should be "//machinename/SGC"
 
Old 01-31-2005, 07:06 AM   #3
grooverider
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 01-31-2005, 10:35 AM   #4
cowanrl
Member
 
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on very old PCs Misel Linux - General 34 02-12-2006 05:42 PM
Samba won't display printers for Windows PCs engtech MEPIS 2 07-16-2005 10:41 AM
Does Linux require WINS in order to access Windows PCs? ExCIA Linux - Networking 7 05-28-2005 06:02 PM
Problem with a linux PC, It restart my other Windows Pcs in my network internetale General 1 08-09-2004 01:01 PM
Linux PCs Rodcl General 7 09-28-2002 07:26 AM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration