sMoKeY jOe
2005-Jan-30 15:08 UTC
[Samba] problem to mount network shares from windows machine
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 :*) __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail