You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the freeipa plugin to sync groups, a username that has 12 or more characters in it is erroring out.
ipa: WARNING: User dsajdaktest should be added to freeipa group: academic dsajdaktest academic Enabled Active ipa: WARNING: User jbednasztest not found in FreeIPA
However, using the freeipa command (ipa group-add-member) to add the user to the group works.
I would say this is a high priority to fix as it's easy to miss this error if running in a cron.
Test Tasks:
Add a new user to FreeIPA with a username of 12 characters or more
Add user to an allocation that has the freeipa_group attribute
Run the freeipa sync for that user to see if the account is added to the group: coldfront freeipa_check -x -s -u username
The text was updated successfully, but these errors were encountered:
It appears this might be an issue with sssd infopipe GetUserAttr. We call this function to retrieve the nsaccountlock attribute to check whether the user is enabled/disabled. We're seeing random inconsistent results returned from this function. Steps to reproduce:
Run LDAP query for nsaccountlock attribute and verify user and attribute exist:
The rationale for using sssd.infopipe is because it's much faster than querying for this attribute via the FreeIPA api, especially when processing a large set of user accounts. However, given the inconsistent behavior of sssd.infopipe let's switch to using an LDAP query to lookup nsaccountlock. PR forthcoming.
TODO: revisit this in the future to see if sssd.infopipe can provide more reliable results. Given that this used to work for quite some time, it could be related to our recent switch from CentOS 7 to Ubuntu 20.04? More investigation is needed.
When running the freeipa plugin to sync groups, a username that has 12 or more characters in it is erroring out.
ipa: WARNING: User dsajdaktest should be added to freeipa group: academic
dsajdaktest academic Enabled Active
ipa: WARNING: User jbednasztest not found in FreeIPA
However, using the freeipa command (ipa group-add-member) to add the user to the group works.
I would say this is a high priority to fix as it's easy to miss this error if running in a cron.
Test Tasks:
coldfront freeipa_check -x -s -u username
The text was updated successfully, but these errors were encountered: