/[A3C]/bin/ldap2model.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/ldap2model.pl

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 108 - (view) (annotate) - [select for diffs]
Modified Fri May 2 14:38:45 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 4549 byte(s)
Diff to previous 105
- don't insert single-value comment (corrupts model)
- comment out filter for arrays (doesn't work yet)
- create array of values for test data (which get squashed into scalar by Jifty currently)

Revision 105 - (view) (annotate) - [select for diffs]
Modified Thu May 1 16:31:00 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 4391 byte(s)
Diff to previous 103
added pod usage, debug won't touch filesystem any more

Revision 103 - (view) (annotate) - [select for diffs]
Modified Thu May 1 14:30:06 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 3916 byte(s)
Diff to previous 102
added command-line options and ability to pull schema from LDAP server

Example usage is now:

./bin/ldap2model.pl --model hrEduOrg

to pull hrEduOrg objectClass from LDAP server or

./bin/ldap2model.pl --model hrEduOrg --path data/all.ldif

to use ldif instead (server is prefered in on-line situations)

Revision 102 - (view) (annotate) - [select for diffs]
Modified Thu May 1 13:41:44 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 3633 byte(s)
Diff to previous 99
create tests with required columns (must from LDAP) and
accessor name if not included (by default, it's id)

Revision 99 - (view) (annotate) - [select for diffs]
Modified Wed Apr 30 23:44:43 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 1769 byte(s)
Diff to previous 98
create Jifty model skeleton from LDAP schema

- create all attributes from LDAP
- generate accessor for aliases in LDAP

Revision 98 - (view) (annotate) - [select for diffs]
Added Wed Apr 30 21:27:54 2008 UTC (11 years, 8 months ago) by dpavlin
File length: 1161 byte(s)
minimal LDAP schema to Jifty model generator

We are not using dynamic class generation (a.k.a. Jifty magic)
here because models generated this way will probably have to be
manually edited anyway.

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