Skip to content

Active Directory Authentication error #216

@s31t0n

Description

@s31t0n

Hello all,
actually having issues to integrate AD authentication,
as you can see on the configuration file i left a hybrid authentication, so i can have local and Ad users to authenticate, but actually only local user can authenticate.

  • Kloudspeaker v2.7.30
  • Windows 10.
  • Xampp
  • Configuration.php
	        "authentication_methods" => array("ldap","pw"),
                "ldap_use_starttls" => FALSE,
                "ldap_server" => "ldap://ad-test.tstlab.local:389",
                "ldap_conn_string" => "@tstlab.local",
		"ldap_search" => "DC=tstlab,DC=local",
		"ldap_base_dn" => "CN=Users,DC=tstlab,DC=local",
		"ldap_bind_dn" => "CN=Tst Lab,CN=Users,DC=tstlab,DC=local",
		"ldap_bind_pw" => "P4s*$w0r.!d0-1",

When trying to authenticate with just username without the suffix, so just typing test1 and the password,i get the following error,

[27-Jul-2019 17:34:43 Europe/Rome] KLOUDSPEAKER ERROR: Failed Kloudspeaker login attempt from [::1], user [test1]
[27-Jul-2019 17:34:43 Europe/Rome] KLOUDSPEAKER ERROR: ServiceException: AUTHENTICATION_FAILED=
[27-Jul-2019 17:34:43 Europe/Rome] KLOUDSPEAKER ERROR: {0:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\SessionServices.class.php, line:69, function:login, class:Authentication, type:->, args:{0:test1, 1:P4s*$w0r.!d0-1}}, 1:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\SessionServices.class.php, line:60, function:authenticate, class:SessionServices, type:->, args:{}}, 2:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\ServicesBase.class.php, line:69, function:processPost, class:SessionServices, type:->, args:{}}, 3:{file:C:\xampp\htdocs\kloudspeaker\backend\include\KloudspeakerBackend.class.php, line:87, function:processRequest, class:ServicesBase, type:->, args:{}}, 4:{file:C:\xampp\htdocs\kloudspeaker\backend\r.php, line:61, function:processRequest, class:KloudspeakerBackend, type:->, args:{0:Request}}}

When trying to authenticate with the username including the suffix, so typing test1@tstlab.local and the password,i get the following error,

[27-Jul-2019 17:37:39 Europe/Rome] KLOUDSPEAKER ERROR: No user found with name [test1@tstlab.local]
[27-Jul-2019 17:37:39 Europe/Rome] KLOUDSPEAKER ERROR: Failed Kloudspeaker login attempt from [::1], user [test1@tstlab.local]
[27-Jul-2019 17:37:39 Europe/Rome] KLOUDSPEAKER ERROR: ServiceException: AUTHENTICATION_FAILED=
[27-Jul-2019 17:37:39 Europe/Rome] KLOUDSPEAKER ERROR: {0:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\SessionServices.class.php, line:69, function:login, class:Authentication, type:->, args:{0:test1@tstlab.local, 1:P4s*$w0r.!d0-1}}, 1:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\SessionServices.class.php, line:60, function:authenticate, class:SessionServices, type:->, args:{}}, 2:{file:C:\xampp\htdocs\kloudspeaker\backend\include\services\ServicesBase.class.php, line:69, function:processPost, class:SessionServices, type:->, args:{}}, 3:{file:C:\xampp\htdocs\kloudspeaker\backend\include\KloudspeakerBackend.class.php, line:87, function:processRequest, class:ServicesBase, type:->, args:{}}, 4:{file:C:\xampp\htdocs\kloudspeaker\backend\r.php, line:61, function:processRequest, class:KloudspeakerBackend, type:->, args:{0:Request}}}

Any idea how to get rid oft this error and make sure the user get authenticated?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions