Browse Source

some fixes

master
Mikhail Grebenkin 4 years ago
parent
commit
452e8626ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      zayavka_reader.py

+ 1
- 1
zayavka_reader.py View File

@ -44,6 +44,7 @@ def users_make_zayavka(users):
enabled = False
pwchange = False
toremove = False
res[usrname] = {}
# преобразуем флаги в удобную форму
if i['Activ'] == 'Y':
enabled = True
@ -60,7 +61,6 @@ def users_make_zayavka(users):
elif str(i['Otdel']) == 'Bitrix':
memberof = ad_groups_bitrix
if str(i['XServ']) == '1':
print(i)
memberof.append(ad_group_xserv)
if str(i['RDP']) == '1':
memberof.append(ad_group_rdp)


Loading…
Cancel
Save

Powered by TurnKey Linux.