s3:selftest: extend sids2xids test script to cope with "ID_TYPE_BOTH mappings
authorMichael Adam <obnox@samba.org>
Mon, 3 Dec 2012 01:25:40 +0000 (02:25 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 3 Dec 2012 09:47:16 +0000 (10:47 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Dec  3 10:47:17 CET 2012 on sn-devel-104

source3/script/tests/test_wbinfo_sids2xids_int.py

index 8826f53f1f400840e70cfa57dae95b5127619cf8..1b79e005dceeb2d055df8f1a1998c84efa47ae74 100755 (executable)
@@ -34,7 +34,7 @@ gids=[]
 for line in sids2xids.split('\n'):
     result = line.split(' ')[2:]
 
-    if result[0] == 'gid':
+    if result[0] == 'gid' or result[0] == 'uid/gid':
         gid = result[1]
     else:
         gid = ''