Shared directory on Linux using Samba - TechRepublic
General discussion
February 25, 2002 at 03:53 AM
shanghai sam

Shared directory on Linux using Samba

by shanghai sam . Updated 24 years, 2 months ago

I am attempting to share a directory on my Linux box which is accesible from Windows 2000. I have set up an account on Linux which is the same as my Windows 2000 logon and also run smbpasswd -a #my Windows 2000 logon.

in smb.conf I have added:-
[global]
workgroup = #my workgroup
os level = 2
kernal oplocks = No
smb passwd file = #direction to sambapasswd
security = share
encrypt passwords = Yes
guest account = Nobody
map to guest = Bad User

[Homes]
comment = Home Directories
guest ok = Yes
read only = No
create mask = 0700
directory mask = 0700
browsable = Yes

[swap]
comment = Shared files on Linux
path = #path to shared directory
read only = No
create mask = 0775
directory mask = 0775
browsable = Yes#end

Here I have just listed the parts where I think I may be going wrong.
The problem is that although I can view the shared directory from the windows 2000 box (in this case “swap”)and enter it, I cannot transfer files to it. I receive the message:-
“Cannot copy #name of file: Access is denied. The source file may be in use.”

Thanks for any assistance.
Steve

This discussion is locked

All Comments