Browse Source

теперь дебажу

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

+ 5
- 1
importer.py View File

@ -50,7 +50,11 @@ def main():
lp = samba.param.LoadParm()
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(z_reader.mysql_reader(dbconn, sql), ad_groups)
res, err = z_reader.mysql_reader(dbconn, sql)
if err:
print err
exit(0)
z_users = z_reader.users_make_zayavka(res, ad_groups)
print len(z_users)
for z_user in z_users:
print z_user


Loading…
Cancel
Save

Powered by TurnKey Linux.