I have a question regarding SharePoint FBA with LDAP against AD.
Currently, I have configured LDAP with LdapMembershipProvider (AD) and LdapRoleProvider (ldaprole) in SharePoint with the following config
<membership defaultProvider="AD">
<providers>
<add name="AD" type="Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" server="[servername]" port="389" useSSL="false" userDNAttribute="distinguishedName" userNameAttribute="sAMAccountName" userContainer="DC=group,DC=company,DC=local" userObjectClass="person" userFilter="(|(ObjectCategory=group)(ObjectClass=person))" scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn" />
</providers>
</membership>
<roleManager defaultProvider="Ldap" enabled="true" cacheRolesInCookie="true" cookieName=".PeopleDCRole">
<providers>
<add name="Ldap" type="Microsoft.Office.Server.Security.LDAPRoleProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" server="[servername]" port="389" useSSL="false" userContainer="DC=aagroup,DC=redicons,DC=local" groupContainer="DC=group,DC=company,DC=local" groupNameAttribute="cn" groupMemberAttribute="member" userNameAttribute="sAMAccountName" dnAttribute="distinguishedName" groupFilter="(ObjectClass=group)" scope="Subtree" />
</providers>
</roleManager>
I am able to get the users in AD with
AD:user1 AD:user2
but I am not able to obtain the group with ldaprole, it returns nothing. However, the group can be located with AD (ldapmembershipprovider) instead. The groups are in the same OU with users in AD.
AD:group1 AD:group2
Thus, how could i get the ldaprole:group1 instead, because it will be used for the authentication in my sharepoint site? Also included:
<PeoplePickerWildcards>
<clear />
<add key="AspNetSqlMembershipProvider" value="%" />
<add key="Ldap" value="*" />
<add key="AD" value="*" />
</PeoplePickerWildcards>