[Samba] force re-authentication when accessing different shares

Rowland Penny rpenny at samba.org
Mon Jan 21 15:04:15 UTC 2019


On Mon, 21 Jan 2019 10:43:35 -0400
Robert Marcano via samba <samba at lists.samba.org> wrote:

> On 1/21/19 10:24 AM, Harald Glanzer via samba wrote:
> > hello & thx for your fast response!
> > 
> > i need a way to create samba shares without creating system user
> > accounts:
> > 
> > - add users via smbpasswd with unique password
> > - no need for a corresponding useraccount in /etc/passwd
> > - access to the corresponding shares should be independent from any
> > domain (i.e. the share should be accessable
> > via windows client)
> 
> Is't this a reimplementation on winbind nss interface?. Why not just
> use winbind with one of it's mapping strategies. I am pretty sure it
> should work for standalone servers.
> 

idmap_nss maps Unix users to Domain users, it needs users
in /etc/passwd, the OP doesn't want this.

Rowland




More information about the samba mailing list