summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-12-03 02:25:40 +0100
committerMichael Adam <obnox@samba.org>2012-12-03 10:47:16 +0100
commit99efe8480ebb0493be93a6ca5f77a1fe640f3be0 (patch)
treeb4c8569bd5a10bdbd26579637fe771d844aa4688 /source3/script
parent93c0c0749a2c3cbb1bc85e18b7dd77989a3eada8 (diff)
downloadsamba-99efe8480ebb0493be93a6ca5f77a1fe640f3be0.tar.gz
samba-99efe8480ebb0493be93a6ca5f77a1fe640f3be0.tar.bz2
samba-99efe8480ebb0493be93a6ca5f77a1fe640f3be0.zip
s3:selftest: extend sids2xids test script to cope with "ID_TYPE_BOTH mappings
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
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_wbinfo_sids2xids_int.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/test_wbinfo_sids2xids_int.py b/source3/script/tests/test_wbinfo_sids2xids_int.py
index 8826f53f1f..1b79e005dc 100755
--- a/source3/script/tests/test_wbinfo_sids2xids_int.py
+++ b/source3/script/tests/test_wbinfo_sids2xids_int.py
@@ -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 = ''