Tags
There are no tags for this page.
Attachments
KOHA
LDAP rewrite
Dio Koha virtual ldap repozitorja:
http://svn.rot13.org/index.cgi/virtual-ldap/log/bin/ldap-rewrite.pl
features
- rewrite LDAP bind request cn: username@domain.com -> uid=username,dc=domain,dc=com
- rewrite search responses:
- expand key:value pairs from hrEduPersonUniqueNumber into hrEduPersonUniqueNumber_key
- augment response with yaml/dn.yaml data (for external data import)
start
dpavlin@koha-upgrade:/srv/virtual-ldap$ ./bin/ldap-rewrite.pl
# config = {
"listen" => "localhost:1389",
log_file => "log",
overlay_prefix => "ffzg-",
upstream_ldap => "ldap.ffzg.hr",
upstream_ssl => 1,
yaml_dir => "./yaml/",
} at ./bin/ldap-rewrite.pl line 59.
changes
|