Skip to main content
Participating Frequently
August 7, 2008
Question

<cflogin> says a valid user has an invalid name

  • August 7, 2008
  • 2 replies
  • 254 views
I have a <cflogin> script that works absolutely perfectly... except that for one user in particular, it says that said user has an invalid user name.

I would believe it, but it's MY user name, and I am logged in to Active Directory at the time, and I know the user name is correct. <cflogin> doesn't believe me.

Other user names that I've tried all work perfectly, so I don't think it's the script that needs debugging. If I use my perfectly valid user name, CF says it's invalid. Any ideas?

By the way, I've tried the LDAP route, but I've given that up: I can't tell whether the scripts are working because every time I try to access anything in LDAP it says that it can't contact the server... but that's a different problem.

But I'll take the answer to either problem, if I can get it.
Thanks,
Robert
    This topic has been closed for replies.

    2 replies

    Participating Frequently
    August 11, 2008
    It doesn't even get that far; the CGI.AUTH_USER is where I'm trying to get, and before I get there, <cfntauthenticate> returns "UserNotInDirFailure". However, I'm logged in under said user name, so I know it's valid. And no, I'm already using trim() so it's not an "extraneous spaces" problem.

    Thanks for trying, though.
    tclaremont
    Inspiring
    August 8, 2008
    What does the following reveal?

    #CGI.AUTH_USER#

    Is there a chance that there is a space at the beginning or end of the username? If so, pass #trim(username)# when checking.