mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/security: add NFS SID mappings
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
80849d31a1
commit
549ee51674
@ -53,6 +53,11 @@ extern const struct dom_sid global_sid_Builtin_Replicator;
|
||||
extern const struct dom_sid global_sid_Builtin_PreWin2kAccess;
|
||||
extern const struct dom_sid global_sid_Unix_Users;
|
||||
extern const struct dom_sid global_sid_Unix_Groups;
|
||||
extern const struct dom_sid global_sid_Unix_NFS;
|
||||
extern const struct dom_sid global_sid_Unix_NFS_Users;
|
||||
extern const struct dom_sid global_sid_Unix_NFS_Groups;
|
||||
extern const struct dom_sid global_sid_Unix_NFS_Mode;
|
||||
extern const struct dom_sid global_sid_Unix_NFS_Other;
|
||||
|
||||
int dom_sid_compare_auth(const struct dom_sid *sid1,
|
||||
const struct dom_sid *sid2);
|
||||
|
@ -96,6 +96,23 @@ const struct dom_sid global_sid_Unix_Users = /* Unmapped Unix users */
|
||||
const struct dom_sid global_sid_Unix_Groups = /* Unmapped Unix groups */
|
||||
{ 1, 1, {0,0,0,0,0,22}, {2,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
|
||||
/*
|
||||
* http://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
|
||||
*/
|
||||
const struct dom_sid global_sid_Unix_NFS = /* MS NFS and Apple style */
|
||||
{ 1, 1, {0,0,0,0,0,5}, {88,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
const struct dom_sid global_sid_Unix_NFS_Users = /* Unix uid, MS NFS and Apple style */
|
||||
{ 1, 2, {0,0,0,0,0,5}, {88,1,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
const struct dom_sid global_sid_Unix_NFS_Groups = /* Unix gid, MS NFS and Apple style */
|
||||
{ 1, 2, {0,0,0,0,0,5}, {88,2,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
const struct dom_sid global_sid_Unix_NFS_Mode = /* Unix mode */
|
||||
{ 1, 2, {0,0,0,0,0,5}, {88,3,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
/* Unused, left here for documentary purposes */
|
||||
#if 0
|
||||
const struct dom_sid global_sid_Unix_NFS_Other = /* Unix other, MS NFS and Apple style */
|
||||
{ 1, 2, {0,0,0,0,0,5}, {88,4,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
#endif
|
||||
|
||||
/* Unused, left here for documentary purposes */
|
||||
#if 0
|
||||
#define SECURITY_NULL_SID_AUTHORITY 0
|
||||
|
Loading…
Reference in New Issue
Block a user