Basically it means the sid in question doesn't exist on that domain. It could be a sid for an account that's been removed, or a local account on the remote machine, or even a sid for an account on another domain.
Roger "Peter McTaggart" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to write a little python prog to list the groups and their > members that have access to a directory or file on a network device. > > I can get info for a local file (on C drive) but this doesn't seem to > work on a network drive: > > I get teh following error > ------------------------------- > Traceback (most recent call last): > File > "C:\software\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File "C:\projects\access_groups\AccessList.py", line 36, in ? > accounts = getAccountList(domain, sidList) > File "C:\projects\access_groups\AccessList.py", line 20, in > getAccountList > accounts = [ win32security.LookupAccountSid(domain,x) for x in sidList] > error: (1332, 'LookupAccountSid', 'No mapping between account names > and security IDs was done.') > ------------------------------ > I'm not sure what this means. > _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32