|
|
@ -42,6 +42,7 @@ def main(): |
|
|
|
z_users = z_reader.users_make_zayavka() |
|
|
|
print len(z_users) |
|
|
|
for z_user in z_users: |
|
|
|
print z_user |
|
|
|
ad_user = UserAd(sam, base, domainName, z_users[z_user]['samAccountName'], z_users[z_user]['usrPass']) |
|
|
|
if z_users[z_user]['toRemove']: # удаляем, если такой есть |
|
|
|
if ad_user.exists: |
|
|
|