]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: wbinfo --sids-to-unix-ids tests for wellknown SIDs
authorRalph Boehme <slow@samba.org>
Fri, 31 Mar 2017 14:24:05 +0000 (16:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (12:23 +0200)
This test passes even without the fix, as in sids2xids we use the
lookupnames just to determine the mapping domain, using the default
idmap domain as fallback if that fails.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8bd5f774fdc1f4ea012885262eb0f40640504de8)

source3/script/tests/test_wbinfo_sids2xids_int.py

index f3dbed8a6eaea35cddf655fdf10856b1e01583a6..3ad3156ea93acfaba8922f6e42c1c81ed75d7e96 100755 (executable)
@@ -29,7 +29,7 @@ domsid = domsid.split(' ')[0]
 #print domain
 #print domsid
 
-sids=[ domsid + '-512', 'S-1-5-32-545', domsid + '-513' ]
+sids=[ domsid + '-512', 'S-1-5-32-545', domsid + '-513', 'S-1-1-0', 'S-1-3-1', 'S-1-5-1' ]
 
 flush_cache()