| Keith@Setuplinux.Com 2005-05-02, 3:58 pm |
| -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm having problems being able to connect and auth to a ldap source.
I've gone over the examples I could find on the peardocs and through
different google sources but can't seem to get it. I'm sure it's
something to do with my $param settings. here is what i"m using now:
$params = array(
"url" => "localhost",
"port" => "389",
"basedn" => "dc=domain,dc=com",
"userattr" => "uid",
);
I'm not sure how from these param's PEAR::AUTH can get username and
password, I'm guessing userattr is where userid comes from but I have no
idea where it's supposed to get password from. I'm using inetorgperson
for my ldap schema with these fields for user/pass:
uid = user ID
userPassword = password (current in plain text)
Can somebody point me in the right direction?
Thanks,
Keith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCdmWS3q4RRxTNqvcRAp9SAJ9PDBjy6MuR
irutzOzxWhp9uKFSswCggsqi
C2l+tOky4ZeWtJ67bQXv8sg=
=dB4r
-----END PGP SIGNATURE-----
|