none
Credential Provider Questions RRS feed

  • Question

  • I'm working on a project for my job, and the credential provider that is provided by the Windows 7 SDK seems like the ideal way to complete it. I have been messing around with it, but now I'm stumped. Right now, it only handles local user profiles. I noticed that one of the comments mentioned to edit the Initialize function in the CSampleCredential.h file. Unfortunately, I have no idea what I need to change there. I've tried searching, but didn't find anything useful. Any ideas?

    Tuesday, June 2, 2015 9:01 PM

Answers

  • Can you provide some more details ? 

    http://social.technet.microsoft.com/wiki/contents/articles/15077.forum-op-tips-how-to-ask-a-question-efficiently-in-a-technetmsdn-forum.aspx


    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Wednesday, June 3, 2015 12:54 AM
    Moderator
  • Hi,

    Regarding to your question, I’d suggest that we post at MSND forum. There you can get more effective suggestion by other experts who familiar with Windows Destop Development forums. Your understanding is highly appreciated.

    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?category=windowsdesktopdev

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, June 8, 2015 2:33 AM
    Moderator

All replies

  • Can you provide some more details ? 

    http://social.technet.microsoft.com/wiki/contents/articles/15077.forum-op-tips-how-to-ask-a-question-efficiently-in-a-technetmsdn-forum.aspx


    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Wednesday, June 3, 2015 12:54 AM
    Moderator
  • Sorry for that.

    I'm working in a 64-bit Windows 7 Professional SP1 environment.

    The credential provider is one of the samples in the Windows 7 SDK v7.0. I decided to use their sample, and modify it for what I need. Unfortunately, the sample provided is designed for local profiles, and I need it to work with a domain profile. Has anyone modified the Windows 7 SDK credential provider before? Any help would be appreciated.

    Wednesday, June 3, 2015 3:50 PM
  • The credential provider says to modify the Initialize function to accept domains. Here is the function:

    HRESULT Initialize(__in CREDENTIAL_PROVIDER_USAGE_SCENARIO cpus,
                           __in const CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR* rgcpfd,
                           __in const FIELD_STATE_PAIR* rgfsp,
                           __in DWORD dwFlags,
                           __in PCWSTR pwzUsername,
                           __in PCWSTR pwzPassword = NULL);

    I'm not sure how to change that to accept a static domain.

    Wednesday, June 3, 2015 5:50 PM
  • Hi,

    Regarding to your question, I’d suggest that we post at MSND forum. There you can get more effective suggestion by other experts who familiar with Windows Destop Development forums. Your understanding is highly appreciated.

    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?category=windowsdesktopdev

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, June 8, 2015 2:33 AM
    Moderator