Skip to content
Browse files

Adding back docs for this feature.

  • Loading branch information...
1 parent 3d28a20 commit add5d84bebe5f7ac09a3222847b3821ae1296513 @cbrandtbuffalo cbrandtbuffalo committed
Showing with 17 additions and 0 deletions.
  1. +17 −0 lib/RT/Extension/
17 lib/RT/Extension/
@@ -18,6 +18,23 @@ use Data::Dumper;
RT::Extension::LDAPImport - Import Users from an LDAP store
+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

0 comments on commit add5d84

Please sign in to comment.
Something went wrong with that request. Please try again.