locked
AD users are searchable, but i want to make searchable only the FBA users RRS feed

  • Question

  • I have a mixed mode authentication FBA and Windows Authentication in a web application. AD users are searchable, but i want to make searchable only the FBA users
    Tuesday, March 3, 2015 9:59 AM

All replies

  • you should remove picker entries from web.config. keep only FBA entry

    <PeoplePickerWildcards>
          <clear />
          <add key="AspNetSqlMembershipProvider" value="%"/>      
        </PeoplePickerWildcards>



    Thanks
    Ganesh Jat [My Blog | LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

    Tuesday, March 3, 2015 11:33 AM
  • I have to remove the following tag from the web.config ?

    <PeoplePickerWildcards>
         
    <clear />
         
    <add key="AspNetSqlMembershipProvider" value="%"/>     
       
    </PeoplePickerWildcards>

    Tuesday, March 3, 2015 1:09 PM
  • I removed the following tag.

    <PeoplePickerWildcards>
         
    <clear />
         
    <add key="AspNetSqlMembershipProvider" value="%"/>     
       
    </PeoplePickerWildcards>

    Still it is not working

    Tuesday, March 3, 2015 1:33 PM
  • I want to remove active directory user Reda. Only FBA members should display

    Active Directory User - Reda (Screenshot)

    https://social.msdn.microsoft.com/Forums/getfile/618205

    FBA User - Reda (Screenshot)

    https://social.msdn.microsoft.com/Forums/getfile/618204

    Tuesday, March 3, 2015 2:47 PM
  • Use the NoWindowsAccountsforNonWindowsAuth People Picker property:

    https://technet.microsoft.com/en-us/library/cc263264(v=office.12).aspx

    You'll want to extend your Web Application to a Zone that is FBA-enabled only. You will want the Default zone to be mixed-mode, so your Windows users can add FBA users.


    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, March 3, 2015 2:58 PM
  • Try with users who have not already been added to the site collection. E.g., create a dummy user account in Active Directory, then using an FBA login credential for SharePoint, try querying for that new dummy user account.

    Trevor Seward

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, March 3, 2015 9:01 PM
  •              

    I run the command. Still the ad users shows in People Picker

    stsadm -o setproperty -url http://extranet -pn "peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode" -pv yes

    May be the users are showing from cache or something ?

    Tuesday, March 3, 2015 9:01 PM