shinken-monitoring / mod-auth-active-directory

Shinken module for UI authentification with Active Directory or OpenLDAP
GNU Affero General Public License v3.0
2 stars 5 forks source link

FIX: 'account_name' referenced before assignment #5

Closed cyrilleJ closed 11 years ago

cyrilleJ commented 11 years ago

resolve error : File "/usr/local/shinken/shinken/modules/webui_broker/webui_broker.py", line 525, in check_auth r = f(user, password) File "/usr/local/shinken/shinken/modules/active_directory_ui.py", line 249, in check_auth local_con.simple_bind_s(account_name, password) UnboundLocalError: local variable 'account_name' referenced before assignment

naparuba commented 11 years ago

Thanks a lot! :+1:

naparuba commented 11 years ago

PS: can you send a pull request with your name in the contributors entry in the package.json file? So you will be listed on the new shinken.io website :)