|
|
@ -60,7 +60,7 @@ def main(): |
|
|
|
z_users = z_reader.users_make_zayavka(res) |
|
|
|
print len(z_users) |
|
|
|
for z_user in z_users: |
|
|
|
print z_user |
|
|
|
print z_user, z_users[z_user]['memberOf'] |
|
|
|
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: |
|
|
|