* [PATCH 0/2] cifs: Support for an upcall to map SID to an uid and a gid [try #4]
@ 2011-01-25 22:35 shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w
0 siblings, 0 replies; only message in thread
From: shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w @ 2011-01-25 22:35 UTC (permalink / raw)
To: smfrench-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, Shirish Pargaonkar
Use a cifs upcall to map a SID to either an uid or a gid using winbind.
There is a corrosponding patch for the cifs.upcall binary in cifs-utils rpm
that has been posted.
A new type of key, cifs_idmap_key_type, is used.
For now, cifs.upcall is only used to map a SID to an id (uid or gid) but
it would be used to obtain an SID (string) for an id.
This patch does not address client side permission checking and
id assignments if and when there is an error in SID mapping.
Default id assigned is that of 0 (root/superuser) for now.
An entry such as this
create cifs.cifs_idmap * * /usr/sbin/cifs.upcall %k
is needed in the file /etc/request-key.conf.
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-25 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 22:35 [PATCH 0/2] cifs: Support for an upcall to map SID to an uid and a gid [try #4] shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.