diff --git a/importer.py b/importer.py index 4a0831f..9ca1f7d 100644 --- a/importer.py +++ b/importer.py @@ -56,6 +56,8 @@ def main(): if ad_user.exists: ad_user.remove() continue + if not ad_user.exists: + ad_user.add() if z_users[z_user]['pwChange']: # обновляем пароль ad_user.set_passwd()