Re-insert useldapserver into koha-conf.xml
authorJoe Atzberger <joe.atzberger@liblime.com>
Mon, 13 Apr 2009 22:05:49 +0000 (17:05 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Sat, 18 Apr 2009 13:21:01 +0000 (08:21 -0500)
This doesn't insert the large and typically unused <ldapserver> block,
just the switch with a comment pointing to C4::Auth_with_ldap.  This otherwise
was undocumented requirement, making LDAP config a bit of a shot in the dark.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>

C4/Auth_with_ldap.pm
etc/koha-conf.xml

index a9fb2f2..3eb801b 100644 (file)
@@ -307,6 +307,7 @@ Example XML stanza for LDAP configuration in KOHA_CONF.
 
  <config>
   ...
+  <useldapserver>1</useldapserver>
   <!-- LDAP SERVER (optional) -->
   <ldapserver id="ldapserver">
     <hostname>localhost</hostname>
index 3c4da9c..e627fc6 100644 (file)
@@ -190,5 +190,6 @@ __PAZPAR2_TOGGLE_XML_POST__
  <logdir>__LOG_DIR__</logdir>
  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
  <install_log>__MISC_DIR__/koha-install-log</install_log>
+ <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
 </config>
 </yazgfs>