Comments (5)
The root cause is not the (first, last) combination but rather the identical cn.
If the cn attribute isn't explicitely set during ipa user-add
with the --cn
option, the user plugin automatically creates the cn attribute by concatenating givenname (=first) and sn (=last) (here in ipaserver/plugins/user.py).
FreeIPA doesn't enforce unicity of the cn attribute but GC does. It doesn't look acceptable to add this constraint to the main LDAP instance, and the best mitigation IMO was at least to log an error. I agree it's not optimal but don't have any solution so far.
from freeipa.
I understand that problem is in conflict of CNs which are used to construct dn. I wanted to show what it will look like for users - they create a new user without any warnings but that user is not visible from AD.
from freeipa.
What about creating an ipa-healthcheck test for this kind of situation under trust set of tests?
from freeipa.
we can also add a validation to user-add that verifies this and adds a warning to the response in case GC is enabled.
from freeipa.
Moved this ticket to https://pagure.io/freeipa/issue/8732
from freeipa.
Related Issues (20)
- [packit] Invalid config
- wrong logic in _get_objectclass? HOT 2
- gc-wip: user is recreated on every start of sync daemon HOT 5
- when running GC uninstall manually it succeeds but does not fully clean up the tree HOT 1
- gc-wip: Inconsistent case in LDAP attribute values HOT 2
- gc-wip: Sync daemon fails to start after creating/deleting particular users HOT 3
- gc-wip: sync daemon is restarted during repeated run of ipa-adtrust-install HOT 2
- gc-wip: ipaserver uninstallation failed with GC installed HOT 2
- gc-wip: windows can not obtain FQDN for IPA user HOT 1
- gc-wip: some user login formats are not supported for autologon HOT 3
- gc-wip: Can not login to Windows from Linux via winrm with login+password HOT 8
- gc-wip: failure during replica GC installation HOT 1
- How to add custom attribute for Netgroups? HOT 1
- Does not work on fedora 36 HOT 2
- No new users in Global Catalog HOT 1
- The problem of accessing the windows file server by a freeipa domain user HOT 32
- Global Catalog IPA HOT 1
- Connecting a subdomain via LDAP to another subdomain HOT 4
- gc-wip: Using without AD HOT 4
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 freeipa.