PC Review


Reply
Thread Tools Rate Thread

CredUnPackAuthenticationBuffer returns error 775

 
 
New Member
Join Date: Jun 2011
Posts: 1
 
      10th Jun 2011
I have enabled following policy on my Windows server 2008 :
Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Credential User Interface\Require trusted path for credential entry.

I use following function to funtion to get the user credentials :
CredUIPromptForWindowsCredentials(ref creduiInfo, 0, ref authPackage,
inCredBuffer, inCredSize,
out outCredBuffer, out outCredSize, ref save,CREDUIWIN_AUTHPACKAGE_ONLY);

The above function does not return any error.

Now the buffer (outCredBuffer) populated in above function has to be decrypted and converted to strings (username, domain name, etc).

To do this I used following function:
CredUnPackAuthenticationBuffer(CRED_PACK_PROTECTED_CREDENTIALS,....,.,..)
but this function is not able to decrypt the buffer and returns error code 775.

Any help is much appreciated!

Note: Everything works fine if I disable the policy (mentioned above)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF - returns name error Alan Davies Microsoft Excel Worksheet Functions 2 9th May 2006 09:17 AM
SUM returns #VALUE! error kjs Microsoft Excel Worksheet Functions 2 2nd Feb 2006 02:52 PM
UDF returns #NAME? error =?Utf-8?B?bWlrZWJyZXM=?= Microsoft Excel Programming 15 9th Dec 2005 10:37 PM
IIf returns an error =?Utf-8?B?SEc=?= Microsoft Access Reports 1 12th Jan 2005 08:40 PM
=Now() returns #Name? and =Date() returns "compile error" Microsoft Access Reports 1 27th Jan 2004 11:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:35 AM.