View Issue Details

IDProjectCategoryView StatusLast Update
2011RackTablesdefaultpublic2021-01-18 15:14
Reporteronlineserv Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSRedhatOS Version7
Product Version0.21.5 
Summary2011: LDAP Integration Not Working
DescriptionHello All,

I am trying to setup RT for LDAP authentication, however when configuring the variables in secret.php as outlined below and uncommenting the areas that speak to LDAP authentication I am unable to load the landing page for RT and the only way to get it working again is to comment out the LDAP section. Have any of you experienced this issue and if so what did you do to get around it?

Here is my configuration.

<?php
# This file has been generated automatically by RackTables installer.
$pdo_dsn = 'mysql:host=localhost;dbname=racktables';
$db_username = '';
$db_password = '';

# Set this if you need to override the default plugins directory.
#$racktables_plugins_dir = '/path/to/plugins';

# Setting MySQL client buffer size may be required to make downloading work for
# larger files, but it does not work with mysqlnd.
# $pdo_bufsize = 50 * 1024 * 1024;
# Setting PDO SSL key, cert, and CA will allow a SSL/TLS connection to the MySQL
# DB. Make sure the files are readable by the web server
# $pdo_ssl_key = '/path/to/ssl/key'
# $pdo_ssl_cert = '/path/to/ssl/cert'
# $pdo_ssl_ca = '/path/to/ssl/ca'

$user_auth_src = 'database';
$require_local_account = TRUE;
# Default setting is to authenticate users locally, but it is possible to
# employ existing LDAP or Apache user accounts. Check RackTables wiki for
# more information, in particular, this page for LDAP configuration details:
# https://wiki.racktables.org/index.php?title=LDAP

#$LDAP_options = array
#(
# 'server' => 'wfddevdc01.devnet.team',
# 'domain' => 'devnet.team',
# 'search_attr' => 'sAMAccountName',
# 'search_dn' => 'OU=DevNet_Users,DC=devnet,DC=team',
# // The following credentials will be used when searching for the user's DN:
# 'search_bind_rdn' => NULL,
# 'search_bind_password' => NULL,
# 'displayname_attrs' => 'givenname sn',
# 'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3),
# 'use_tls' => 2, // 0 == don't attempt, 1 == attempt, 2 == require
#);

# For SAML configuration details:
# https://wiki.racktables.org/index.php?title=SAML

#$SAML_options = array
#(
# 'simplesamlphp_basedir' => '../simplesaml',
# 'sp_profile' => 'default-sp',
# 'usernameAttribute' => 'eduPersonPrincipName',
# 'fullnameAttribute' => 'fullName',
# 'groupListAttribute' => 'memberOf',
#);

# This HTML banner is intended to assist users in dispatching their issues
# to the local tech support service. Its text (in its verbatim form) will
# be appended to assorted error messages visible in user's browser (including
# "not authenticated" message). Beware of placing any sensitive information
# here, it will be readable by unauthorized visitors.
#$helpdesk_banner = 'This RackTables instance is supported by Example Inc. IT helpdesk, dial ext. 1234 to report a problem.';
Steps To Reproduceuncomment out ldap variables
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-01-14 20:26 onlineserv New Issue
2021-01-18 15:14 onlineserv Status new => closed
2021-01-18 15:14 onlineserv Resolution open => fixed