Re: adam bind-redirect

Tech-Archive recommends: Fix windows errors by optimizing your registry



No, you cannot do this. It is bad from security standpoint if we would allow
admins to impersonate a user.

But the question is -- why do you need to do bind-redirect? If you are an
admin, you don't need to impersonate the user. You can just read data from
the user object and do whatever you want with it.

What is it you need to do?

--
Dmitri Gavrilov
SDE, Active Directory Core

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"mwr" <mwr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1C8C70BE-5CC9-42FE-81C6-D246BBB8EB35@xxxxxxxxxxxxxxxx
> Question?
> If we dont have the password of the authenticated user.
> Can we use an administrative password to do the bind-redirect
>
> "Dmitri Gavrilov [MSFT]" wrote:
>
>> Lee is correct. You won't be able to do a proxy bind if you don't have
>> the
>> password.
>>
>> In any case, you are better off doing a secure bind as the currently
>> impersonated user. This is the safest approach. This will work only if
>> ADAM
>> runs on the same box where IIS is. Or if you enable delegation.
>>
>> Re schema extension -- you can design any class you want. Then, you add
>> msDS-bindProxy (a class in the base ADAM schema) as an aux class, and off
>> you go. The userProxy class supplied in the LDF file is a "sample". You
>> can
>> either modify it as you want, or make another class like that. Up to you.
>> ADAM only cares about msDS-bindProxy being an aux class of your proxy
>> class.
>>
>> --
>> Dmitri Gavrilov
>> SDE, Active Directory Core
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> Use of included script samples are subject to the terms specified at
>> http://www.microsoft.com/info/cpyright.htm
>>
>> "Lee Flight" <lef@xxxxxxxxxxxxxxx> wrote in message
>> news:Pine.GSO.4.55.0504281900480.14446@xxxxxxxxxxxxxxxxxxxxxx
>> >
>> > Hi
>> >
>> > inline below...
>> >
>> > On Thu, 28 Apr 2005, [Utf-8] mwr wrote:
>> >
>> >> So if we dont have the password of the person
>> >> being authenticated (as in windows authentication or
>> >> a third party doing authentication) then the proxy-redirect isnt an
>> >> option.
>> >> Correct?
>> >
>> > As Bind redirect requires the distinguishedName or userPrincipalName
>> > of the bind proxy object in the ADAM naming context and the Windows
>> > password. I do not see how you could impersonate that in a simple LDAP
>> > bind, maybe others with more dev expertise know different...
>> >
>> >> Assuming we can do the bind redirect in another scenario
>> >> and we define a custom class in ADAM .
>> >> Is it possible to add one of our custom classes as an auxillary class
>> >> to
>> >> the
>> >> user proxy object? No sure how to do that.
>> >
>> > Yes you should be able to do that, I think what a number of folks
>> > do in practice is design the bindProxy that they want and then modify
>> > the MS-UserProxy to meet that and import that into ADAM.
>> >
>> > Lee Flight
>>
>>
>>


.



Relevant Pages

  • Re: ADAM Foreign Principal Group Membership.
    ... You either impersonate or bind with their ... ADAM feature that creates a "virtual" tokenGroups attribute for you. ... > can retrieve the group membership of a foreign principal in ADAM? ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Foreign Principal Group Membership.
    ... can retrieve the group membership of a foreign principal in ADAM? ... locate and retrieve some standard properties - maybe displayname/cn etc.. ... > So, you should just be able to impersonate, bind to ADAM and get your ... >> Yes - Integrated Authentication only no anonymous access allowed. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Changing User Password - Credential Problem
    ... This is for admins to reset users forgotten passwords, ... How can I impersonate another account? ... >> Obviously the ASP.NET account doesn't have permissions to change ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ADAM and SQL Server
    ... > provisioning needs to be done on your account and/or on SQL service account ... >> I don't think SQL will impersonate your account when it calls in to ADAM. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Create a role and check it
    ... from the beginning I thought of using impersonate because the user ... sql account instead, so that's true, I don't need impersonate anymore. ... I have a local group called admins at the dotnet server. ...
    (microsoft.public.dotnet.framework.aspnet.security)