/[A3C]/bin/import-ldap.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /bin/import-ldap.pl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 175 - (view) (annotate) - [select for diffs]
Modified Mon Jun 16 16:49:30 2008 UTC (15 years, 9 months ago) by dpavlin
File length: 2003 byte(s)
Diff to previous 141 , to selected 7
make --strix option more clever

First import all hrEduOrg organizations from LDAP and then
sync organizations which have strix site

Revision 141 - (view) (annotate) - [select for diffs]
Modified Fri May 30 22:46:53 2008 UTC (15 years, 10 months ago) by dpavlin
File length: 1960 byte(s)
Diff to previous 132 , to selected 7
When run with

./bin/import-ldap.pl --strix

it will import just organization which have strix site (which assume that
you allready imported strix sites before running this command)

Revision 132 - (view) (annotate) - [select for diffs]
Modified Thu May 29 22:37:20 2008 UTC (15 years, 10 months ago) by dpavlin
File length: 1568 byte(s)
Copied from: bin/ldap.pl revision 116
Diff to previous 116 , to selected 7
rename import script to more descriptive name

Revision 116 - (view) (annotate) - [select for diffs]
Modified Thu May 15 17:38:13 2008 UTC (15 years, 10 months ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1568 byte(s)
Diff to previous 111 , to selected 7
warn when we can't find some of columns in model istead
of dieing in ugly death

Revision 111 - (view) (annotate) - [select for diffs]
Modified Wed May 14 16:50:02 2008 UTC (15 years, 10 months ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1460 byte(s)
Diff to previous 106 , to selected 7
cleanup code a bit, better error info

Revision 106 - (view) (annotate) - [select for diffs]
Modified Thu May 1 17:06:02 2008 UTC (15 years, 11 months ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1400 byte(s)
Diff to previous 61 , to selected 7
massive re-structuring to enable models specified in configuration file

- version bump [0.04]
- SyncOrganization now accept org_uid as argument
- objectClass(es) for person and organization are now in config.yml
  as well as link between them (filter on person)
- config.yml is now checked for validity in A3C::LDAP

Revision 61 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 21:32:34 2008 UTC (15 years, 11 months ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1194 byte(s)
Diff to previous 60 , to selected 7
removed debug


Revision 60 - (view) (annotate) - [select for diffs]
Modified Wed Apr 2 17:38:52 2008 UTC (15 years, 11 months ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1224 byte(s)
Diff to previous 48 , to selected 7
by default sync all organizastions and than users from
organization, one by one


Revision 48 - (view) (annotate) - [select for diffs]
Modified Mon Mar 31 21:50:52 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 547 byte(s)
Diff to previous 44 , to selected 7
new API, new version [0.03]

Revision 44 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 21:59:34 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 538 byte(s)
Diff to previous 42 , to selected 7
- removed limit for syncing
- specify model to sync from command line


Revision 42 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 16:58:21 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 417 byte(s)
Diff to previous 36 , to selected 7
- move all LDAP-related logic in A3C::LDAP
- remove logic to link User and Organization
- ldap search base is now configurable in config.yml

Revision 36 - (view) (annotate) - [select for diffs]
Modified Sun Mar 30 00:02:18 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1542 byte(s)
Diff to previous 34 , to selected 7
move LDAP stuff in own package

Revision 34 - (view) (annotate) - [select for diffs]
Modified Tue Mar 18 19:22:50 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1937 byte(s)
Diff to previous 32 , to selected 7
much more informative messages when importing data

Revision 32 - (view) (annotate) - [select for diffs]
Modified Tue Mar 18 19:03:53 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1911 byte(s)
Diff to previous 30 , to selected 7
- move organisations in own model
- more general ldap2model sub will try to fill model with ldap entry data

Revision 30 - (view) (annotate) - [select for diffs]
Modified Tue Mar 18 16:43:14 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1682 byte(s)
Diff to previous 28 , to selected 7
 r32@llin:  dpavlin | 2008-03-18 17:28:45 +0100
 changed default limit to 100 users


Revision 28 - (view) (annotate) - [select for diffs]
Modified Mon Mar 17 21:42:21 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1680 byte(s)
Diff to previous 26 , to selected 7
just blindly create record in hope of speedup


Revision 26 - (view) (annotate) - [select for diffs]
Modified Mon Mar 17 13:20:37 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1630 byte(s)
Diff to previous 25 , to selected 7
use politically correct shift_entry which doesn't seem to decreate memory usage


Revision 25 - (view) (annotate) - [select for diffs]
Modified Mon Mar 17 13:06:40 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1586 byte(s)
Diff to previous 22 , to selected 7
ignore objectClass by popular demand (mvela)


Revision 22 - (view) (annotate) - [select for diffs]
Modified Sun Mar 16 21:32:39 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1552 byte(s)
Diff to previous 17 , to selected 7
- added --limit to controll number of entries imported
- fixed bind so we can transfer whole LDAP database
- better logging


Revision 17 - (view) (annotate) - [select for diffs]
Modified Thu Mar 13 19:21:21 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1413 byte(s)
Diff to previous 11 , to selected 7
cleanup and report errors via error log


Revision 11 - (view) (annotate) - [select for diffs]
Modified Thu Mar 13 14:22:53 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1301 byte(s)
Diff to previous 10 , to selected 7
rename application from CAdmin -> A3C, version bump [0.02]


Revision 10 - (view) (annotate) - [select for diffs]
Modified Thu Mar 13 14:08:41 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1304 byte(s)
Diff to previous 9 , to selected 7
remove mandatory from hrEduPersonUniqueNumber and mark it as bug


Revision 9 - (view) (annotate) - [select for diffs]
Modified Thu Mar 13 14:00:40 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1302 byte(s)
Diff to previous 8 , to selected 7
debug logging via Jifty->log->debug


Revision 8 - (view) (annotate) - [select for diffs]
Modified Thu Mar 13 13:49:41 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1230 byte(s)
Diff to previous 7
take ldap config from etc/site_config.yml


Revision 7 - (view) (annotate) - [selected]
Modified Thu Mar 13 13:12:46 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 1015 byte(s)
Diff to previous 5
first try at script which imports data from ldap


Revision 5 - (view) (annotate) - [select for diffs]
Added Wed Mar 12 23:14:13 2008 UTC (16 years ago) by dpavlin
Original Path: bin/ldap.pl
File length: 533 byte(s)
Diff to selected 7
more-or-less copy/paste from Net::LDAP pod


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26