All,
I am having trouble setting up phpldapadmin 1.2.0 to Sun Directory Server
Enterprise Edition 6.3.1 using secure ldap (ldaps) on the default ldaps port.
I know the server is running (can connect various ways): Example:
/usr/bin/ldapsearch -x -H ldaps://<hostname>:636 -D "<dn>" -w <password> -b
<base> -s sub "(objectclass=*)". This returns results.
My php.config file for phpldapadmin (ldap related) is:
$servers = new Datastore();
$servers->newServer('ldap_pla');
/* A convenient name that will appear in the tree viewer and throughout
phpLDAPadmin to identify this LDAP server to users. */
$servers->setValue('server','name','My LDAP Server');
/* Examples:
'ldap.example.com',
'ldaps://ldap.example.com/',
'ldapi://%2fusr%local%2fvar%2frun%2fldapi'
(Unix socket at /usr/local/var/run/ldap) */
$servers->setValue('server','host','ldaps://<hostname>:636/');
/* The port your LDAP server listens on (no quotes). 389 is standard. */
$servers->setValue('server','port',0);
...
/* Use TLS (Transport Layer Security) to connect to the LDAP server. */
$servers->setValue('server','tls',false);
However, when I attempt to login using the dn of a user, it errors out:
Unable to connect to LDAP server My LDAP Server
Error: Can't contact LDAP server (-1) for user
error Failed to Authenticate to server
Invalid Username or Password.
Which is not correct since I can perform this when connecting to the unsecured
port.
Thanks,
Scott
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users