[Xerte-dev] Re: upgrading and ldap

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Aug 9 09:55:45 BST 2012


Ron, would you mind documenting this process thoroughly, as you find out how to do it, because this is going to come up a lot. If we get one good, thorough set of instructions it will save us a load of pain. Maybe there is an upgrade script or something we could write?

Thanks,

Julian

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 08 August 2012 18:29
To: 'For Xerte technical developers'
Subject: [Xerte-dev] upgrading and ldap

Hi all
I had a chance to test an upgrade to 1.8 of a previous 1.7 install which uses ldap today. The previous and working install had the ldap values in site details rather than the separate ldap table.

Upgrade process:
drop code over top
this then defaults to guest access but useful for checking the basics work
change from guest to ldap in config.php by commenting/un-commenting the relevant line
refresh index.php and try to login via ldap
get error message LDAP servers not configured in DB
visit management.php and check - ldap details displayed but not saved to ldap table in db - clearly coming from site-details
try running upgrade.php indicates nothing to upgrade

Questions:
1. what's the process for transferring the ldap details from site_details to ldap table for an existing install?
In this case I can enter direct in the db but that's surely not the intended method?

2. In the ldap table what typically goes in ldap_knowname?

Cheers
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120809/513c63e1/attachment.html>


More information about the Xerte-dev mailing list