Comments (4)
@Jo311 your observations are basically correct, let me add some precisions:
- option "query this server" determines if this connection is used to get group membership. If it is not set, then this connection is skipped
- when “Use .Net helper” is set: LDAPCP gets group membership using UserPrincipal.GetAuthorizationGroups(), which does not accept any LDAP filter, so applying the LDAP filter set on the group claim type would be impossible/challenging.
- when “Use .Net helper” is NOT set: LDAPCP gets group membership by reading the value of the LDAP property that stores the group names in user object. Here it would also be impossible/challenging to use a LDAP filter.
So I don't see an easy solution for your scenario. Is it that bad to return all the groups?
from ldapcp.
@Yvand
Thanks for the info.
The way I understand this is that it makes no sense in selecting “Use .Net helper” or not, as long as "query this server" is not selected?
So, as a solution to our initial problem that WFs cannot be started if permissions are given with AD groups, "query this server" must be selected. Selecting “Use .Net helper” or not does not have an influence on this.
I did some extra tests, it looks like if “Use .Net helper” is NOT selected (but "query this server" is), besides the groups sent by ADFS starting with sp_, LDAPCP will also find AD groups not starting with sp_ where the user is directly member of.
If “Use .Net helper” is also selected, LDAPCP will find a whole bunch of additional parent (nested) groups. Not selecting “Use .Net helper” seems like the better approach.
In our case these additional groups in both scenarios are a possible issue because we are migrating sites from SP16 (where PP is showing all groups) to SP19 (where PP is only showing sp_ groups).
If permissions were given on a site to a group not starting with sp_ in SP16, that user will still be able to get access to the migrated SP19 site – which is not what we want.
If "query this server" would not be activated, that specific group claim would not be present and therefore the user would not be able to access the site.
On the other hand, thinking on it now, there are probably ways around this for us to handle as part of the migration scenario. E.g. get a list of these “non-sp_” groups and get rid of them in a proper way.
from ldapcp.
@Jo311 correct, option "Use .Net helper" is totally ignored if "query this server" is not selected.
I think you got the big picture on the way it works, and getting rid of the non "sp-" groups looks like a good solution if it is applicable
from ldapcp.
@Yvand
Ok thx you can close this ticket for me
from ldapcp.
Related Issues (20)
- Set Custom LDAP filter by powershell HOT 5
- LDAPCP not being queried when assigning targeted audiences (navigation, list items, etc) HOT 3
- Customization in LDAP solution HOT 3
- Replay LDAP query test returned user account result but people picker doesn't return this user account HOT 8
- Target Audience not working for LDAPCP groups added to sharepoint groups HOT 6
- LDAPCP on a non-ADFS federated setup HOT 2
- Domain groups can't be added after resolving it in people picker HOT 5
- LDAPCP on a farm with Windows / Kerberos authentication HOT 2
- need to remove the users with (role) prefix HOT 2
- Using Custom LDAPCP wsp and standard LDAPCP wsp HOT 9
- LDAP Filter for Two Classes HOT 4
- Augmentation does not work with Nintex Workflow and Other third party HOT 4
- Searching by Name on samAccountName HOT 2
- User Can't receive emails HOT 2
- EntraCP claimprovider issue HOT 4
- [LDAPCPSE] After adding a LDAPS connection as second option, going to global config page will error out HOT 21
- LDAPCPSE An item with LDAP newAttribute 'userPrincipalName' and LDAP class 'user' already exists for the object type 'User' HOT 10
- LDAPCP Second Edition - MaxSearchResultsCount. HOT 3
- [LDAPCPSE] question about search result windows size in peoplepicker HOT 4
- Filter on Active user by default HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldapcp.