LDAD Intergration - ObjectGUID in AD

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gearb0x
Forum Newbie
Posts: 4
Joined: Tue Dec 06, 2005 11:20 pm

LDAD Intergration - ObjectGUID in AD

Post by gearb0x »

Gday

Not sure if this is the place to post, but im converting a PHP app to use AD groups and users, im using the class http://adldap.sourceforge.net/ and adding in functions as i need.

The problem is, in the database for things like permissions, i idendify users buy their ObjectGUID converted to hex form, according to all documentation ive read, this is a unique ID, according to the LDAP browser im using, 1 user has a ObjectGUID set. But when i use the PHP functions to get his details, the ObjectGUID is blank

Can anyone help me?

Phill
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

I used LDAP once to connect to AD but nothing more than pulling user names and passwords.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

What happens when you ask for all properties of the user? Do you get everything?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
kingconnections
Forum Contributor
Posts: 137
Joined: Thu Jul 14, 2005 4:28 pm

Post by kingconnections »

I just tried this with ldapsearch and was able to pull the objectGUID field. I did have to put the field in lowercase when trying to echo it.


Hope this helps.
Post Reply