freeipa / freeipa-community-portal

[ABANDONED] FreeIPA Community Portal extension
GNU General Public License v3.0
4 stars 6 forks source link

Replace create-portal-user bash script with a Python script #28

Closed tiran closed 9 years ago

tiran commented 9 years ago

The create-portal-user script is now a Python script that creates privilege, role and user as well as retrieves a keytab for that user. All important parameters can be adjusted:

$ install/create-portal-user --help usage: create-portal-user [-h] [--privilege PRIVILEGE] [--role ROLE] [--user USERNAME] [--keytab-owner KEYTAB_OWNER] [--keytab KEYTAB] [--no-keytab]

Create user for community portal

optional arguments: -h, --help show this help message and exit --privilege PRIVILEGE Privilege for portal management (default: 'Portal management privilege') --role ROLE Role name for portal management (default: 'Portal management') --user USERNAME Community portal user (default: 'portal') --keytab-owner KEYTAB_OWNER Owner of the keytab file (default: 'apache') --keytab KEYTAB File name of Kerberos client keytab (default: '/etc/ipa/portal.keytab') --no-keytab Don't retrieve a client keytab (default: yes)

Closes #24

tiran commented 9 years ago

Fraser is busy with other tasks. I'm fast trackign the PR without a review.