Lines 686-691
static const struct predefined_name_mapp
|
Link Here
|
---|
|
686 |
}; |
686 |
}; |
687 |
|
687 |
|
688 |
/* |
688 |
/* |
|
|
689 |
* S-1-15 |
690 |
*/ |
691 |
static const struct predefined_name_mapping predefined_names_S_1_15[] = { |
692 |
{ |
693 |
.name = "Capability", |
694 |
.type = SID_NAME_DOMAIN, |
695 |
.sid = _SID0(15), /* S-1-15 */ |
696 |
}, |
697 |
}; |
698 |
|
699 |
/* |
689 |
* S-1-16 |
700 |
* S-1-16 |
690 |
*/ |
701 |
*/ |
691 |
static const struct predefined_name_mapping predefined_names_S_1_16[] = { |
702 |
static const struct predefined_name_mapping predefined_names_S_1_16[] = { |
Lines 726-731
static const struct predefined_name_mapp
|
Link Here
|
---|
|
726 |
}, |
737 |
}, |
727 |
}; |
738 |
}; |
728 |
|
739 |
|
|
|
740 |
/* |
741 |
* S-1-17 |
742 |
*/ |
743 |
static const struct predefined_name_mapping predefined_names_S_1_17[] = { |
744 |
{ |
745 |
.name = "Scoped Policy ID", |
746 |
.type = SID_NAME_DOMAIN, |
747 |
.sid = _SID0(17), /* S-1-17 */ |
748 |
}, |
749 |
}; |
750 |
|
751 |
/* |
752 |
* S-1-18 |
753 |
*/ |
754 |
static const struct predefined_name_mapping predefined_names_S_1_18[] = { |
755 |
{ |
756 |
.name = "Security Authentication Authority", |
757 |
.type = SID_NAME_DOMAIN, |
758 |
.sid = _SID0(18), /* S-1-18 */ |
759 |
}, |
760 |
{ |
761 |
.name = "Authentication Authority Asserted Identity", |
762 |
.type = SID_NAME_LABEL, |
763 |
.sid = _SID1(18, 1), /* S-1-18-1 */ |
764 |
}, |
765 |
{ |
766 |
.name = "Service Asserted Identity", |
767 |
.type = SID_NAME_LABEL, |
768 |
.sid = _SID1(18, 2), /* S-1-18-2 */ |
769 |
}, |
770 |
{ |
771 |
.name = "Fresh Public Key Identity", |
772 |
.type = SID_NAME_LABEL, |
773 |
.sid = _SID1(18, 3), /* S-1-18-3 */ |
774 |
}, |
775 |
{ |
776 |
.name = "Key Trust Identity", |
777 |
.type = SID_NAME_LABEL, |
778 |
.sid = _SID1(18, 4), /* S-1-18-4 */ |
779 |
}, |
780 |
{ |
781 |
.name = "Key Property MFA", |
782 |
.type = SID_NAME_LABEL, |
783 |
.sid = _SID1(18, 5), /* S-1-18-5 */ |
784 |
}, |
785 |
{ |
786 |
.name = "Key Property Attestation", |
787 |
.type = SID_NAME_LABEL, |
788 |
.sid = _SID1(18, 6), /* S-1-18-6 */ |
789 |
}, |
790 |
}; |
791 |
|
792 |
/* |
793 |
* S-1-22 |
794 |
*/ |
795 |
static const struct predefined_name_mapping predefined_names_S_1_22[] = { |
796 |
{ |
797 |
.name = "Unix", |
798 |
.type = SID_NAME_DOMAIN, |
799 |
.sid = _SID0(22), /* S-1-22 */ |
800 |
}, |
801 |
}; |
802 |
|
729 |
static const struct predefined_domain_mapping predefined_domains[] = { |
803 |
static const struct predefined_domain_mapping predefined_domains[] = { |
730 |
{ |
804 |
{ |
731 |
.domain = "", |
805 |
.domain = "", |
Lines 802-812
static const struct predefined_domain_ma
|
Link Here
|
---|
|
802 |
.names = predefined_names_S_1_7, |
876 |
.names = predefined_names_S_1_7, |
803 |
}, |
877 |
}, |
804 |
{ |
878 |
{ |
|
|
879 |
.domain = "Capability", |
880 |
.sid = _SID0(15), /* S-1-15 */ |
881 |
.num_names = ARRAY_SIZE(predefined_names_S_1_15), |
882 |
.names = predefined_names_S_1_15, |
883 |
}, |
884 |
{ |
805 |
.domain = "Mandatory Label", |
885 |
.domain = "Mandatory Label", |
806 |
.sid = _SID0(16), /* S-1-16 */ |
886 |
.sid = _SID0(16), /* S-1-16 */ |
807 |
.num_names = ARRAY_SIZE(predefined_names_S_1_16), |
887 |
.num_names = ARRAY_SIZE(predefined_names_S_1_16), |
808 |
.names = predefined_names_S_1_16, |
888 |
.names = predefined_names_S_1_16, |
809 |
}, |
889 |
}, |
|
|
890 |
{ |
891 |
.domain = "Scoped Policy ID", |
892 |
.sid = _SID0(16), /* S-1-17 */ |
893 |
.num_names = ARRAY_SIZE(predefined_names_S_1_17), |
894 |
.names = predefined_names_S_1_17, |
895 |
}, |
896 |
{ |
897 |
.domain = "Scoped Policy ID", |
898 |
.sid = _SID0(18), /* S-1-18 */ |
899 |
.num_names = ARRAY_SIZE(predefined_names_S_1_18), |
900 |
.names = predefined_names_S_1_18, |
901 |
}, |
902 |
{ |
903 |
.domain = "Unix", |
904 |
.sid = _SID0(22), /* S-1-22 */ |
905 |
.num_names = ARRAY_SIZE(predefined_names_S_1_22), |
906 |
.names = predefined_names_S_1_22, |
907 |
}, |
810 |
}; |
908 |
}; |
811 |
|
909 |
|
812 |
NTSTATUS dom_sid_lookup_predefined_name(const char *name, |
910 |
NTSTATUS dom_sid_lookup_predefined_name(const char *name, |