Re: Impersonation problem
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Jul 2006 09:22:57 -0500
Sorry I missed the NT4 domain bit. You have my sincere condolences. :)
The statement about any provider being able to take credentials is not
really true. In fact, the IIS provider (for changing the IIS metabase) does
not support this at all. The WinNT provider is also known to be flakey when
supplying credentials. It doesn't always work. If it is working for you,
then that's good, but be aware that you may get some unexpected results
somewhere.
LDAP is generally very solid when it comes to taking credentials, and the
protocol itself is designed to work this way.
I agree on your other points. GetObject in .NET is supplied strictly for
backwards compat with VB6 converted code. .NET devs should use S.DS.
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
--
"Dodot63" <dodot63@xxxxxxxxx> wrote in message
news:1153900566.928220.245470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
As I said, I'm in a NT4 domain. Otherwise I agree that the LDAP
provider has to be preferred. In my opinion, the GetObject function is
designed for scripts, and DirectoryEntry for programs. Note that with
any provider, WinNT or LDAP, you can specify the username and password
in the DirectoryEntry constructor.
.
- References:
- Impersonation problem
- From: dodot63
- Re: Impersonation problem
- From: Dominick Baier
- Re: Impersonation problem
- From: Dodot63
- Re: Impersonation problem
- From: Dodot63
- Re: Impersonation problem
- From: Dodot63
- Re: Impersonation problem
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Impersonation problem
- From: Dodot63
- Impersonation problem
- Prev by Date: PGP - recommendations
- Next by Date: Re: Storing a private key
- Previous by thread: Re: Impersonation problem
- Next by thread: Encrypting connection strings - Threat model - Best practices
- Index(es):
Relevant Pages
|