Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt-extension-ldapimport
Commits
9fe3117c
Commit
9fe3117c
authored
Sep 12, 2013
by
Kevin Falcone
Browse files
Minimal docs to pass tests
parent
bec9923d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
README
README
+8
-0
lib/RT/Extension/LDAPImport.pm
lib/RT/Extension/LDAPImport.pm
+14
-0
No files found.
README
View file @
9fe3117c
...
...
@@ -483,6 +483,14 @@ METHODS
There is currently no way to prevent Group data from being clobbered
from LDAP.
find_rt_group
Loads groups by Name and by the specified LDAP id. Attempts to resolve
renames and other out-of-sync failures between RT and LDAP.
find_rt_group_by_ldap_id
Loads an RT::Group by the ldap provided id (different from RT's internal
group id)
add_group_members
Iterate over the list of values in the "Member_Attr" LDAP entry. Look up
the appropriate username from LDAP. Add those users to the group. Remove
...
...
lib/RT/Extension/LDAPImport.pm
View file @
9fe3117c
...
...
@@ -1240,6 +1240,13 @@ sub create_rt_group {
}
=head3 find_rt_group
Loads groups by Name and by the specified LDAP id. Attempts to resolve
renames and other out-of-sync failures between RT and LDAP.
=cut
sub
find_rt_group
{
my
$self
=
shift
;
my
%args
=
@_
;
...
...
@@ -1309,6 +1316,13 @@ sub find_rt_group {
return
$other_group
||
RT::
Group
->
new
(
$
RT::
SystemUser
);
}
=head3 find_rt_group_by_ldap_id
Loads an RT::Group by the ldap provided id (different from RT's internal group
id)
=cut
sub
find_rt_group_by_ldap_id
{
my
$self
=
shift
;
my
$id
=
shift
;
...
...
Write
Preview
Markdown
is supported
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