using System.Net.NetworkCredentials on windows NT

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default RE: using System.Net.NetworkCredentials on windows NT

    Hi Tim,

    Did you specify a domain user or a local user here? Did the Windows NT
    server is in same domain as others?

    Luke

    [MSFT] Guest

  2. Similar Questions and Discussions

    1. FMS in Windows System with NFS Client
      Hi all, I'm setting up a FMS server in a Windows 2003 R2 operating system. The server is installed on the system and seems to work fine (in a...
    2. Windows NT System Policies
      I need to migrate my NT System Polices to 3K GPO. I know you can use a command line called gpolmig.exe (It must be the one form the 2K Resource...
    3. extensions on a windows system
      Heallo all, I need to run some tests on a windows system(XP profesional with IIS) and the PHP (4.3 ) application needs the following extensions ...
    4. Need mysql help on Windows system
      Hi, I just upgraded to mysql 4 and am running on a Windows XP system. I had this same version of mysql working not that long ago but when I tried...
    5. system, `` or exec on Windows?
      Ronald Pijnacker wrote: Can't answer all your questions, but I'll share what I got. First, see http://ruby-talk.com/10006 for some replacement...
  3. #2

    Default Re: using System.Net.NetworkCredentials on windows NT

    Does it work if you specify the local machine name for the domain parameter
    of specify the username as machine\user?

    Joe K.
    "Tim B." <TimBur@seattletimes.com> wrote in message
    news:6C87280A-C822-4478-A218-A05DE6152AE4@microsoft.com...
    > I specified a non domain user just as the example line of code shows
    >
    > "[MSFT]" wrote:
    >
    > > Hi Tim,
    > >
    > > Did you specify a domain user or a local user here? Did the Windows NT
    > > server is in same domain as others?
    > >
    > > Luke
    > >
    > >

    Joe Kaplan \(MVP - ADSI\) Guest

  4. #3

    Default Re: using System.Net.NetworkCredentials on windows NT

    I'm not sure it would help me to look at the IIS logs. It might be useful
    to look at the headers passed back and forth in the exchange though. The
    Negotiate protocol will stick a bunch of headers in the request as it
    bounces back and forth, and looking at the differences between the request
    and response headers that work and don't work might be helpful.

    Joe K.

    "Tim B." <TimBur@seattletimes.com> wrote in message
    news:CAB15F8C-63C5-4B00-AA61-B33C5CDEA732@microsoft.com...
    > I haven't tried that, but that wouldn't work in the solution anyway.
    > I could try it if you think it pertinent.
    >
    > Would seeing the IIS logs on the server hosting the service be helpful ?
    >
    > It appears to me that NT just gives up at the first 401 error, but win2k
    and above retry will send the credentials on subsequent attempts and finally
    get a '200' response.
    >
    >
    >
    > "Joe Kaplan (MVP - ADSI)" wrote:
    >
    > > Does it work if you specify the local machine name for the domain
    parameter
    > > of specify the username as machine\user?
    > >
    > > Joe K.
    > > "Tim B." <TimBur@seattletimes.com> wrote in message
    > > news:6C87280A-C822-4478-A218-A05DE6152AE4@microsoft.com...
    > > > I specified a non domain user just as the example line of code shows
    > > >
    > > > "[MSFT]" wrote:
    > > >
    > > > > Hi Tim,
    > > > >
    > > > > Did you specify a domain user or a local user here? Did the Windows
    NT
    > > > > server is in same domain as others?
    > > > >
    > > > > Luke
    > > > >
    > > > >
    > >
    > >
    > >

    Joe Kaplan \(MVP - ADSI\) Guest

  5. #4

    Default Re: using System.Net.NetworkCredentials on windows NT

    You can always use a packet sniffer like netmon or Ethereal to do this
    unless SSL is in the mix. I'd probably use this first if it's an option.

    As I recall you are using the HttpWebRequest class, right? In that case,
    HttpWebResponse class has Headers collection that you can also access that
    should work.

    HTH,

    Joe K.

    "Tim B." <TimBur@seattletimes.com> wrote in message
    news:3BCEB930-13A8-4ED8-B958-45E2C984429C@microsoft.com...
    > Joe,
    >
    > How can I capture the headers ?
    >
    > Tim
    >
    > "Joe Kaplan (MVP - ADSI)" wrote:
    >
    > > I'm not sure it would help me to look at the IIS logs. It might be
    useful
    > > to look at the headers passed back and forth in the exchange though.
    The
    > > Negotiate protocol will stick a bunch of headers in the request as it
    > > bounces back and forth, and looking at the differences between the
    request
    > > and response headers that work and don't work might be helpful.
    > >
    > > Joe K.
    > >

    Joe Kaplan \(MVP - ADSI\) Guest

  6. #5

    Default RE: using System.Net.NetworkCredentials on windows NT

    You may create a user on the Win NT server, with same name and password,
    and then test again. Will this correct the problem?

    Luke

    [MSFT] Guest

  7. #6

    Default RE: using System.Net.NetworkCredentials on windows NT

    Luke,

    This does already work for win2k and xp - so yes I do have the user already on the server.

    "[MSFT]" wrote:
    > You may create a user on the Win NT server, with same name and password,
    > and then test again. Will this correct the problem?
    >
    > Luke
    >
    >
    Tim B. Guest

  8. #7

    Default RE: using System.Net.NetworkCredentials on windows NT

    Hello,

    Has the Win NT 4.0 applied NT Service pack 6 and installed IIS 5.0 or 6.0?
    Additionally, have you tried to capture the headers as Joe suggested?

    Luke

    [MSFT] Guest

  9. #8

    Default RE: using System.Net.NetworkCredentials on windows NT

    Hi Tim,

    You may check if it is an expired evaluation account on the Win NT
    computer. And, you can execute the client code on the Win NT server
    directly, to see if it a network issue. Furthermore, you can also check
    the IIS log to see if we can get more information from it.

    Luke

    [MSFT] Guest

  10. #9

    Default RE: using System.Net.NetworkCredentials on windows NT

    I've opened a case with Dev support on this.

    Tim

    "[MSFT]" wrote:
    > Hi Tim,
    >
    > You may check if it is an expired evaluation account on the Win NT
    > computer. And, you can execute the client code on the Win NT server
    > directly, to see if it a network issue. Furthermore, you can also check
    > the IIS log to see if we can get more information from it.
    >
    > Luke
    >
    >
    Tim B. Guest

  11. #10

    Default RE: using System.Net.NetworkCredentials on windows NT

    That sounds reasonable. Thank you for the share.

    regards,

    Luke

    [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139