Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

WSE 3.0 Authentication -  Security requirements are not satisfied because ......

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Bosley - 17 Oct 2005 21:04 GMT
I am trying to do UserNameOver Certificate auth and the inner exception I
get is
"Security requirements are not satisfied because the security header is not
present in the incoming message."
And in my log I find
   Event Type: Failure Audit
   Event Source: Security
   Event Category: Logon/Logoff
   Event ID: 529
   Date:  10/17/2005
   Time:  2:43:50 PM
   User:  NT AUTHORITY\SYSTEM
   Computer: FOOBAR   <=======EDITED obviously not real
   Description:
   Logon Failure:
 Reason:  Unknown user name or bad password
 User Name: ManOfMystery    < ditto
 Domain:  FOOBAR
 Logon Type: 8
 Logon Process: Advapi
 Authentication Package: Negotiate
 Workstation Name: FOOBAR

OK, I have most of the QuickStarts working well. I am now trying
to use the Demo from Keith Brown's article
http://msdn.microsoft.com/msdnmag/issues/05/11/SecurityBriefs/default.aspx
which I am switching from Kerberos to UserNameOverCert.
I erased the config files and built them fresh.
I have define new users etc. ManOfMystery etc. on my local machine. (On my
local machine, not my domain (I'm can't define users on my domain.)
I believe I am forming the token right and then setting it correctly.
  UsernameToken token =  new UsernameToken("ManOfMystery",
Convert.ToBase64String(passwordBytes),PasswordOption.SendPlainText);

   proxy.SetClientCredential(token);

I have also gone into my LSA and set ManOfMystery to "be trusted for
delegation".

Any ideas would be most appreciated
Pablo Cibraro - 18 Oct 2005 19:23 GMT
Hi Mark,
The default implementation for the UsernameTokenManager verifies the
username token against a valid windows account using the API "LogonUser".
You are sending a username token with an nonexisting windows account or its
password is wrong.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

>I am trying to do UserNameOver Certificate auth and the inner exception I
>get is
[quoted text clipped - 36 lines]
>
> Any ideas would be most appreciated
Mark Bosley - 19 Oct 2005 19:56 GMT
Thank you Pablo,

You were right. I realize I need to have my event viewer up in order to
debug (and have security auditing turned on).

Muchas gracias, Mark

> Hi Mark,
> The default implementation for the UsernameTokenManager verifies the
[quoted text clipped - 46 lines]
>>
>> Any ideas would be most appreciated

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.