mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
selftest: fix invalid loop variables uid and gid
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
parent
3687ab318a
commit
8a7a779df5
@ -27,9 +27,9 @@ def run(cmd):
|
||||
def flush_cache(sids=[], uids=[], gids=[]):
|
||||
for sid in sids:
|
||||
os.system(netcmd + (" cache del IDMAP/SID2XID/%s" % (sid)))
|
||||
for uids in uids:
|
||||
for uid in uids:
|
||||
os.system(netcmd + (" cache del IDMAP/UID2SID/%s" % (uid)))
|
||||
for gids in gids:
|
||||
for gid in gids:
|
||||
os.system(netcmd + (" cache del IDMAP/GID2SID/%s" % (gid)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user