PDA

View Full Version : Problem with Samba


staggs
7th October 2004, 08:40 PM
Hello all,

I recently install Fedora as my primary workstation at work. I have installed Samba, but I'm having a couple problems getting it to work correctly.

When I try to mount someone elses comp (that is shared etc. etc.) I get this error:

[root@staggs staggs]# mount /mnt/Shelby
5343: Connection to Workgroup failed
SMB connection failed
[root@staggs staggs]#

Here is the results from testparm:

[root@staggs staggs]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[test]"
Processing section "[staggsshare]"
Global parameter guest account found in service section!
Processing section "[shelby]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
server string = smb
interfaces = 10.100.100.0/24
null passwords = Yes
log file = /shared/samba/%m.log
dns proxy = No
path = /shared
valid users = root

[test]
comment = For testing only, please
path = /usr/local/samba/tmp
read only = No
guest ok = Yes

[staggsshare]
comment = Any Docs I have, that you may want will be in here
valid users = staggs
read only = No
guest ok = Yes

[shelby]
printable = Yes
[root@staggs staggs]#


-----------------

The weird thing is....in my smb.conf I have workgroup = Workgroup But I can't get it to connect.

Any help would be greatly appreciated!

fte107
7th October 2004, 09:09 PM
Hi

You want mount /mnt/Shelby ?
This share is unknow in your /etc/fstab, use mount -t smb
Do you have defined a path for this share in your smb.conf ??

staggs
7th October 2004, 09:53 PM

In fstab i have:

/Workgroup/Shelby /mnt/Shelby smbfs username=******,password=****,noauto,user,ro,gid=u sers,umask=0002 0 0

I also added the share in the smb.conf

As far as use "mount -t smb" I'm not sure what you mean.

Here is the error now i get when i try to mount it:

[root@staggs etc]# mount /mnt/Shelby
6051: Connection to Workgroup failed
SMB connection failed
[root@staggs etc]#

jayemef
7th October 2004, 10:26 PM
This might not be your only problem, but generally you want 2 forward slashes before the computer name. It looks like you only have 1, although that might have been a copy and paste mistake.

Also, is workgroup the name of the computer you are trying to connect to, or is it the name of the workgroup? You probably want to add "workgroup=your_workgroup" after your password in the fstab.

staggs
8th October 2004, 03:08 PM
yeh, that single slash was a typo, and I did try the adding the workgroup bit to fstab

workgroup does = Workgroup (thats the name of the workgroup here) I do see my box show up in the workgroup, but it prompts for a username/password...which I don't know what it is.

Here is the error I get now:

[root@staggs etc]# mount /mnt/Shelby
12882: Connection to Workgroup failed
SMB connection failed