Clement,
The variable $ldap_url seems valid based on the ldapsearch output below.
We initialize all of our LDAP clients with the same information. I
restarted OpenLDAP with -d -1 debug and tried the reset page again. No
additional log data was generated. The only errors show up in Apache
error.log which I put in the original post.
Is there any additional step-debugging that I can put in the PHP files
to see how far the process actually gets?
Bryan
#==============================================================================
#==============================================================================
# Configuration
#==============================================================================
# LDAP
# $ldap_url = "ldap://10.1.1.101 ldap://10.1.1.102";
$ldap_url = "ldap://mfmp-ssrc-srv-admzone1";
$ldap_binddn = "cn=Manager,dc=ps,dc=mymarketplace,dc=com";
$ldap_bindpw = "xxxxxxxx";
$ldap_base = "dc=ps,dc=mymarketplace,dc=com";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter = "(&(objectClass=person)($ldap_login_attribute={login}))";
ldapsearch -h mfmp-ssrc-srv-admzone1 -D
'cn=Manager,dc=ps,dc=mymarketplace,dc=com' -w xxxxxxxx -x -b
'dc=ps,dc=mymarketplace,dc=com' '(uid=bryanm)'
version: 1
dn: uid=bryanm,ou=sysadmin,ou=People,dc=ps,dc=mymarketplace,dc=com
objectClass: posixAccount
objectClass: top
objectClass: inetOrgPerson
objectClass: shadowAccount
objectClass: hostObject
cn: Bryan.Moorehead
gecos: Bryan Moorehead
loginShell: /bin/bash
gidNumber: 10
uidNumber: 65005
ou: sysadmin
title: Title
telephoneNumber: xxx.xxx.xxxx
mail: [email protected]
givenName: Bryan
displayName: Bryan Moorehead
description: MFMP
sn: Moorehead
shadowExpire: -1
shadowFlag: 0
shadowInactive: -1
shadowWarning: 14
shadowMax: 500
shadowMin: 0
shadowLastChange: 14326
mobile: xxx.xxx.xxxx
host: %
employeeType: sysadmin
homeDirectory: /home/bryanm
uid: bryanm
userPassword: {sha}3B7GgxR3AgQNJcvcvdfdfeQ=
On 09/17/15 03:08 AM, Clément OUDOT wrote:
2015-09-16 22:12 GMT+02:00 Bryan Moorehead <[email protected]>:
Hi,
Hi Bryan,
I used LTB awhile back on Solaris 10 with OpenCSW Apache, libraries, etc.
We are setting it up in our Solaris 11 environment, but I don't seem to be
able to get past this issue.
After entering my uid and email address, I am getting "Login or password
incorrect". I get the following in my Apache errors.log:
[Wed Sep 16 09:35:25 2015] [error] [client 10.2.3.100] PHP Warning:
ldap_set_option(): supplied argument is not a valid ldap link resource in
/var/apache2/2.2/htdocs/pages/sendtoken.php on line 72, referer:
http://mfmp-ssrc-zon-xxxxxx/
Well, the problem seems to be that the LDAP connection is invalid,
then all operations using the $ldap resource fail. Could you try to
see in OpenLDAP logs what happen when LTB SSP tries to connect?
Clément.
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users