[Tickets #11635] Re: ActiveSync AutoProvision - User name / email address option for AutoDiscovery not honoured

bugs at horde.org bugs at horde.org
Tue Nov 6 20:57:03 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11635
------------------------------------------------------------------------------
  Ticket             | 11635
  Updated By         | horde at agotnes.com
  Summary            | ActiveSync AutoProvision - User name / email address
                     | option for AutoDiscovery not honoured
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


horde at agotnes.com (2012-11-06 20:57) wrote:

Progress! :)

I applied a couple of the patches you made overnight manually against  
2.0.2 which I'm running;

http://git.horde.org/horde-git/-/commit/0e7e68077813b44f2a52bf673a992187992e38c6

Firstly I found that the log entry added simply did not appear,  
leading me to believe the code wasn't executed. See the last small  
patch for more on that;

Once I made the small change in the last patch below

I had to remove the log entry here as the _logger object doesn't seem  
initialised. You might have done so in another patch I missed, once  
the log statement was commented out things went quite well :) Error  
below;
PHP Fatal error:  Call to a member function debug() on a non-object in  
/usr/share/php/Horde/ActiveSync/Request/Autodiscover.php on line 40

http://git.horde.org/horde-git/-/commit/2276673c168f530bb734830a8a15ec7923a9a0ea
This one I applied and am now running with

I also found a couple of error messages from of all things Ingo when  
auto-provisioning. I get these when logging in to Imp, but as I don't  
use Ingo much I've yet to dig into these and fix them. I thought it  
odd to get Ingo messages when AS was kicking in and thought it might  
be that autodiscover wasn't picked up - so what I found was that in my  
rpc.php in the web directory it still matched using strpos, not  
stripos for auto discovery;

line 36 in rpc.php changed;
    (stripos($_SERVER['REQUEST_URI'], 'autodiscover/autodiscover.xml')  
!== false)) {
(add 'i')

And with this I now get auto-provisoning going for iOS6.0.1!

I see this is patched in;
http://git.horde.org/commit.php/?rt=horde-git&commit=a86c01f0a9aafc49fd14215174bc5676b305df3b

already, but obviously not yet released as I just ran the upgrade of  
all components :)

So I've now got a manually hacked version which works and only need  
the relevant fixes (incl I guess a logging init somewhere) released  
going before AutoProv is fully going :)

Hope my early morning notes makes sense :)





More information about the bugs mailing list