Browse Source

мелкие изменения, тестирую.

master
Mikhail Grebenkin 6 years ago
parent
commit
0e94082431
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      importer.py

+ 1
- 0
importer.py View File

@ -40,6 +40,7 @@ def main():
lp.load(samba.param.default_path()) # или lp.load("/etc/samba/smb.conf")
sam = SamDB(lp=lp, session_info=system_session())
z_users = z_reader.users_make_zayavka()
print len(z_users)
for z_user in z_users:
ad_user = UserAd(sam, base, domainName, z_users[z_user]['samAccountName'], z_users[z_user]['usrPass'])
if z_users[z_user]['toRemove']: # удаляем, если такой есть


Loading…
Cancel
Save

Powered by TurnKey Linux.