Having a hard time with the memberof attribute of PHP LDAP.
Got a little snippet like:
Obviously that comes after the other LDAP search bumf.PHP Code:foreach ($result[0][memberof] as $group) {
echo $group.'<br />';
}
This shows the groups for some users (such as me), but not other users. I'm sure I've heard memberof can be a bit tricky so is there any better way to see if a user is in a group?


LinkBack URL
About LinkBacks


