Commit Graph
16303 Commits
Author SHA1 Message Date
Florence Blanc-Renaud 54f9e0f3e6 test_idp: use more recent keycloak server
Use Keycloak 26.4.4 and java 25 for the test setup.
The current versions (keycloak 26.1.0 and java-21) are not
working on Fedora 43.

Fixes: https://pagure.io/freeipa/issue/9833
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-11-12 15:33:41 +01:00
Florence Blanc-Renaud ec308a0358 PRCI: switch testing from f41 and f42 to f42 and f43
Fedora 43 is already available and Fedora 41 will be EOL
Wed 2025-11-19 according to Fedora schedule:
https://fedorapeople.org/groups/schedule/f-41/f-41-all-tasks.html

Start testing on fedora 42 and fedora 43.

Fixes: IDM-3229
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-11-12 15:33:41 +01:00
PRANAV THUBE 9441ebfced ipatests: Add new test cases with extended automount plugin attributes
Description: Porting the legacy bash ipa-automount testsuite
to upstream.

Related: https://issues.redhat.com/browse/IDM-3298

Signed-off-by: PRANAV THUBE <pthube@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-11-11 14:47:38 +01:00
Alexander Bokovoy f2fc104f06 sysaccount: make sure nsaccountlock is always present
Commands sysaccount-enable/sysaccount-disable allow to lock/unlock the
account.  This is exposed via operational attribute `nsAccountLock`
which has to be explicitly requested to query the state. However, if
account wasn't explicitly disabled before, `nsAccountLock` will not be
returned by the LDAP server.

Ensure the nsaccountlock attribute is always retrieved, validated, and
normalized across sysaccount operations.

- Invoke validate_nsaccountlock in create and modify pre-callbacks to
  enforce valid values

- Invoke convert_nsaccountlock in create, modify, list, reset, and
  policy post-callbacks to normalize the nsaccountlock attribute and
  default to False in case it is absent.

Fixes: https://pagure.io/freeipa/issue/9842

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
2025-11-11 14:44:00 +01:00
Florence Blanc-Renaud bd8288476f Backup-restore: backup krb5.conf.d snippet files
The installation of ipa server creates snippets in /etc/krb5.conf.d/
- freeipa-realm
- freeipa-server

Include these files in the backup

Fixes: https://pagure.io/freeipa/issue/9870
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-11-07 15:50:56 +01:00
Florence Blanc-Renaud 0ff5d6a388 TestHttpKdcProxy: use the snippet file for krb5 config
The test edits krb5 client configuration in /etc/krb5.conf in order
to use a KDC proxy, but the configuration has moved to the snippet
file /etc/krb5.conf.d/freeipa-realm.

Fix the file path.

Fixes: https://pagure.io/freeipa/issue/9871
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2025-11-07 15:48:24 +01:00
PRANAV THUBE 3894ad88cb Port bash sudo tests.
Description: Porting the bash sudo testsuite to upstream (Including all
Negative & Positive test cases. Automated with Cursor+Claude

Related: https://issues.redhat.com/browse/IDM-2875
Signed-off-by: PRANAV THUBE <pthube@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2025-11-05 17:45:04 -05:00
Alexander Bokovoy d4c3b150fb freeipa.spec: use proper package name when installing Web UI license
On CentOS Stream and RHEL the package name is 'ipa', not 'freeipa'

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
Reviewed-By: Carla Martinez <carlmart@redhat.com>
2025-11-05 17:42:25 -05:00
Florence Blanc-Renaud 1550fedee1 Localization: remove zh_Hant file
When a translation file does not contain any translation, the
build is broken. Remove the zh_Hant file as it is still empty.

Fix es.po

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Arif Budiman 872189e235 Translated using Weblate (Indonesian)
Currently translated at 42.0% (2054 of 4881 strings)

Co-authored-by: Arif Budiman <arifpedia@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/id/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Andi Chandler cc986fd89d Translated using Weblate (English (United Kingdom))
Currently translated at 0.2% (14 of 4881 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/en_GB/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Christian Rohr f0d5a206ac Translated using Weblate (German)
Currently translated at 27.4% (1340 of 4881 strings)

Co-authored-by: Christian Rohr <christian.rohr@mailbox.org>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/de/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Pejman Rezaei d0ea5b5aab Translated using Weblate (Persian)
Currently translated at 0.6% (30 of 4881 strings)

Added translation using Weblate (Persian)

Co-authored-by: Pejman Rezaei <prezaei.eu@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/fa/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Fco. Javier F. Serrador e6be53c1e6 Translated using Weblate (Spanish)
Currently translated at 62.5% (3055 of 4881 strings)

Translated using Weblate (Spanish)

Currently translated at 62.4% (3047 of 4881 strings)

Translated using Weblate (Spanish)

Currently translated at 62.3% (3045 of 4881 strings)

Translated using Weblate (Spanish)

Currently translated at 59.1% (2886 of 4881 strings)

Co-authored-by: Fco. Javier F. Serrador <fserrador@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/es/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Weblate Translation Memory ebc7c54120 Translated using Weblate (Georgian)
Currently translated at 36.6% (1791 of 4881 strings)

Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/ka/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Temuri Doghonadze 458f32ac8a Translated using Weblate (Georgian)
Currently translated at 36.6% (1791 of 4881 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/ka/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Piotr Drąg f248ad4ada Translated using Weblate (Polish)
Currently translated at 9.3% (456 of 4881 strings)

Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/pl/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Weblate b2eddfa517 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Rafael Fontenelle 222bf76626 Translated using Weblate (Spanish)
Currently translated at 58.3% (2847 of 4881 strings)

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/es/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Fco. Javier F. Serrador a7abe5a794 Translated using Weblate (Spanish)
Currently translated at 58.3% (2847 of 4881 strings)

Co-authored-by: Fco. Javier F. Serrador <fserrador@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/es/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Temuri Doghonadze 2ecfce6f36 Translated using Weblate (Georgian)
Currently translated at 36.6% (1788 of 4881 strings)

Translated using Weblate (Georgian)

Currently translated at 35.9% (1755 of 4881 strings)

Translated using Weblate (Georgian)

Currently translated at 35.8% (1751 of 4881 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/freeipa/master/ka/
Translation: freeipa/master
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
hsu zangmen facc956afb Added translation using Weblate (Chinese (Traditional Han script))
Co-authored-by: hsu zangmen <chzang55@gmail.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-05 09:17:01 +01:00
Florence Blanc-Renaud ce1e44b8dc Modern webui: refresh to the tip of main branch
A previous commit overwrote the version of freeipa-webui and
went back before the patch that was fixing the copr build.
Refresh to the tip of freeipa-webui to include the copr fix.

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-11-04 18:47:33 +01:00
Alexander Bokovoy 8c7427a2ba sysaccounts: add integration test
The integration test was created with the help of claude.ai by
providing the following prompt:

 >> given the design document in doc/designs/sysaccounts.md, write an
 >> integration test for sysaccounts module

Fixes: https://pagure.io/freeipa/issue/9842

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2025-11-03 17:18:05 -05:00
Alexander Bokovoy 24e4fd5c0c Add system accounts (sysaccounts)
Introduce support for LDAP-based system accounts by adding a dedicated
sysaccount plugin with full CLI commands, extending role membership to
include system accounts, and providing warnings for passsync
configuration updates across servers, along with corresponding
documentation and tests.

New Features:

    Implement system accounts LDAP object with CLI commands for add,
delete, modify, find, show, enable, and disable.

Enhancements:

    Extend role and baseldap plugins to support sysaccount membership
and manage passsync managers with a ServerSysacctMgrUpdateRequired
warning.

Documentation:

    Add a design document for system accounts and regenerate API docs
for sysaccount commands and role membership.

Tests:

    Update existing role and service plugin tests to cover sysaccount
membership.

Fixes: https://pagure.io/freeipa/issue/9842

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2025-11-03 17:18:05 -05:00
Alexander Bokovoy f17fba0adc ipa-pwd-extop: add SysAcctManagersDNs support
Add new attribute, SysAcctManagersDNs, to store list of DNs allowed to
reset user passwords without forcing the users to change them
afterwards.

This list will differ from the use of PassSyncManagersDNs by the fact
that password policy checks will still apply to those password changes.

Fixes: https://pagure.io/freeipa/issue/9842

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2025-11-03 17:18:05 -05:00
Anuja More f395e162e1 ipatests: Refactor and port trust functional SUDO tests.
- Test scenarios :
  - AD users running commands as root via external groups
  - AD users switching to other AD user accounts
  - IPA users running commands as AD users
  - Sudo rule disable/enable functionality
  - Command allow/deny restrictions
  - Access denial for users not in sudo rules
- Automated with Cursor+Claude

Related : https://pagure.io/freeipa/issue/9845

Signed-off-by: Anuja More <amore@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-11-03 16:01:12 -05:00
Alexander Bokovoy 7a6391f245 Require krb5.conf.d because we install snippets there
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-03 10:07:30 +01:00
Alexander Bokovoy 890474ae3c krb5.conf templates: move IPA domain configuration into a separate snippet
Instead of modifying /etc/krb5.conf with all IPA realm configuration, follow
the practice of creating a separate config snippet file owned by IPA.

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-03 10:07:30 +01:00
Alexander Bokovoy 166dbfb630 krb5.conf templates: remove Kerberos 4 support
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-11-03 10:07:30 +01:00
Florence Blanc-Renaud 1652e70f2c Azure: fix WebUI tests
Instead of using chromium from the distribution, use the
browser provided with Pupeteer and disbale the sandbox

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-10-31 16:28:03 -04:00
Florence Blanc-Renaud 3c5160bba4 Azure: fix the configuration issue
The command launching autogen.sh ends with \ and on fedora 43
this causes a build failure
checking build system type... Invalid configuration '\': machine '\-unknown' not recognized
configure: error: /bin/sh ./config.sub \ failed

Remove the trailing \

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-10-31 16:28:03 -04:00
Florence Blanc-Renaud a4ff2fcc18 Azure CI: Use F43
Fedora 43 is now available, switch azure CI to this version.

Fixes: IDM-3231
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-10-31 16:28:03 -04:00
vectinx a4a218b4eb slapi-plugins: Add replication checking to the Modrdn plugin
The Modrdn plugin doesn't check whether the operation it processes is replicated.
This results in duplicate operations on each replica, for example, when deleting a saved user.
To fix this behavior, a check was added to the Modrdn plugin that the operation is not replicated.

Fixes: https://pagure.io/freeipa/issue/9867

Signed-off-by: vectinx <vectinx@yandex.ru>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2025-10-30 15:07:41 -04:00
Anuja More b38b681480 Revert "Temp commit"
This reverts commit b94848ccff.

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2025-10-28 11:54:44 -04:00
Alexander Bokovoy 0e272e33ac API: correct ordering for password policy credits
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-10-28 17:57:43 +05:30
Alexander Bokovoy 205563ccb1 makeapi: enforce en_US.UTF-8 locale when sorting API files
Collation should be the same for API files or we will end up with
differences between development environments.

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-10-28 17:57:43 +05:30
Alexander Bokovoy 3bb87c2684 doc/api: regenerate notes
There seem to be a difference between API notes in different files: some
contain CRLF, some LF only, and also some empty lines are present while
they should not be there.

Normalize the remaining API docs.

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-10-28 17:57:43 +05:30
Rob Crittenden b94848ccff Temp commit
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-10-27 18:20:45 -03:00
Rob Crittenden 3b5caf9dbd Include the HSM token name when creating LWCAs
In order to generate the private key for a a LWCA (subca)
on an HSM the name of the subca needs to be the HSM token
name : name_of_subca, e.g. ipa_token:test.

This works fine now without any code changes but it requires
that admins always remember to include the prefix which is
unlikely (everyone makes mistakes). So do it for them if
an HSM is present and a token is not provided. We only support
one token at a time in IPA so for now this is sufficient.

One can also mix-and-match including the token and not.
For example you can run:

$ ipa ca-add test --subject cn=test
$ ipa ca-show ipa_token:test

It shouldn't be an issue if a lwca name contains a colon.

Fixes: https://pagure.io/freeipa/issue/9865

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
2025-10-27 18:20:45 -03:00
Florence Blanc-Renaud a0a8cbf7fa ipatests: mark test_scale_add_subca as xfail
The test is unstable because of PKI ticket 4677
Mark as xfail for now.

Related: https://github.com/dogtagpki/pki/issues/4677

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-17 17:22:08 +02:00
Florence Blanc-Renaud c7f07d451c Integration test: fix teardown of test_expiration_date_post_2038
The test moves the date in the future, performs checks and in the
teardown method uninstalls and moves the date back to the current time.

It often fails in the teardown part because certmonger is in the process
of renewing the expired certificates.
Apply the same strategy as other tests fiddling with the date:
stop certmonger and remove the tracking requests before uninstallation.

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-17 17:22:08 +02:00
Florence Blanc-Renaud 78b4325677 test_cert: adapt the expect error message to PKI 11.7.0-5
The error message returned by ipa ca-show has changed with PKI 11.7.
Adapt the test to succeed with old and new versions.

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-17 17:22:08 +02:00
Florence Blanc-Renaud 7f8841cd8b Revert "Tests xmlrpc: mark xfail tests requesting cert with subca"
This reverts commit db188b9ad8.
PKI 11.7.0-3 in fedora 42 fixes the issue with subca cert issuance.

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-17 17:22:08 +02:00
Florence Blanc-Renaud dd8b7214b4 PRCI tests: update vagrant image with latest PKI / certmonger package
Fedora 42 now ships PKI 11.7.0-5 and certmonger 0.79.21-1.
Update the vagrant image to 0.0.9 in order to pull the new versions.

Related: IDM-3437
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-17 17:22:08 +02:00
Aleksandr Sharov d9a2a6abcd Allow ipa tool to force specific server
Fixes: https://pagure.io/freeipa/issue/9744
Signed-off-by: Aleksandr Sharov <asharov@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
2025-10-14 08:20:23 +02:00
David Hanina a66df6d7b4 Fix webui submodule copr build
It's required to install git for copr, so we can fetch the
webui submodule. Updates webui to use clean-install, updates
dependencies and replaces SWC with Babel for build due to
being architecture agnostic.

Signed-off-by: David Hanina <dhanina@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2025-10-13 10:35:47 +02:00
Rob Crittenden 9605ea9a0b Use Augeas when updating dbmodules in krb5.conf
This repalces the straight string parsing from IPAv3.0.0.

It should be much more robust and result in a valid
configuration file when complete. aug.save() will
assure that as it will raise an error otherwise.

This will handle the following cases:
 * db_library = ipadb.so : do nothing
 * db_library is missing, set to ipadb.so
 * db_library is something else, replace wih ipadb.so

Fixes: https://pagure.io/freeipa/issue/9862
Related: https://pagure.io/freeipa/issue/5913

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-10-10 16:52:50 +05:30
PRANAV THUBE 89fb6ad49a Extended eDNS testsuite with Relaxed policy testcases. 1. Relaxed policy without certs and including --no-dnssec-validation 2. Relaxed policy with external CA and including --no-dnssec-validation
Automated with Cursor+Claude
Related: https://issues.redhat.com/browse/IDM-2894

Signed-off-by: PRANAV THUBE <pthube@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Antonio Torres <antorres@redhat.com>
2025-10-10 11:48:12 +02:00
Anuja More 14d7a5b3b6 ipatests: Refactor and port trust functional HBAC tests.
- Tests to cover both root domain and subdomain users:
 - Test that adding AD users/groups without the external group to
   HBAC rules fails.
 - Test HBAC rule denies SSH access for AD users.
 - Test HBAC rule allows SSH access for AD users in external group.
 - Test HBAC rule denies sudo access for AD users when rule doesn't
   include them.
 - Test HBAC rule allows sudo access for AD users in external group.

Related : https://pagure.io/freeipa/issue/9845

Signed-off-by: Anuja More <amore@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2025-10-08 09:29:28 +02:00