mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +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:
parent
c9bb497f3f
commit
1255383140
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user