5.7.196. Bugzilla::Extension::RedHat::bin::sync-internal-groups¶
5.7.196.1. NAME¶
sync-internal-groups.pl
5.7.196.2. SYNOPSIS¶
sync-internal-groups.pl <options>
--help|h Display help text
--man Display man page
--force Force LDAP caches to be refreshed.
--keep Keep the LDAP cache files
--force-sync Force the groups to be updated regardless of the number of changes required.
--verbose Output more messages
--host=s The host to use to manage groups. Mandatory!
5.7.196.3. DESCRIPTION¶
This command syncs bugzilla group membership to internal groups.
See https://gitlab.corp.redhat.com/it-iam/internal-groups/-/blob/main/docs/api_reference.md
You can check LDAP for th existing groups.
- Members in a group
ldapsearch -Q -H ldaps://ldap.corp.stage.redhat.com -b "ou=users, dc=redhat, dc=com" -LLL -o ldif-wrap=no "memberOf=cn=bugzilla-redhat,ou=adhoc,ou=managedGroups,dc=redhat,dc=com" uid
- The group itself
ldapsearch -Q -H ldaps://ldap.corp.stage.redhat.com -b "ou=adhoc,ou=managedGroups,dc=redhat,dc=com" -LLL -o ldif-wrap=no "cn=bugzilla-redhat"
5.7.196.4. EXAMPLES¶
$ sync-internal-groups.pl --force --host=https://internal-groups.preprod.iam.redhat.com'