Browse Source

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

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

+ 3
- 3
UserAd_class.py View File

@ -144,9 +144,9 @@ def main():
sam = SamDB(lp=lp, session_info=system_session())
test_usr = UserAd(sam, base, domainName, 'tst', "secret34daD")
print test_usr.memberOf
err = test_usr.set_passwd()
if err:
print err
print "Set disable error: ", test_usr.disable()
print "Set enable error: ", test_usr.enable()
print class="s2">"Set Password remove error: ", test_usr.remove()
if __name__ == '__main__':


Loading…
Cancel
Save

Powered by TurnKey Linux.