Re: Samba: Could not get smbpasswd to work. Problem?

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

 



On Wed, 2006-04-05 at 10:09 -0700, Dan Thurman wrote:
> On Wed, 2006-04-05 at 09:30 -0700, Craig White wrote:
> > On Wed, 2006-04-05 at 09:20 -0700, Dan Thurman wrote:
> > > Folks,
> > > 
> > > Trying to get my Samba server running on FC5, but cannot seem
> > > to be able to get shares working right.  I noticed that I had
> > > no entries in the /etc/samba/smbpasswd file so I tried to add
> > > my users via smbpasswd <user> and provided the passwords but
> > > smbpasswd failed to complete.  Here is the results:
> > > 
> > > [root@mysystem samba]# smbpasswd aUser
> > > New SMB password:
> > > Retype new SMB password:
> > > Failed to find entry for user aUser.
> > > Failed to modify password entry for user aUser
> > > 
> > > I checked to make sure that this user had an account
> > > in the /etc/password file and yes, they do so I am not
> > > sure why smbpasswd is not accepting it.
> > > 
> > > Anyone have problems with this?
> > ----
> > are you sure that samba would use /etc/samba/smbpasswd as backend?
> 
> Apparently, when I used the -a option, the user entries are
> added to /etc/samba/smbpasswd.  I checked.  I now have my users
> added but now the next step is to get samba configuration right
> so that group-defined users have samba share access rights only.
> 
> I am now fiddling with the shares.  Trying to grant browser rights
> only to members of the samba group I created.  But seems there is
> only a binary value allowed for the browseable: Yes or No.
> 
> Any idea how to set a share as browseable but only for allowed users?
> 
----
if you read the man pages...browseable is only a browsing quality.
Whether it's visible or not in a Network browser window. It has no
relationship to whether a user or group has privileges to see the files
or folders inside...only the presence of the share itself.

Thus, browsing rights is only a binary on/off browseable yes/no.

There are write users/read users, etc. There are the underlying 'posix'
file/group ownership bits that have impact as well.

You really need to read the man pages or the 'howto' at

http://www.samba.org/samba/docs

Craig


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

  Powered by Linux