[Bps-public-commit] RT-Extension-LDAPImport branch, master, updated. 0.20_01-32-g6b1a7e9
Kevin Falcone
falcone at bestpractical.com
Thu Jul 29 12:11:03 EDT 2010
The branch, master has been updated
via 6b1a7e94a6f39582f72f72500b1f1ca0103fb848 (commit)
via 05797c27f4e379243508ff4b9eb75d95c2892c03 (commit)
via 3145fae3b9ec40a25e3ef21d663516f6f6e91337 (commit)
from 86d4875988177bdab697f0f41ae8f95fe0001c42 (commit)
Summary of changes:
MANIFEST | 7 +++++++
MANIFEST.SKIP | 5 ++++-
META.yml | 2 +-
README | 16 ++++++++++++++++
lib/RT/Extension/LDAPImport.pm | 2 +-
5 files changed, 29 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 3145fae3b9ec40a25e3ef21d663516f6f6e91337
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Jul 29 12:10:20 2010 -0400
Talk about group variables
diff --git a/README b/README
index 1684ba4..a172fdb 100644
--- a/README
+++ b/README
@@ -80,6 +80,22 @@ users. This setting overrides $LDAPUpdateUsers but skips users
who can't be found in RT.
Set($LDAPUpdateOnly,1);
+Where to search for groups to import
+ Set($LDAPGroupBase, 'ou=Groups,o=Our Place');
+
+The search filter to apply (in this case, find all the bobs)
+ Set($LDAPGroupFilter, '(&(cn = bob*))');
+
+A mapping of
+Attribute in RT => Attribute in LDAP
+(this has changed since version 1, which was the other way around)
+ Set($LDAPGroupMapping, {Name => 'cn',
+ Member_Attr => 'member'});
+
+The mapping logic is the same as the LDAPMapping.
+There is one important special-case variable, Member_attr
+Use this to tell the importer which attribute will contain DNs of group members
+
RUNNING THE IMPORT
If RT is not installed in /opt/rt3, you will need to change the
commit 05797c27f4e379243508ff4b9eb75d95c2892c03
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Jul 29 12:11:28 2010 -0400
update skips
diff --git a/MANIFEST b/MANIFEST
index 5938f45..af17b7e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,8 +1,12 @@
+bin/rtldapimport.in
Changes
+inc/Module/AutoInstall.pm
inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/RTx.pm
@@ -17,5 +21,8 @@ MANIFEST.SKIP
META.yml # Will be created by "make dist"
README
t/00.load.t
+t/group-import.t
+t/lib/RT/Extension/LDAPImport/Test.pm.in
t/pod-coverage.t
t/pod.t
+t/user-import.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 0dcad9d..965de30 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -34,4 +34,7 @@
\bcover_db\b
#!end included /opt/local/lib/perl5/5.8.9/ExtUtils/MANIFEST.SKIP
-bin/rtldapimport
+bin/rtldapimport$
+t/lib/RT/Extension/LDAPImport/Test.pm$
+
+t/tmp/
commit 6b1a7e94a6f39582f72f72500b1f1ca0103fb848
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Jul 29 12:10:32 2010 -0400
Bump version for lots of new features
diff --git a/META.yml b/META.yml
index b22d22f..42557f8 100644
--- a/META.yml
+++ b/META.yml
@@ -28,4 +28,4 @@ requires:
Test::More: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.20_01
+version: 0.30_01
diff --git a/lib/RT/Extension/LDAPImport.pm b/lib/RT/Extension/LDAPImport.pm
index 017e406..5e5711c 100644
--- a/lib/RT/Extension/LDAPImport.pm
+++ b/lib/RT/Extension/LDAPImport.pm
@@ -1,6 +1,6 @@
package RT::Extension::LDAPImport;
-our $VERSION = '0.20_01';
+our $VERSION = '0.30_01';
use warnings;
use strict;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list