I can help answer some of your questions...
On 14/06/2013 14:38, Alastair Hole wrote:
> Hi,
>
> Hopefully someone can help, I'm having some problems installing WebPA 2.0.0.10.
>
> Following the instructions in install.txt:
> - enter a username of "admin" and a password of "admin"
> - change the password to something more secure after logging in
>
> Where would one change the admin password?
Select the "view data" menu option, then "Administrators" (or "Admin
Users" in the toolbar), then click on the pencil icon next to the admin
account.
> Next, "- configure the LDAP settings if you wish to authenticate via LDAP."
>
> Firstly I was unable to bind to our directory until I modified includes/classes/class_ldap_authenticator.php:57
> [log in to unmask] is not a valid DN for our directory, I had to modify the code to use:
> $user = "uid=".$this->username.",ou=people,o=bath.ac.uk";
> then I was able to bind.
>
> The next problem was that the code was trying to insert into the user_type column of the user table, which didn't exist! I created it to no avail, I still get "Your username and password were rejected.".
The user_type column is now in the user_module table in WebPA 2 so
should not be required for creating a user account; I would delete this
field from the code.
> I am rather at a loss, before poring over the code I thought I'd see if anyone else has has similar issues.
>
> Is anyone else using 2.0.0.10? With LDAP? Which LDAP server software are you using?
I have not heard of anyone using WebPA 2 with LDAP.
Stephen
|