From: shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Shirish Pargaonkar
<shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 0/2] cifs: Support for an upcall to map SID to an uid and a gid [try #4]
Date: Tue, 25 Jan 2011 16:35:50 -0600 [thread overview]
Message-ID: <1295994950-8691-1-git-send-email-shirishpargaonkar@gmail.com> (raw)
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>
reply other threads:[~2011-01-25 22:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1295994950-8691-1-git-send-email-shirishpargaonkar@gmail.com \
--to=shirishpargaonkar-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.