Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1

TOPIC: LDAP query

LDAP query 7 months 1 week ago #5628

  • jtoomey
  • jtoomey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi,

I'm having a hard time setting up ldap for the latest version of Xerte. Could anyone let me know what is meant by the following in the database?

ldap_knownname
ldap_username
ldap_password

I've run upgrade.php and set the authentication method to ldap in the management tools, but is there any other part of the process I might have missed?

Cheers
Jon

Please Log in or Create an account to join the conversation.

LDAP query 7 months 1 week ago #5629

  • jtoomey
  • jtoomey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Also is it possible to set up SSO authetication with the latest version of Xerte? It's not listed in the possible values in the auth_config file so was wondering if this feature had been removed

Please Log in or Create an account to join the conversation.

LDAP query 7 months 1 week ago #5630

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 862
  • Thank you received: 158
Hi, You can set the authentication in the management.php page.

auth_config is NO longer used for that (Site->Authentication)

Also, you setup LDAP (for the first LDAP server in the management.php page (Site->LDAP settings). Further fine tuning and extra servers can be set up directly in the database in the LDAP table. The stitedetails->ldap columns are no longer used and are only there to be able to upgrade an older installation.

As you can see there are ways to authenticate using OAuth2 and Saml2, but these are not that easy to configure.

For help on Saml2, please see the src/Saml2 folder. Xerte uses the following Saml2 client (src/Saml2, which needs to be hosted somewhere): github.com/onelogin/php-saml

For help on OAuth2, please see library/Xerte/Authentication/Oauth2_config.php. Xerte uses the following OAuth client library (found in library/Xerte/Authentication/Oauth2): git.tuxed.net/fkooman/php-oauth2-client
The following user(s) said Thank You: jtoomey

Please Log in or Create an account to join the conversation.

LDAP query 7 months 1 week ago #5632

  • jtoomey
  • jtoomey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
thanks for the advice thats really helpful

So can I ignore the columns,
ldap_knownname
ldap_username
ldap_password

Cheers

Please Log in or Create an account to join the conversation.

LDAP query 7 months 1 week ago #5633

  • jtoomey
  • jtoomey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

Tom Reijnders wrote: The stitedetails->ldap columns are no longer used and are only there to be able to upgrade an older installation.


ah does this mean that I can use the same database as for my new install as my old one (I'm going from v2 - X v3). The tables looked different when I compared them quickly

Cheers
Jon

Please Log in or Create an account to join the conversation.

LDAP query 7 months 1 week ago #5637

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 862
  • Thank you received: 158
Yes, that is, you can upgrade the 2.x database to the latest by running upgrade.php
The following user(s) said Thank You: jtoomey

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.054 seconds
Copyright © 2019 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search