[ZendTo] Re: redirected to documentroot after successfull authentication

Frank Bonnet f.bonnet at esiee.fr
Tue Dec 11 13:46:55 GMT 2012


I use IMAP authentication in preferences.php


# grep -i imap preferences.php
   // all the users that can authenticate with AD/IMAP/LDAP and so on.
   'authenticator' => 'IMAP',
   // Settings for the IMAP authenticator.
   // simply set 'authIMAPDomain' => '' and it will treat their full
   // for other changes see flags for PHP function "imap_open" on php.net.
   // 'authenticator' => 'IMAP',
   'authIMAPServer' => 'mail.esiee.fr:993/ssl',
   'authIMAPDomain' => 'esiee.fr',
   'authIMAPOrganization' => 'ESIEE Paris',
   'authIMAPAdmins'  => array(),


>


On 12/11/2012 02:35 PM, Jules wrote:
>
> On 11/12/2012 12:47, Frank Bonnet wrote:
>> On 12/11/2012 01:32 PM, Jules wrote:
>>> Are you absolutely sure you've got the latest beta?
>>
>> I think so
>>
>>>
>>> Otherwise, just edit the "var loginForm" line to show what it does 
>>> in my version below instead of what you've got.
>>> That will fix it.
>>>
>>
>> OK we move forward ,
>> now I get an authentication error but I'm still at login page
>> Should I debug the auth error in some logfile  ?
> Have you set up the authentication in preferences.php? What 
> authentication method and database backed have you chosen. If you're 
> using local authentication, have you created a user with the scripts 
> in /opt/zendto/bin yet?
>>
>> thanks
>>
>>
>>> Jules.
>>>
>>> On 11/12/2012 12:19, Frank Bonnet wrote:
>>>> I get this
>>>>
>>>>
>>>> # grep loginForm main.js
>>>>         if( $('#loginForm').length > 0 ) return false;
>>>>         var loginForm = $('<form>', { id: 'loginForm', 
>>>> 'method':'post', 'action': window.location.protocol + '//' + 
>>>> window.location.host });
>>>>         loginForm.append(un_label, uname, pw_label, password, login);
>>>>         $('#container').prepend(loginForm);
>>>>         $(loginForm).after(
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 12/11/2012 10:29 AM, Jules wrote:
>>>>> If you do this
>>>>>       cd /opt/zendto/www/js
>>>>>       grep loginForm main.js
>>>>> do you get a line output (among others) that says this:
>>>>> var loginForm = $('<form>', { id: 'loginForm', 'method':'post',
>>>>> 'action': '.' });
>>>>> ?
>>>>> If so, it should redirect back to the ZendTo homepage and not the
>>>>> DocumentRoot of the virtualhost.
>>>>>
>>>>> Jules.
>>>>>
>>>>> On 11/12/2012 08:50, Frank Bonnet wrote:
>>>>>> Hello again
>>>>>>
>>>>>> Now the authentication seems OK but after being authenticated
>>>>>> the browser is redirected to the documentroot of the apache server
>>>>>> instead of zendto homepage ...
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> ZendTo mailing list
>>>>>> ZendTo at zend.to
>>>>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>>>>
>>>>>> Jules
>>>>>>
>>>>>> -- 
>>>>>> Julian Field MEng MBCS CITP CEng
>>>>>> www.Zend.To
>>>>>>
>>>>>> Twitter: @JulesFM
>>>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>>>>>
>>>>>> Fair Isle: North or northwest 4 or 5. Moderate, occasionally rough at first.
>>>>>> Wintry showers. Good, occasionally poor.
>>>>> _______________________________________________
>>>>> ZendTo mailing list
>>>>> ZendTo at zend.to
>>
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>> Jules
>>
>> -- 
>> Julian Field MEng MBCS CITP CEng
>> www.Zend.To
>>
>> Twitter: @JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> 'All programs have a desire to be useful' - Tron, 1982
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


-- 
CYBERDROID Inc.

Frank BONNET

01.45.92.66.17

Service des Moyens Informatiques Generaux

ESIEE PARIS
Cité Descartes / BP 99
93162 NOISY-LE-GRAND Cedex
http://www.esiee.fr <http://www.esiee.fr/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121211/ef41bd6a/attachment-0001.html 


More information about the ZendTo mailing list