mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +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:
parent
93c0c0749a
commit
99efe8480e
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user