X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=README;h=dee0dd459c1c65d98953ef3ddfb85ed2d73ad9d3;hp=985e61fb65725549233bd2a7e2737ea119745eb4;hb=ba9db0ee32da23d842c080b6202a9f26f4cd7cfa;hpb=51297aff788b3f0f524cef618122ec34f5a93a0e;ds=sidebyside diff --git a/README b/README index 985e61f..dee0dd4 100644 --- a/README +++ b/README @@ -2,8 +2,9 @@ Virtual LDAP is set of perl scripts which allows you to augment data in your existing LDAP server (which you don't want to modify) using ldap-rewrite.pl (supporting rewrite of bind request, search requests and responses). -Alternative usage is to expose SQL database (currently Koha database with uses) -to some other system as LDAP server. +Alternative usage is to expose SQL database (currently Koha database with users) +to some other system as LDAP server. This supports arbitrary number of objectClass +objects (one per SQL file) and allows export of groups from RDBMS to LDAP groups. Install with: @@ -19,10 +20,19 @@ If you need to augment or mungle LDAP from upstream server start: ./bin/ldap-rewrite.pl +You might want to edit configuration at top of script itself, especially +overlay_prefix if you want your YAML data to be without it. + To augment data with your own, you should create files yaml/uid=login,dc=example,dc=com +If you have test user in your LDAP edit configuration file and run tests: + + cp t/config.pl.template t/config.pl + vi t/config.pl + ./t/ldap-rewrite.t + If you want to expose MySQL Koha database as LDAP server start: