On Wed, Dec 07, 2005 at 09:20:38AM +0200, Ryan Viljoen wrote:
> On 12/7/05, David Obwaller <[EMAIL PROTECTED]> wrote:
> > On Tue, Dec 06, 2005 at 07:15:08PM +0200, Ryan Viljoen wrote:
> > > On 12/6/05, Robin <[EMAIL PROTECTED]> wrote:
> > > > I had an instance where I needed to use smbpasswd -a user_name to add
> > > > a user to Samba.  And I they don't need to be a member of the "samba"
> > > > group.  In my Samba setup experiences anyway.
> > > >
> > > > Hope this helps.
> > >
> > > Yeah sorry, I checked up on my suggestion and the user doesnt need to
> > > be in the samba user group. Apologies for my off the wall suggestion,
> > > I should really keep them to myself.
> >
> > Thanks for any help. I now sorted out my problem.
> 
> What did you do to fix it?

Nothing much really. What I was trying to do was adding a non-existent user to
the samba users. I thought that I had to map those samba-only users to local in
the smbusers file. Something like:

        $ smbpasswd -a Some_Samba_User
        edit smbusers to map 'Some_Samba_User' to 'some_local_user'

.. which is wrong as I now know.

If I create a local user first and then add this user to samba with smbpasswd -a
everything works as expected. I can login in using the username (the same with
local login and network login) and the password specified with smbpasswd.

I basically misunderstood what smbusers is for.

David
-- 
gentoo-user@gentoo.org mailing list

Reply via email to