[PATCH 0/2] cifs: Support for an upcall to map a SID to an uid and a gid (try #5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux