security credentials not being passed to exe RRS feed

  • Question

  • I have a remote application that passes credentials to a Windows 2003 Server and runs my program.

    The credentials work as desired when the user is a member of Administrators.

    The credentials do not work as desired when the user is a member of an AD group and that group is a member of the local Administrators group.

    When running the application directly the application works.

    The application fails when it attempts to do anything on the local computer that requires rights (such as write to c:\temp)

    or when running the function:

    string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;

    I am doing something wrong on the configuration of .NET or my application or can I blame the app that is supposed to pass the credentials?


    Friday, May 2, 2014 9:07 PM