diff options
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/upgrade.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py index 13d33c1442..df9415e762 100644 --- a/source4/scripting/python/samba/upgrade.py +++ b/source4/scripting/python/samba/upgrade.py @@ -802,6 +802,8 @@ Please fix this account before attempting to upgrade again homes[username] = pwd.getpwnam(username).pw_dir except KeyError: pass + except IndexError: + pass try: if ldap: @@ -810,6 +812,8 @@ Please fix this account before attempting to upgrade again shells[username] = pwd.getpwnam(username).pw_shell except KeyError: pass + except IndexError: + pass try: if ldap: @@ -818,6 +822,8 @@ Please fix this account before attempting to upgrade again pgids[username] = pwd.getpwnam(username).pw_gid except KeyError: pass + except IndexError: + pass logger.info("Reading WINS database") samba3_winsdb = None |