RE: Samba Guru...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-06-12 at 09:01 -0700, bruce wrote:

> update.
> 
> it appears that i can now see the linux "share/folder" in the windows
> network. i can in fact copy a file to the linux folder on the linux box, see
> the file on the windows box, and copy the file to another folder on the
> windows box...
> 
> however, when i try to copy a windows file and place it in the samba share
> on the windows side, i get an "access denied" message... i never get
> prompted for a user/passwd...
> 
> thoughts/comments..

The piece you are probably missing is that samba users get mapped
into some linux user and the normal linux permissions apply as
well as the extra ones you specified in smb.conf.  Usually
the right thing do to is set security = user, log in to the
windows box with the same name as the linux box, and use the
default entry for the home share.  In this mode, your linux
home directory will only show up as a share for the windows
box where you log in with the same name.

If you want to share things among different windows boxes
you might put them all in the same group and use the force
group and create modes to make sure all the users in the
group will have access.

> # Security mode. Most people will want user level security. See
> # security_level.txt for details.
> # Use password server option only with security = server
> ;   password server = <NT-Server-Name>
> # bdouglas.. not sure if needed...
> security = SHARE

This means you can connect/browse without authenticating so the
home share can't work the right way (i.e. it won't know who you
are before presenting the share list).

> [windows]
>         path = /windows
>         writeable = yes
>         guest ok = yes

This means you don't authenticate at all.  Any connection is mapped
to the guest user, which probably doesn't have write access to
the files/directories.  And if there are untrusted boxes on the
network you don't want it to.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux