#5712 Hard-coded Apache uid and gid in custodia.conf.template
Closed: Fixed None Opened 8 years ago by cheimes.

The file install/share/custodia.conf.template has hard-coded constants for Apache HTTP's uid and git:

[auth:simple]
handler = custodia.httpd.authenticators.SimpleCredsAuth
uid = 48
gid = 48

The values are different in non-RH distros. For example Debian/Ubuntu use www-data:www-data instead of apache:apache. The uid and gid are 33 (not sure if the value is stable).

The issue was reported by Timo Aaltonen on IRC.


master:

  • 03a6974 Look up HTTPD_USER's UID and GID during installation.

ipa-4-3:

  • e52fb36 Look up HTTPD_USER's UID and GID during installation.

Metadata Update from @cheimes:
- Issue assigned to dkupka
- Issue set to the milestone: FreeIPA 4.3.1

7 years ago

Login to comment on this ticket.

Metadata