forked from samba-team/samba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcli/security/tests: test strings for windows and samba SDDL tests
These are produced by editing `python/samba/test/sddl.py to enable `test_write_test_strings`, the running `make test TESTS='sddl\\b'`. The windows executable from the C file added in a recent commit can run these tests using the `-i` flag. The Samba sddl.py tests can be induced to use them too, but that is only useful for showing they are still in sync. Signed-off-by: Douglas Bagnall <[email protected]> Reviewed-by: Andrew Bartlett <[email protected]>
- Loading branch information
1 parent
d36bab5
commit 848bce0
Showing
6 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
O:S-1-5-21-1225132014-296224811-2507946102-512G:S-1-5-21-1225132014-296224811-2507946102-512D:P -> O:S-1-5-21-1225132014-296224811-2507946102-512G:S-1-5-21-1225132014-296224811-2507946102-512D:P | ||
D:(A;;GA;;;SY) -> D:(A;;GA;;;SY) | ||
D:(A;;GA;;;RU) -> D:(A;;GA;;;RU) | ||
D:(A;;GA;;;LG) -> D:(A;;GA;;;LG) | ||
D:(A;;0x401200a0;;;LG) -> D:(A;;0x401200a0;;;LG) | ||
D:S: -> D:S: | ||
D:PS: -> D:PS: | ||
D:(A;;GA;;;RS) -> D:(A;;GA;;;RS) | ||
S:(AU;SA;CR;;;WD)(AU;SA;CR;;;WD) -> S:(AU;SA;CR;;;WD)(AU;SA;CR;;;WD) | ||
S:(OU;CISA;WP;f30e3bbe-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) -> S:(OU;CISA;WP;f30e3bbe-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) | ||
D:(A;;GA;;;S-1-3-4294967295-3-4) -> D:(A;;GA;;;S-1-3-4294967295-3-4) | ||
D:(A;;GA;;;S-1-5-21-1-2-3-513) -> D:(A;;GA;;;S-1-5-21-1-2-3-513) | ||
D:(A;;GA;;;S-1-5-21-2447931902-1787058256-3961074038-1201) -> D:(A;;GA;;;S-1-5-21-2447931902-1787058256-3961074038-1201) | ||
O:S-1-2-512D: -> O:S-1-2-512D: | ||
D:PARAI(A;;GA;;;SY) -> D:PARAI(A;;GA;;;SY) | ||
D:P(A;;GA;;;LG)(A;;GX;;;AA) -> D:P(A;;GA;;;LG)(A;;GX;;;AA) | ||
D:(A;;FA;;;WD) -> D:(A;;FA;;;WD) | ||
D:(A;;CCDCLCSWRPWPDTLOCR;;;WD) -> D:(A;;CCDCLCSWRPWPDTLOCR;;;WD) | ||
D:(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) -> D:(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Z:(A;;GA;;;SY) -> Z:(A;;GA;;;SY) | ||
D:(Antlers;;GA;;;SY) -> D:(Antlers;;GA;;;SY) | ||
Q:(A;;GA;;;RU) -> Q:(A;;GA;;;RU) | ||
d:(A;;GA;;;LG) -> d:(A;;GA;;;LG) | ||
D:((A;;GA;;;LG)) -> D:((A;;GA;;;LG)) | ||
D:(A;;GA;;) -> D:(A;;GA;;) | ||
D :S: -> D :S: | ||
S:(AU;SA;CROOO;;;WD)(AU;SA;CR;;;WD) -> S:(AU;SA;CROOO;;;WD)(AU;SA;CR;;;WD) | ||
D:(A;;GA;;;S-1-0x1313131313131-513) -> D:(A;;GA;;;S-1-0x1313131313131-513) | ||
D:(A;;GA;a;;S-1-5-21-2447931902-1787058256-0x3961074038-1201) -> D:(A;;GA;a;;S-1-5-21-2447931902-1787058256-0x3961074038-1201) | ||
D:(A;;GA;a;;S-1-5-21-2447931902-1787058256-0xec193176-1201) -> D:(A;;GA;a;;S-1-5-21-2447931902-1787058256-0xec193176-1201) | ||
S:(OOU;CISA;WP;f30e3bbe-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) -> S:(OOU;CISA;WP;f30e3bbe-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-0000f80367c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) | ||
S:(OU;CISA;WP;f30e3bbe-9ff0-11d1-b603-00potato7c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-00chips7c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) -> S:(OU;CISA;WP;f30e3bbe-9ff0-11d1-b603-00potato7c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD)(OU;CISA;WP;f30e3bbf-9ff0-11d1-b603-00chips7c1;bf967aa5-0de6-11d0-a285-00aa003049e2;WD) | ||
D:P:S: -> D:P:S: | ||
D:(Ā;;GA;;;LG) -> D:(Ā;;GA;;;LG) | ||
D:(A;;123456789 ;;;LG) -> D:(A;;123456789 ;;;LG) | ||
D:(A;;0x75bcd15 ;;;LG) -> D:(A;;0x75bcd15 ;;;LG) | ||
D:(A;; 0x75bcd15;;;LG -> D:(A;; 0x75bcd15;;;LG | ||
D:(A;;0x 75bcd15;;;LG) -> D:(A;;0x 75bcd15;;;LG) | ||
D:(A;;GA ;;;LG) -> D:(A;;GA ;;;LG) | ||
D:(A;;RP ;;;LG) -> D:(A;;RP ;;;LG) | ||
D:(A;;GA;;;S-1-3-4 ) -> D:(A;;GA;;;S-1-3-4 ) | ||
D:(A;;GA; f30e3bbf-9ff0-11d1-b603-0000f80367c1;;WD) -> D:(A;;GA; f30e3bbf-9ff0-11d1-b603-0000f80367c1;;WD) | ||
D:(A;;GA;f30e3bbf-9ff0-11d1-b603-0000f80367c1 ;;WD) -> D:(A;;GA;f30e3bbf-9ff0-11d1-b603-0000f80367c1 ;;WD) | ||
D:(A;;GA;; f30e3bbf-9ff0-11d1-b603-0000f80367c1;WD) -> D:(A;;GA;; f30e3bbf-9ff0-11d1-b603-0000f80367c1;WD) | ||
D:(A;;GA;;f30e3bbf-9ff0-11d1-b603-0000f80367c1 ;WD) -> D:(A;;GA;;f30e3bbf-9ff0-11d1-b603-0000f80367c1 ;WD) | ||
D:(A;;GA;;{f30e3bbf-9ff0-11d1-b603-0000f80367c1};WD) -> D:(A;;GA;;{f30e3bbf-9ff0-11d1-b603-0000f80367c1};WD) | ||
D:(A;;GA;;0123456789abcdef;WD) -> D:(A;;GA;;0123456789abcdef;WD) | ||
D:(A;;GA;;0123456789abcdef0123456789abcdef;WD) -> D:(A;;GA;;0123456789abcdef0123456789abcdef;WD) | ||
D:AI(A;CI;RP LCLOR C;;;AU) -> D:AI(A;CI;RP LCLOR C;;;AU) | ||
D:AI(A;CI;RP LC LORC;;;AU) -> D:AI(A;CI;RP LC LORC;;;AU) | ||
D:AI(A;CI;RP LC LORC;;;AU) -> D:AI(A;CI;RP LC LORC;;;AU) | ||
O:S -> O:S | ||
O:S- -> O:S- | ||
O:S-1 -> O:S-1 | ||
O:S-10 -> O:S-10 | ||
O:S-0 -> O:S-0 | ||
O:S-1- -> O:S-1- | ||
O:S-0x1 -> O:S-0x1 | ||
O:S-0x1- -> O:S-0x1- | ||
O: -> O: | ||
O:XX -> O:XX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
D:(A;;RP;;;WD)(AU;SA;CR;;;BA)(AU;SA;CR;;;DU) -> D:(A;;RP;;;WD)(AU;SA;CR;;;BA)(AU;SA;CR;;;DU) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
D:(A;;GA;;; LG) -> D:(A;;GA;;;LG) | ||
D: (A;;GA;;;LG) -> D:(A;;GA;;;LG) | ||
D: AI(A;;GA;;;LG) -> D:AI(A;;GA;;;LG) | ||
D:(a;;GA;;;LG) -> D:(A;;GA;;;LG) | ||
D:(A;;GA;;;lg) -> D:(A;;GA;;;LG) | ||
D:(A;;ga;;;LG) -> D:(A;;GA;;;LG) | ||
D: S: -> D:S: | ||
D: P(A;;GA;;;LG) -> D:P(A;;GA;;;LG) | ||
D:P (A;;GA;;;LG) -> D:P(A;;GA;;;LG) | ||
D:P(A;;GA;;;LG) (A;;GX;;;AA) -> D:P(A;;GA;;;LG)(A;;GX;;;AA) | ||
D:(A; ;GA;;;LG) -> D:(A;;GA;;;LG) | ||
D:AI (A;;GA;;;LG) -> D:AI (A;;GA;;;LG) | ||
D:(A;;GA;;; WD) -> D:(A;;GA;;;WD) | ||
D:(A;;GA;;;WD ) -> D:(A;;GA;;;WD) | ||
D:(A;;GA;;; S-1-3-4) -> D:(A;;GA;;;OW) | ||
D:(A;;GA;; ;S-1-3-4) -> D:(A;;GA;;;OW) | ||
D:(A;;GA; ;;S-1-3-4) -> D:(A;;GA;;;OW) | ||
D:(A;;GA;;; S-1-333-4) -> D:(A;;GA;;;S-1-333-4) | ||
D:(A;;GA; ;;S-1-333-4) -> D:(A;;GA;;;S-1-333-4) | ||
O:AA -> O:AA | ||
O:AA -> O:AA | ||
O:AA G:WD -> O:AAG:WD | ||
O:S- 1- 2-3 -> O:S-1-2-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
D:(A;;0x123456789;;;LG) -> D:(A;;0xffffffff;;;LG) | ||
D:(A;;CC;;;S-0x1-0-0-579) -> D:(A;;CC;;;S-1-0-0-1401) | ||
O:S-0x1-20-0-579 -> O:S-1-32-0-1401 | ||
D:(A;;GA;;;S-1-3-4294967296-3-4) -> D:(A;;GA;;;S-1-3-4294967295-3-4) | ||
D:(A;;GA;;;S-1-3-0x100000000-3-4) -> D:(A;;GA;;;S-1-3-4294967295-3-4) | ||
D:(A;;GA;;;S-1-5-21-0x1313131313131-513) -> D:(A;;GA;;;S-1-5-21-4294967295-513) | ||
D:(A;;-99;;;LG) -> D:(A;;0xffffff9d;;;LG) | ||
D:(A;;-0xffffff55;;;LG) -> D:(A;;CCDCSWWPLO;;;LG) | ||
D:(A;;-9876543210;;;LG) -> D:(A;;CC;;;LG) | ||
D:(A;;100000000000000000000000;;;LG) -> D:(A;;0xffffffff;;;LG) |