Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding back docs for this feature.

  • Loading branch information...
commit add5d84bebe5f7ac09a3222847b3821ae1296513 1 parent 3d28a20
Jim Brandt authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 lib/RT/Extension/LDAPImport.pm
View
17 lib/RT/Extension/LDAPImport.pm
@@ -18,6 +18,23 @@ use Data::Dumper;
RT::Extension::LDAPImport - Import Users from an LDAP store
+=head1 CONFIGURATION
+
+If the LDAP group field you are mapping to doesn't have a
+simple username, you provide a regex to pull the name out
+with Member_Attr_Regex. The capture value in the regex will be
+used to find the username.
+
+ Set($LDAPGroupMapping, {Name => 'cn',
+ Member_Attr => 'member',
+ Member_Attr_Value => 'dn'
+ Member_Attr_Regex => qr/^cn=(\w+)\,/,
+ });
+
+The above would pull the name out of an entry something like
+
+ cn=somename,ou=company
+
=head1 METHODS
=head2 connect_ldap
Please sign in to comment.
Something went wrong with that request. Please try again.