get user attributes php/ldap/win2k active directory
| From: | Redmond Militante | Date: | Thu, 23 Oct 2003 18:03:31 +0000 |
| Subject: | get user attributes php/ldap/win2k active directory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167331@lists.php.net to get a copy of this message | ||
hi all
my first email to the list re: php/ldap/win2k AD garnered no responses. i've got most of the
problem solved, however i can't get attributes from the ldap server.
i have a login script that authenticates against our win2k active directory domain controller.
i'm able to open a connection/bind/verify a password/and close the connection. i'm really
having trouble returning a user's attributes (i'm mainly concerned with firstname and last
name - cn and givenname).
i've been trying for several days to return attributes. has anyone accomplished this with php?
i can't find much relevant info for this particular problem on the internet. if you have any
pointers, i'd appreciate hearing them.
i'd post relevant code, but nothing i've tried works, and i'm not sure if the code
i've tried is even valid...
thanks
redmond
--
FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003
12:45PM up 9 days, 4:26, 5 users, load averages: 1.00, 1.00, 1.00
When I was younger, I could remember anything, whether it had happened
or not; but my faculties are decaying now and soon I shall be so I
cannot remember any but the things that never happened. It is sad to
go to pieces like this but we all have to do it.
-- Mark Twain