Problems with Samba in Fedore Core 4

Skaven

Senior member
Oct 18, 1999
835
0
0
I just did an installation of Fedora Core 4 on my home computer. I figured out how to mount my NTFS partitions from another drive and get my MP3 collection moved over to my linux drive. I have since been battling with Samba in an attempt to get the files shared on my home network. Both of them reside behind the router/firewall and have static IP addresses. I have the firewall disabled on the Linux box, so I don't think that could be the problem. I have read a bunch of howto and I have tried many samba config files. I can't figure out where I'm going wrong. Below is my current smb.conf file (parsed by testparm):


[global]
workgroup = HOOD
server string = Dionysus
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[data]
comment = Media Files
path = /data
read only = No
guest ok = Yes

I can see the samba server from my XP box. I have duplicated the main username on the linux box that I use in XP - same password and everything. I have made sure to add the linux users to the samba config and set the samba password. First I did this all through the command prompt, then I tried using the GUI. Both with the same result. When I double click on the samba server in the Network browser in XP I get the following error:

\\Dionysus is not accessible. You may not have permission to use this network resource. Contact the administrator....

The network path was not found.

I made sure that the data folder is universally writeable and readable in Linux. I'm stumped! Can anybody give me some advice?!
 

GeekDrew

Diamond Member
Jun 7, 2000
9,100
13
81
Have you tried accessing it via its IP address, rather than its DNS name?
 

timswim78

Diamond Member
Jan 1, 2003
4,330
1
81
Hmm. Have your tried adding your Windows username as a samba user name? If not, do that, and then give that user permission to view certain shares in samba.
 

Skaven

Senior member
Oct 18, 1999
835
0
0
I set the samba passwords using smbpasswd. I have tried creating a windows username to match the linux/samba username and password, didn't work. I have tried using the IP address of the server within the XP network browser, and it didn't work. I tried the IP address of the server in the smb.conf file and that didn't work either. I used the GUI to create the smb.conf file with the same results. Where am I going wrong?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
I would start over, delete the smbpasswd file and get a copy of the orginal smb.conf file.
1. Use EITHER GUI or Commandline, not both
2. Start with the user, smbpasswd -a username
3. Setup samba shares, for JUST that user
4. Set permissions on the local .filesystem to 777 for testing
 

M00T

Golden Member
Mar 12, 2000
1,214
1
0
Originally posted by: nweaver
I would start over, delete the smbpasswd file and get a copy of the orginal smb.conf file.
1. Use EITHER GUI or Commandline, not both
2. Start with the user, smbpasswd -a username
3. Setup samba shares, for JUST that user
4. Set permissions on the local .filesystem to 777 for testing


My guess is that he forgot the -a switch when adding passwords.
 

Skaven

Senior member
Oct 18, 1999
835
0
0
I used the -a switch from the beginning while setting the conifg from the command prompt. I also checked the logs, and they don't really give any useful information. There are no additional log entries when I try to log onto the Samba share from XP.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Try turning the log level up to 2 or 3 and see if the logs say anything relevant then.
 

wetcat007

Diamond Member
Nov 5, 2002
3,502
0
0
For some reason setting up samba in Fedora 4 seems to have problems I had a painful time doing it, and didn't have half as much trouble oin Fedora 3.
 

skyking

Lifer
Nov 21, 2001
22,217
5,076
146
Is it starting? do you have smbd and nmbd entries when you do a ps ax?

 

Skaven

Senior member
Oct 18, 1999
835
0
0
I have been starting and stopping the services manually from the command prompt, as well as using the services GUI. If the services were not running, would I even see the icon for the Linux box in my XP network browser?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
FC4 has selinux, and it gives many users grief with samba, iirc. Not an FC user myself, I felt kicked to the curb with the split to REHL/FC, not to mention RPMed out after RH9
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Right First Off

1)Can you access the list and access shares locally via smbclient ?

smbclient -L //the.pcs.hostname.or.ip.address -U username
and
smbclient //the.pcs.hostname.or.ip.address/sharename -U username

2)If that works move on to logs

3)on your linux pc open up 2 consoles either via going into a physical console or just starting 2 console sessions and logging in with someone with root / superuser privileges

1)tail -f /var/log/messages
2) tail -f /var/log/samba/access [I think I think it matched RHEL I use]


4)Post what happens to these log files , if there is no activity check your IPTABLES Rules whether it allows SMB packets .
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |