[Xerte] Re: LDAP [Scanned]

Ron Mitchell ronm at mitchellmedia.co.uk
Thu May 26 00:17:23 BST 2011


I've also just replaced the current index.php with one from an older install
so now with old login_library and older index.php ldap is working and
including the first name and last name

as usual would be good to know if these issues have/are affecting anyone
else using the latest 1.6?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 26 May 2011 00:06
To: 'Xerte discussion list'
Subject: [Xerte] Re: LDAP [Scanned]

Hi Pat
I'm struggling to find the solution here but a few comments/thoughts...

1. What this does seem to verify is that there's nothing wrong with the LDAP
settings as it logs in fine using OLDlogin_library.php  apart from the first
name and last name issue. Also just to clarify that file is in the latest
zip download as well as the repository

2. Yes the part working login library just returns true whereas the latest
version returns return $result_array; 

3. get_user_details also seems completely different between the two versions

4. I don't really want to be using older files but I can't work out what
else to check/change in the latest files given that it doesn't seem to be an
ldap connection problem.

5. Is anyone else successfully using the latest 1.6 version of XOT with
LDAP?

Cheers
Ron


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 25 May 2011 21:24
To: Xerte discussion list
Subject: [Xerte] Re: LDAP [Scanned]

On 25/05/2011 21:07, Ron Mitchell wrote:
> Hi Pat
> yes it wasn't logging in but see my subsequent post - by renaming and
using
> OLDlogin_library.php it's now logging in ok but not picking up first name
> and last name just username.
>
> What's changed between the old and new login_library.php?
>
> Cheers
> Ron
Errr I think I upgraded the flux capicitors and set the tardis to organic.

diff the files?

The first and last name come from another function called get user 
details which does the same thing with the LDAP as the login.

Maybe that was the difference - does your old valid login just return 
true / false?

I think new login returns an array?

Pat

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte




More information about the Xerte mailing list