Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Jan 2007 09:54:41 -0600
I don't suppose your web server LDAP stack can do Windows secure binds, can
it? Like I said, I'm really unsure as to what is going on, but I can't
remember seeing this issue when Windows auth is used in LDAP (GSS-SPNEGO
SASL). As a .NET guy, I'm generally always using the MS LDAP APIs on a
Windows OS machine to do my LDAP, so I generally don't run into these
problems. I only use simple bind for ADAM, but I don't remember seeing
issues with invalid passwords being accepted there either.
It may also be worth it to you to open a real PSS ticket and see if someone
there can provide a more satisfactory answer.
Sorry I was less helpful this time, but perhaps that username syntax stuff
will be useful. :)
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"ohaya" <ohaya@xxxxxxx> wrote in message
news:uV6SSBqPHHA.140@xxxxxxxxxxxxxxxxxxxxxxx
Joe K.,
As mentioned in my earlier posts, I'm having someone try the full DN
username tomorrow (my app uses a config file, so they just have to change
the username there, not in code) to see if that works at this one site
where using the UPN-formatted username gave us the INVALID_CREDENTIALS
exception (BTW, we tried using the NT-formatted name today, and that threw
an exception also), and will post back the results.
If the full DN doesn't work, then I'm kind of out of ideas on this one :(,
because as I also mentioned, we've had this same exact web app running in
several other environments (also with Win2K3/AD).
The other problem, with the two different passwords working, with ldifde,
is less of a priority for me, although it actually seems the stranger (and
scarier) of the two problems, to me :)...
Thanks,
Jim
Joe Kaplan wrote:
I'm not at all sure what's going on with the passwords. I can tell you
what the rules are for usernames doing different types of binds in AD is
though. :)
Simple bind: full DN (as per LDAP spec), userPrincipalName
(user@xxxxxxxxxx) and NT name (domain\user)
Windows secure bind (GSS-SPNEGO): userPrincipalName, NT name, plain user
name (user)
I generally use UPN all the time, as it works with both binding syntaxes
and DNs are a pain to type. :) Since this is supported directly by the
server itself, any LDAP client doing a bind can use those username
formats with AD for simple bind.
Joe K.
.
- Follow-Ups:
- References:
- HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: ohaya
- Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: ohaya
- Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: Joe Kaplan
- Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: ohaya
- HELP! Really strange problem w/AD and LDAP/LDIFDE
- Prev by Date: Clients losing all mapped drives except home folder
- Next by Date: Re: ADFS with ASP application
- Previous by thread: Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- Next by thread: Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- Index(es):
Relevant Pages
|
Loading