* Muhammad Panji <
sumo...@gmail.com> [2013-01-08 03:14]:
> Thank you for your reply. I know this is a generic PHP error but I
> got this error log from simpleSAMLphp error log that currently use
> syslog.
Well, no. First of all, I've never heard of "adauth" and it is not
part of SimpleSAMLphp. Feel free to ask its author (Chris Seufert
<
seu...@gmail.com>, in this case, it seems).
Then the repository at
http://code.google.com/p/simplesamlphp-adauth/
is empty (for whatever reason) but the download tarball seems to be
using code from a project called "adldap" to connect to MS-Active
Directory -- another codebase that is not part of SimpleSAMLphp and
not written by anyone here, see
http://adldap.sourceforge.net/
(where the current version is 4.0.4; "adauth" contains 3.3.2, jfyi).
Well, I don't expect "adldap" to have written their own LDAP code in
pure PHP either so you end up with the generic error from PHP's LDAP
code, which in turn just wraps libldap. Which in turn just uses
openssl (or maybe gnutls or perhaps libnss, as the hostname in your
log is "centos", which indicates an RHEL-derivat) for TLS/SSL, which
is where this problem likely lies. So that's the level of detail you'd
need to look into this.
You'll find the problem you're experiencing has nothing to do with
SimpleSAMLphp even it you want to use that code for your SimpleSAMLphp
install.
It's all in your environment and configuration, none of which we know
or you provide any detail about.
From the error message it could be anything, like a wrong SSL server
certificate on the LDAP server or even your LDAP connection
parameters. We can't say. It's not our code.
> What is the best module to connect to AD from simpleSAMLphp, is it
> using adauth or ldap module? and how does people usually
> authenticate with simpleSAMLphp against Active Directory.
No idea, I don't.
-peter