-
Thank You so much for taking the time to help me with this!!
I ended up taking your code (with a little help from a friend), and tweaking it a little. It works great.
Thanks again for your time & help!!!!
Here is the tidbit of code I ended up using to pull this off (in case anyone else requires this):
$emailArray =...
2009-10-21 20:35:12 UTC in PHP LDAP class for Active Directory
-
Thank You for your reply!
Indeed associated with an Exchange account over here.
so, just for testing: I am tried:
print_r($adldap->user_info($_SESSION['username'],$field=array("proxyAddresses")));
and I was able to pull the following:
Array ( [count] => 1 [0] => Array ( [proxyaddresses] => Array ( [count] => 6 [0] => X400:C=US;A=...
2009-10-19 22:14:06 UTC in PHP LDAP class for Active Directory
-
Does anyone have any ideas? I am still unable to pull users email address. Any thoughts would be great!
Thanks,
Bob.
2009-10-18 12:41:06 UTC in PHP LDAP class for Active Directory
-
First off, thank you for adLDAP!
I have been trying to retrieve valid users email address for hours, and I now come to you for help.
I am using adLDAP to authenticate users, and confirm they are part of a group (depending on the application). This works great.
I am trying to query the logged in $username email address to save as a $_SESSION variable to be used later in the script...
2009-10-13 21:26:05 UTC in PHP LDAP class for Active Directory
-
SOLVED. I have had to put this off to the side to complete some other things, but I have solved the issue I was having, and wanted to post in case anyone else might have this issue.
if (($adldap -> authenticate($username,$password)) and ($adldap -> user_ingroup($username,"group_name")))
Sorry. I will not bother the group with these simple things again.
2009-09-21 21:08:44 UTC in PHP LDAP class for Active Directory
-
Thanks! I have given adLDAP an admin account in the config, and will do user_ingroup before authenticate.
I have having problems with the syntax though. I will obtain the $username, and $password from the form POST, and will put in the group name.
Forgive me. I am still an amateur php coder, and am having a hard time with the correct syntax. Do I just put an if statement inside another...
2009-08-24 21:28:50 UTC in PHP LDAP class for Active Directory
-
Is it possible to authenticate users in certain groups?
I have several internal company (non-public) php apps, and a few more on the way. Currently each app has its own user db, and authenticates that way. I just learned about adLDAP, and I am considering moving my authentication over to it.
Basically, I am looking to create security groups for each php application. The users who have...
2009-08-24 19:49:55 UTC in PHP LDAP class for Active Directory