Wednesday, March 7, 2012

SimpleSAMLphp & Active Directory

For various reasons, the LDAP driver in simpleSAMLphp doesn't have referrals enabled, which causes an LDAP search to fail if your search base isn't the exact tree your users are in, i.e. searching 'dc=example,dc=com'

In the file:

/simplesamlphp/lib/SimpleSAML/Auth/LDAP.php


Add


@ldap_set_option($this->ldap, LDAP_OPT_REFERRALS,0); 


After the ldap_connect() line






If this has been helpful to anyone, let me know and I'll post some more SimpleSAMLphp tutorials

Tuesday, March 6, 2012

Vufind + Koha 3.4

Trying to integrate Koha 3.4 and Vufind?

I had an issue that the Koha driver bundled with vufind wouldn't pick up the ILS holding information.

Requires 1 fix,

In import/marc_local.properties

Add the line

id = 999c, first

That will correct the metadata lookup in the MARC field to correspond with the correct field from Koha MARC export.