Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-ldapimport
Commits
add5d84b
Commit
add5d84b
authored
Apr 09, 2012
by
Jim Brandt
Browse files
Adding back docs for this feature.
parent
3d28a203
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/Extension/LDAPImport.pm
View file @
add5d84b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment