From: Scott J. <sc...@na...> - 2001-11-16 20:49:32
|
I'm trying to work up an LDAP authentication system. Instead of trying to tear out the existing system, my strategy is to work with what's already there. See http://slashcode.com/article.pl?sid=01/11/12/1640251&mode=thread for an overview of what I'm trying for. I've got the widget that verifies the username & password against the LDAP directory; now I want to figure out how to call the slash widgets that perform the same function there. Here's how I'm trying to do it: $userInfo = Slash::Apache::User->userLogin($providedName, $providedPassword); but all I get returned is the anon-coward UID, which, when I read the code, seems to be what you are supposed to get when userLogin can't log in using what you provide. This happens even if I set the two variables to known-good values. What am I doing wrong? Thanks in advance for any help you can give. I'm about as green a newbie as they get, so apologies in advance if this doesn't make any sense at all or if I haven't provided enough info. |