[Xerte] Access via LDAP

Costas Calcanis ccalcanis at redbridge-college.ac.uk
Fri May 1 11:08:01 BST 2009


Hello All,

Thank you for all your suggestions.

The LDAP module wasn't enabled in the default XAMPP installation. After
editing the php.ini file LDAP is working now.

Costas


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 30 April 2009 16:57
To: Xerte discussion list
Subject: RE: [Xerte] Access via LDAP

I don't use cookies.

Here is basically how index.php works

If anything post - no, well draw the page

Is anything posted - yes - well check to see what it is

Is what is posted (password, username) correct, then draw the page with
the projects on.

If you've put xampp onto a server, the reason is because XAMPP usually
doesn't have LDAP installed.

Does your PHP info have an ldap section?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: 30 April 2009 16:51
To: Xerte discussion list
Subject: RE: [Xerte] Access via LDAP

I don't see a PHP error there, but the cookie expiration date is in the
past. Maybe that's the problem?

Paul

> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> bounces at lists.nottingham.ac.uk] On Behalf Of Costas Calcanis
> Sent: Thursday, April 30, 2009 8:15 AM
> To: Xerte discussion list
> Subject: RE: [Xerte] Access via LDAP
> 
> Hi Pat,
> 
> Thanks for the suggestion.
> 
> Installed Fiddler, I guess it confirms that there is a PHP error. The
> request and response is listed below:
> 
> POST /xertetoolkits/ HTTP/1.1
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/x-ms-application, application/x-ms-xbap,
> application/vnd.ms-xpsdocument, application/xaml+xml, */*
> Referer: http://el-xerte/xertetoolkits/
> Accept-Language: en-gb
> Content-Type: application/x-www-form-urlencoded
> UA-CPU: x86
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET
CLR
> 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
> 3.5.30729)
> Connection: Keep-Alive
> Content-Length: 32
> Host: el-xerte
> Pragma: no-cache
> 
> login=abc&password=def&x=38&y=13
> 
> 
> 
> HTTP/1.1 200 OK
> Date: Thu, 30 Apr 2009 15:06:13 GMT
> Server: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i
> mod_autoindex_color PHP/5.2.8
> X-Powered-By: PHP/5.2.8
> Set-Cookie: PHPSESSID=cf06af497367d09b0b4466215ece9e4f; path=/
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
> check=0
> Pragma: no-cache
> Content-Length: 0
> Keep-Alive: timeout=5, max=98
> Connection: Keep-Alive
> Content-Type: text/html
> 
> 
> As you can see nothing is returned. We use XAMPP (unmodified).
> 
> Has anyone else experienced problems with LDAP and Xerte? We need help
> with the settings.
> 
> Thanks
> 
> Costas
> 
> 
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: 30 April 2009 15:22
> To: Xerte discussion list
> Subject: RE: [Xerte] Access via LDAP
> 
> Hello,
> 
> First off - use integration.txt for single sign on - no more no less.
> 
> The blank page sounds like you have a PHP error that is causing the
> script to die?
> 
> Have you got fiddler installed so you can track what the server is
> doing?
> 
> Thanks
> 
> Pat
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> bounces at lists.nottingham.ac.uk] On Behalf Of Costas Calcanis
> Sent: 30 April 2009 15:11
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Access via LDAP
> 
> Hello Xerte List,
> 
> 
> We have installed Xerte online toolkit v1.0. Guest access works like a
> charm without any problems.
> 
> However, we are experiencing difficulties when trying to use LDAP. Not
> sure where the problem is.
> 
> When attempting to log in using the "login area" form, upon clicking
on
> Sign in a blank page is returned.
> 
> We are using the original index.php (or integration.txt) file and not
> the demo.txt file.
> 
> Below are the LDAP settings that we use:
> 
> LDAP settings are:
> LDAP_preference: sAMAccountName
> LDAP_filter: cn=
> ldap_host: xxxx (hostname)
> ldap_port: 389
> bind_pwd: xxxx (password)
> basedn: dc=xxxx, ou=xxxx
> bind_dn: xxxxx (username)
> 
> 
> Help and suggestions are welcomed.
> 
> 
> Regards
> 
> Costas Calcanis
> 
> E-Learning
> Redbridge College
> 
> ______________________________________________________________________
> The views expressed in this e-mail are those of the individual and not
> necessarily of Redbridge College. The information contained in this
> message or any of its attachments may be privileged and confidential
> and intended for the exclusive use of the addressee.
> If you are not the intended addressee any disclosure, reproduction,
> distribution or other dissemination or use of this communication is
> strictly prohibited. Please notify the sender immediately by replying
> to the message and deleting it from your computer. Messages sent to
and
> from Redbridge College may be monitored.
> Internet communications cannot be guaranteed to be secured or error-
> free as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. Please rely on your own
> virus checker and procedures with regard to any attachment to this
> message.
> ______________________________________________________________________
> This email has been scanned for viruses by the Email Protection
Agency.
> For more information please visit http://www.epagency.net
>
_______________________________________________________________________
> ______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> ______________________________________________________________________
> This email has been scanned for viruses by Redbridge College Network
> Services
>
______________________________________________________________________<
> ______________________________________________________________________
> The views expressed in this e-mail are those of the individual and not
> necessarily of Redbridge College. The information contained in this
> message or any of its attachments may be privileged and confidential
> and intended for the exclusive use of the addressee.
> If you are not the intended addressee any disclosure, reproduction,
> distribution or other dissemination or use of this communication is
> strictly prohibited. Please notify the sender immediately by replying
> to the message and deleting it from your computer. Messages sent to
and
> from Redbridge College may be monitored.
> Internet communications cannot be guaranteed to be secured or error-
> free as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. Please rely on your own
> virus checker and procedures with regard to any attachment to this
> message.
> ______________________________________________________________________
> This email has been scanned for viruses by the Email Protection
Agency.
> For more information please visit http://www.epagency.net
>
_______________________________________________________________________
> ______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
______________________________________________________________________
This email has been scanned for viruses by Redbridge College Network
Services
______________________________________________________________________<
______________________________________________________________________
The views expressed in this e-mail are those of the individual and not necessarily of Redbridge College. The information contained in this message or any of its attachments may be privileged and confidential and intended for the exclusive use of the addressee. 
If you are not the intended addressee any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. Please notify the sender immediately by replying to the message and deleting it from your computer. Messages sent to and from Redbridge College may be monitored.   
Internet communications cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Please rely on your own virus checker and procedures with regard to any attachment to this message.
______________________________________________________________________
This email has been scanned for viruses by the Email Protection Agency.
For more information please visit http://www.epagency.net
______________________________________________________________________


More information about the Xerte mailing list