mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
s4-s3-upgrade: Allow import (just without a uid mapping) where getpwnam fails
This allows the tests to pass on systems without a jelmer user :-) Andrew Bartlett
This commit is contained in:
@ -591,7 +591,7 @@ Please fix this account before attempting to upgrade again
|
||||
except passdb.error:
|
||||
try:
|
||||
uids[username] = pwd.getpwnam(username).pw_uid
|
||||
except passdb.error:
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
if not admin_user and username.lower() == 'root':
|
||||
|
Reference in New Issue
Block a user