From: Matthew G. <mat...@gm...> - 2008-03-29 18:58:59
|
For the LDAP changes, I have access to an AD that I can test against and will give it a go next week. On Sat, 2008-03-29 at 17:14 +0100, Franky Van Liedekerke wrote: > Hi all, > > for the database updates: the code is already in svn, and should even > work for older versions (from 1.8.2 onwards). > If you log in as administrator, you will see only one link when a db > update is needed. It is basic, but fully functional. > I haven't added the prefix script yet, that is for later. > I would appreciate some testing from you guys ... > > Franky > > > On Sat, 29 Mar 2008 11:57:48 +0100 > Franky Van Liedekerke <lie...@te...> wrote: > > > Hi, > > > > I changed some parts of the phpESP config: > > > > - You can now do authenticated ldap binds when searching for the uid, > > MS AD needs this (is more secure than anonymous binds anyway) > > > > - A default config file has been added (admin/phpESP.ini.php.default), > > your own changes should go into admin/phpESP.ini.php. The advantage is > > that new options can be added to the default file and you don't need > > to change anything to your own config file. Also a fixed part has been > > added (admin/phpESP.ini.php.fixed) containing values that should not > > be changed. > > The sequence is: > > require (phpESP.ini.php.default); > > ==> defaults, gets overwritten every new release > > require (phpESP.ini.php); > > ==> your own values, never gets overwritten > > require (phpESP.ini.php.fixed); > > ==> fixed parts, you can change these, but they get > > overwritten every new release > > > > > > Now I also plan an easier update: > > 1) read config files > > 2) check version of phpesp in db with the one in phpESP.ini.fixed > > if version table in db doesn't exist > > ==> suggest version=2.0.2, is changeable > > if version table in db exists ==> take that one > > 3) show a link to take db backup if wanted > > 4) show a link to execute the update scenario: 2.0.2==>2.0.3, > > 2.0.3==>2.0.4, ... for this, the update db scripts need to be parsed > > and the DB prefix added if needed > > 5) if update ok and tables contain no prefix: show link to script for > > prefix update, and warns it needs to be changed in the config file > > when executed > > > > Any comments? > > > > Franky > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > phpESP-devel mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpesp-devel > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel -- Matthew Gregg <mat...@gm...> |