473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

CredUnPackAuthenticationBuffer returns error 775

1
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)
Jun 10 '11 #1
0 1235

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Owen | last post by:
Hi, can somebody help me please... I'm trying to set up a very simple asp page that sends me an email when it runs. This is just to try and get CDOSYS working so I can send out emails from my...
1
by: Rodrigo-Dublin | last post by:
Hello there I wrote a web site in c# and I'm using forms authentication for some of the pages in the root folder. The site is fully accessible from the web no problem, but when I request crawler...
3
by: RodrigoIreland | last post by:
Hello there I wrote a web site in csharp and I'm using forms authentication for some of the pages in the root folder. The site is fully accessible from the web no problem, but when I request...
6
by: Frankie Montenegro | last post by:
Hi everyone, I need some help with the following C++ code. It is supposed to read input line by line, each line as one string; then split each string into its component words and store these...
4
by: kathy | last post by:
Working in a form, I have an Iif statement where if a date is not filled in, another field will show as a blank. If the date IS filled in, the 2nd field will show its actual value. The following...
4
by: Afterburn | last post by:
Hi, Has anyone ever experienced this error occuring when trying to call AddPrinterConnection() from VC6. This is a microsoft defined method call. I have been able to reproduce it on a windows200...
2
by: Shimon Sim | last post by:
I tried to use Precompile.axd to compile my site but got HTTP404 (The resource cannot be found) instead. I am running ASP.NET Version:2.0.50727.42 .. Any suggestions? Thank you, Shimon.
0
by: jacksonmacd | last post by:
Trying to send email from Access 97. It used to work properly on this computer, but something has changed and it now returns Error 2287 from this code snippet: Sub test() DoCmd.SendObject...
12
by: haridharmajan | last post by:
In my form i have two fields say fld1 and fld2. fld1 have data like 1,2,3,8,20. now I need to calculate the length of fld1 and assign it to fld2 he in this example fld2 must have 5. I used ...
3
by: Ananthu | last post by:
Hi, I use BulkSMSGateway - ATSMS.dll for sending SMS from ASP.NET. When I click Connect button, I am able to connect to the mobile using bluetooth successfully from my WebPage. But when i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.