Computing.Net > Forums > Linux > cant copy files to samba server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cant copy files to samba server

Reply to Message Icon

Name: catalan
Date: May 16, 2006 at 02:39:54 Pacific
OS: fedora core 5
CPU/Ram: sempron 2800/512
Comment:

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 yum

Here 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?



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: May 16, 2006 at 03:34:24 Pacific
Reply:

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.


0

Response Number 2
Name: catalan
Date: May 16, 2006 at 04:05:20 Pacific
Reply:

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


0

Response Number 3
Name: 3Dave
Date: May 17, 2006 at 05:45:40 Pacific
Reply:

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


0

Response Number 4
Name: catalan
Date: May 19, 2006 at 07:34:35 Pacific
Reply:

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?


0

Response Number 5
Name: 3Dave
Date: May 19, 2006 at 08:36:39 Pacific
Reply:

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"....


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: May 19, 2006 at 08:41:53 Pacific
Reply:

....also check the linux permissions on the files and directories.


0

Response Number 7
Name: catalan
Date: May 20, 2006 at 09:32:53 Pacific
Reply:

another thing, when i run testparm, i notice this message

WARNING: passdb expand explicit = yes is deprecated

i got no idea what that means


0

Response Number 8
Name: catalan
Date: May 23, 2006 at 03:46:38 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: cant copy files to samba server

Cannot Print to Samba Server www.computing.net/answers/linux/cannot-print-to-samba-server/21376.html

Slow mapping to Samba Server www.computing.net/answers/linux/slow-mapping-to-samba-server/1944.html

Login to Samba server from win2k www.computing.net/answers/linux/login-to-samba-server-from-win2k/23552.html