Re: What is DirectoryServices.AuthenticationTypes.None
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 10/07/05
- Previous message: Dominick Baier [DevelopMentor]: "Re: wildcard extension ASP.Net httphandler gives 401.3 ACL permission denied error on a directory"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: What is DirectoryServices.AuthenticationTypes.None"
- Maybe reply: Joe Kaplan \(MVP - ADSI\): "Re: What is DirectoryServices.AuthenticationTypes.None"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 6 Oct 2005 22:50:08 -0500
It is supposed to mean to use LDAP simple bind. However, if you leave the
username and password null, ADSI will go ahead and try to do a Secure bind
(GSS-SPNEGO SASL bind in LDAP terms) with the current thread's identity.
If you supply username and password (or put in "" instead of null), it will
actually try a simple bind (plain text username and password on the
network).
In general, you probably shouldn't be using simple bind with AD if you can
avoid it and you should generally never use it without also using SSL/LDAP
to encrypt the channel as it is insecure.
However, it is useful (and in some cases necessary) with ADAM and non-AD
directories that don't support the GSS-SPNEGO as a SASL mechanism.
HTH,
Joe K.
"John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
news:6814DA82-6349-4693-BA08-BF071A76BFD9@microsoft.com...
> AuthenticationTypes.None is the default authentication type for
> DirectoryEntry. But, what does "none" actually mean???
>
> When I set it, the system still seems to be authenticating with the
> credentials of the calling thread. Does that mean that
> AuthenticationTypes.None equals AuthenticationTypes.Secure in practice?
> Or
> does it mean something different, and if so, what?
- Previous message: Dominick Baier [DevelopMentor]: "Re: wildcard extension ASP.Net httphandler gives 401.3 ACL permission denied error on a directory"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: What is DirectoryServices.AuthenticationTypes.None"
- Maybe reply: Joe Kaplan \(MVP - ADSI\): "Re: What is DirectoryServices.AuthenticationTypes.None"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|