View Issue Details

IDProjectCategoryView StatusLast Update
1751RackTablesdefaultpublic2019-07-30 19:00
ReporterallywilsonAssigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version0.20.11 
Target VersionFixed in Version 
Summary1751: Multiple LDAP domains
DescriptionIt would be nice if we could have multiple LDAP domains.

We have multiple AD child domains in our org. We can bind to 1 LDAP domain (call it DOMAIN1.forest.com), but not to a secondary domain (call it DOMAIN2.forest.com), so we could then allow members of DOMAIN2 to be able to login.

TagsNo tags attached.

Activities

Lucky

Lucky

2018-10-12 17:42

reporter   ~0003825

#secret.php

$LDAP_options = array
(
  'domains' => array
  (
    array
    (
    'server' => 'dc1.domain1.local by01-dc10.domain1.local',
    'domain' => 'domain1.local',
    'search_attr' => 'userPrincipalName',
    'search_dn' => 'DC=domain1,DC=local',
    'search_bind_rdn' => 'uid=user,dc=domain1,dc=local',
    'search_bind_password' => '*password*',
    'displayname_attrs' => 'cn',
    'group_attr' => 'memberof',
    'group_filter' => '/^[Cc][Nn]=([^,]+)/',
    'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3, LDAP_OPT_REFERRALS => 0),
    'use_tls' => 0,
    ),
    array
    (
    'server' => 'dc2.domain2.local',
    'domain' => 'domain2.local',
    'search_attr' => 'userPrincipalName',
    'search_dn' => 'DC=domain2,DC=local',
    'search_bind_rdn' => 'uid=user,dc=domain2,dc=local',
    'search_bind_password' => '*password*',
    'displayname_attrs' => 'cn',
    'group_attr' => 'memberof',
    'group_filter' => '/^[Cc][Nn]=([^,]+)/',
    'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3, LDAP_OPT_REFERRALS => 0),
    'use_tls' => 0,
    )
  )
);

auth.php (25,935 bytes)
syunwei

syunwei

2019-07-19 11:43

reporter   ~0003983

I tried you method. It not works on my racktables, version 0.21.3.
It pop-up login windows, no domain account can access.
Anything I need change?
Lucky

Lucky

2019-07-30 19:00

reporter   ~0003985

i have 0.21.11 and auth.php was modified for this version... later i try to create it as patch

Issue History

Date Modified Username Field Change
2017-03-23 18:45 allywilson New Issue
2018-10-12 17:42 Lucky File Added: auth.php
2018-10-12 17:42 Lucky Note Added: 0003825
2019-07-19 11:43 syunwei Note Added: 0003983
2019-07-30 19:00 Lucky Note Added: 0003985