1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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
This commit is contained in:
Michael Adam 2012-12-03 02:25:40 +01:00
parent 93c0c0749a
commit 99efe8480e

View File

@ -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 = ''