[Rt-commit] rt branch, 5.0/add-ldapbase-to-config, created. rt-5.0.0alpha1-29-g81cbaecf0

Michel Rodriguez michel at bestpractical.com
Wed Mar 18 13:06:22 EDT 2020


The branch, 5.0/add-ldapbase-to-config has been created
        at  81cbaecf09e0d6901cb026bb1206e47055c063a9 (commit)

- Log -----------------------------------------------------------------
commit ae6fc9a9d938e114e3c7f4a29189014e381be921
Author: michel <michel at bestpractical.com>
Date:   Wed Mar 18 14:55:12 2020 +0100

    Add LDAPBase description to the config file.

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 9bed2dbd1..199b1434e 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -3576,6 +3576,14 @@ Example:
 
 Password for LDAPUser.
 
+=item C<$LDAPBase>
+
+The LDAP search base.
+
+Example:
+
+    Set($LDAPBase, 'ou=Organisational Unit,dc=domain,dc=TLD');
+
 =item C<$LDAPFilter>
 
 The filter to use when querying LDAP for the set of users to sync.

commit 81cbaecf09e0d6901cb026bb1206e47055c063a9
Author: michel <michel at bestpractical.com>
Date:   Wed Mar 18 17:21:18 2020 +0100

    Use String widget for LDAPBase.

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index c09cd117f..b07224dd5 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -1686,6 +1686,9 @@ our %META;
     LDAPPassword => {
         Widget => '/Widgets/Form/String',
     },
+    LDAPBase => {
+        Widget => '/Widgets/Form/String',
+    },
     LDAPGroupBase => {
         Widget => '/Widgets/Form/String',
     },

-----------------------------------------------------------------------


More information about the rt-commit mailing list