Jump to content

Help, want to BASICALLY connect to active directory from php


Smithy_83

Recommended Posts

Hi,

 

I need help for my uni project please.

 

All i want to do is connect to active directory, retrieve usernames in active directory and store them in my mysql table called usernames.  no passwords, e mails etc, just the first and last name as one entry under the field 'name'.

 

Had a look at guides etc and they all seem really complicated.  LDAP servers etc confuse me.

 

I have a laptop set up with windows server 2000, and active directory.  The domain is headquarters.local and the computer name is hertel-aa46ca38.

 

all i have done is create an OU in active directory called "middlesbrough" and put 3 usernames in it.

 

This doesnt have to be spectacular, i just want it to work so i can say "this is possible and with further development it could prove extremly useful" etc.

 

can anyone help / provide me with code to do this?

 

Cheers,

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.