Skip to content

Error with webui2 #12

@hogsim

Description

@hogsim

Hi,
I get this error message :

[1445602818] INFO: [broker-master] [WebUI] user 'smh' is signing in ...
[1445602818] INFO: [broker-master] [WebUI] Checking authentication for user: smh
[1445602818] INFO: [broker-master] [WebUI] Requesting authentication for user: smh
[1445602818] INFO: [broker-master] [WebUI] Authenticating user 'smh'
[1445602818] INFO: [broker-master] [WebUI] Authenticating user 'smh' with auth-active-directory
[1445602818] WARNING: [broker-master] [WebUI] The mod auth-active-directory raised an exception: {'info': '80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580', 'desc': 'Invalid credentials'}, I'm tagging it to restart later
[1445602818] WARNING: [broker-master] [WebUI] Exception type:
[1445602818] WARNING: [broker-master] Back trace of this kill: Traceback (most recent call last):
File "/var/lib/shinken/modules/webui2/submodules/auth.py", line 27, in check_auth
if mod.check_auth(user, password):
File "/var/lib/shinken/modules/auth-active-directory/module.py", line 229, in check_auth
elts = self.find_contact_entry(c)
File "/var/lib/shinken/modules/auth-active-directory/module.py", line 134, in find_contact_entry
self.connect()
File "/var/lib/shinken/modules/auth-active-directory/module.py", line 111, in connect
self.con.simple_bind_s(self.username, self.password)
File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 208, in simple_bind_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 469, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 476, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 99, in _ldap_call
result = func(args,*kwargs)
INVALID_CREDENTIALS: {'info': '80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580', 'desc': 'Invalid credentials'}

[1445602818] INFO: [broker-master] [WebUI] Embedded authentication for 'smh'
[1445602818] INFO: [broker-master] [WebUI-auth-cfg-password] Authenticating user 'smh'
[1445602818] WARNING: [broker-master] [WebUI-auth-cfg-password] Authentication failed
[1445602818] INFO: [broker-master] [WebUI-auth-htpasswd] Authenticating user 'smh'
[1445602818] WARNING: [broker-master] [WebUI] The user 'smh' has not been authenticated.
[1445602818] WARNING: [broker-master] [WebUI] user 'smh' access denied
[1445602819] INFO: [broker-master] Trying to init module: auth-active-directory

And I know my credentials are correct. Has someone an idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions