RFC: Username mapping for HEAD

Simo Sorce idra at samba.org
Sat Sep 15 02:32:03 GMT 2001


So if it is an uid, why calling it username? makes no sense to me.
I would coall it session_uid, surrent_uid, global_uid, auth_uid, ...
or something like that.

On Fri, Sep 14, 2001 at 06:55:37PM +1000, Andrew Bartlett wrote:
> Simo Sorce wrote:
> > 
> > On Fri, Sep 14, 2001 at 05:11:44PM +1000, Andrew Bartlett wrote:
> > > Tim Potter wrote:
> > > >
> > > > Andrew Bartlett writes:
> > > >
> > > > > I'm thinking about having 3 usernames inside samba:
> > > > > username_wire - the username exactly as specified on the wire
> > > > > username_mapped - this username after it has been mapped on a global
> > > > > basis (username map = )
> > > > > username_unix - the username that is actually used on the unix system
> > > >
> > > > What is the difference between username_unix and username_mapped?
> > > >
> > > > Tim.
> > >
> > > username_unix is the uid used when doing disk-work, but might be mapped
> > > itself from many different usernames in the password database.  Make
> > > sense?
> > >
> > So, is it an uid? or is it a name?
> > I can't see the benefit of this parameter.
> 
> Its really just a uid. 
> 
> The main thing I want it for is the build farm, we have a sum total of
> *one* uid to test with, and I would like more than one username to
> use.   
> So I was thinking to equip the various passdb interfaces with the
> ability to store arbitary usernames, using the uid field to store the
> appropriate unix user.
> 
> While this sounds much like the existing username map option, it occurs
> after authentication and does not have wildcard semantics.  In
> particular this is the only part of the process where usernames like
> 'domain\username' makes sense - the original problem in this area.  (The
> domain is a seperate element, and including it in the username only make
> for trouble).
> 
> Andrew Bartlett 
> 
> -- 
> Andrew Bartlett                                 abartlet at pcug.org.au
> Samba Team member, Build Farm maintainer        abartlet at samba.org
> Student Network Administrator, Hawker College   abartlet at hawkerc.net
> http://samba.org     http://build.samba.org     http://hawkerc.net

-- 
Simo Sorce       idra at samba.org
-------------------------------
Samba Team http://www.samba.org




More information about the samba-technical mailing list