Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Ok so heres the deal
last week i built a new computer to replace my aging pentium 166mhz bomb. this old server had samba 2x running on it and redhat 7.1 and everything was fine.
This new server I built now has fedora core 5 with the latest kernel (2.6.16-1.2096) and samba (3.0.22-1) downloaded and installed via yumHere is a copy of my smb.conf file:
[global]
netbios name = server
workgroup = network
server string = The Server (Fedora)
guest account = nobody
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
hosts allow = 192.168.123.0/255.255.255.0 127.
hosts deny = all
log file = /etc/samba/log/log.%U
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192[Stuff]
comment = The Server Stuff
path = /Stuff
valid users = phillip
public = no
writable = yes
printable = no
read only = no
create mask = 0765[ftpstuff]
comment = Administer FTP Stuff
path = /mnt/Quinario/ftpstuff
valid users = phillip
public = yes
writable = yes
read only = no
printable = no[Secundario]
comment = The Second Uber Partition
path = /mnt/Secundario
guest ok = yes
public = yes
writeable = yes
read only = no
printable = no[Terciario]
comment = The Third Uber Partition
path = /mnt/Terciario
guest ok = yes
public = yes
writable = yes
read only = no
printable = no[Cuanternario]
comment = The Forth Uber Drive
path = /mnt/Cuanternario
guest ok = yes
public = yes
writable = yes
read only = no
printable = no[Quinario]
comment = The Fifth Uber Drive
path = /mnt/Quinario
guest ok = yes
public = yes
writable = yes
read only = no
printable = no
This file was copied over from the old server, the only thing that has changed is that i just added a few more shares, thats all. The steps to setup samba were exactly the same as on the old server.
The thing is this, my windows XP can see the shares and access it, but I cant copy over any files. Also, the Stuff and ftpstuff shares are meant to be password protected as it is for a specific user, but i am not prompted to enter a username and password when accessing it in windows, i can just get straight into those folders. Ive tried everything, even just using a really simple smb.conf file but still the same result.
The fedora installed on the server is a 64bit version while the other computers on the network are 32bit, would this have anything to do with it? Im thinking it might be a samba bug?

Have you added the windoze user to the samba users database with "smbpasswd -a username"? If not they are probably being logged on as guest.

yep, all that has been done
i have only made one account name (phillip) everyone else can log on as guest
so i dunno whats going on ... it cant be a firewall thing if it can be access from windows ... anyways, there is no firewall on the server at the moment ... so i dunno, mysteries of the unexplained

Try changing "security = user" to "security = share", restart the smb daemons and see if that helps.

well, ive reinstalled a fresh copy of fedora, plus ive formatted and reinstalled windows xp (not because it couldnt work properly with samba, but because i was due for a format anyways) and it still doesnt work with samba properly ... the only conclusion i can think of is that it MUST be a bug in samba ... so hopefully the next version of samba will sort it out ... unless someone knows of a way to get all this working?

I run samba v3.0.14a on a slackware server running as a PDC and have 2000 and XP clients all being able to access shares fine. How about removing the "guest ok = yes" or setting "public = no"....

another thing, when i run testparm, i notice this message
WARNING: passdb expand explicit = yes is deprecated
i got no idea what that means

oh i found the answer ... i need to configure or turn off SELinux
but thanks for your tips guys

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |