questions about custom claims provider for SharePoint 2013

http://blogs.msdn.com/b/kaevans/archive/2013/05/26/fixing-people-picker-for-saml-claims-users-using-ldap.aspx

 

Following the given example, a custom claims provider is written to retrieve custom values for people picker. Besides, the web application is configured to use Forms Based Auth with LDAP to get users from Active Directory.

 

People picker shows duplicate result when I type exact match of login ID. (As I know, one login ID refer to the user from FBA and the other login ID refer to the user from custom claims provider.)

 

Q1: Is there any method the prevent the same user being shown twice? (Do not show the user from FBA)

 

Q2: When I set the field to "People" only, the user from custom claims provider does not show. Only the user from FBA is shown. Any method to show the user from custom claims provider?

Q3: When running the debugger for the Custom provider, Why it does not run into protected override void FillResolve method? However, it does run into protected override void FillSearch

Thanks very much.

 


May 21st, 2015 9:32am

Hi,

About the issues from the blog, I suggest you contact Kirk Evans to get more help and confirmed answers.

To achieve the custom claims provider, here is a solution from codeplex for your reference:

LDAP/AD Claims Provider For SharePoint 2013

https://ldapcp.codeplex.com/

Best Regards

Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 8:31am

Apologies, I don't know the answer.  Suggest you try https://samlman.wordpress.com/2015/02/28/how-to-override-the-default-name-resolution-and-claims-provider-in-sharepoint-2010/ and https://samlman.wordpress.com/2015/02/28/replacing-the-out-of-box-name-resolution-in-sharepoint-2010-part-2, or hopefully the community and product team can provide some more specific guidance. 

May 27th, 2015 5:18am

hi Kirk Evans,nice to know u .I follow your article to write a custom provider .It's work .In my scenario ,The site use Form Auth.

Question:I want to restrict the people picker return the Form Auth user,just return the custom provider users ?Do you have any idea? (I had set the Form auth provider as Isvisable=false .But when i type the character in  peoplepicker,It's still  return Form user.)


  • Edited by Band.Cai 4 hours 37 minutes ago
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2015 10:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics