[freeipa PR#1626][opened] Silence some GCC warnings
by tiran
URL: https://github.com/freeipa/freeipa/pull/1626
Author: tiran
Title: #1626: Silence some GCC warnings
Action: opened
PR body:
"""
The ipadb_free() and ipadb_alloc() functions are only used with
KRB5_KDB_DAL_MAJOR_VERSION 5.
```
ipa_extdom_common.c:103:5: warning: enumeration value ‘NSS_STATUS_RETURN’ not handled in switch [-Wswitch]
ipa_kdb.c:639:13: warning: ‘ipadb_free’ defined but not used [-Wunused-function]
ipa_kdb.c:634:14: warning: ‘ipadb_alloc’ defined but not used [-Wunused-function]
```
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1626/head:pr1626
git checkout pr1626
6 years
[freeipa PR#1474][opened] Prepare migration of mod_nss NSSDB to sql format
by tiran
URL: https://github.com/freeipa/freeipa/pull/1474
Author: tiran
Title: #1474: Prepare migration of mod_nss NSSDB to sql format
Action: opened
PR body:
"""
This is a reduced version of PR #1458, just refactoring and additional SQL format support without an actual migration. This bits and pieces are useful for master and 4.6. The missing pieces are only relevant for 4.6 support on rawhide.
- Refactor CertDB to look up values from its NSSDatabase.
- Add run_modutil() helpers to support sql format. modutil does not
auto-detect the NSSDB format.
- Add migration helpers to CertDB.
- Restore SELinux context when migrating NSSDB.
- Add some debugging and sanity checks to httpinstance.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1474/head:pr1474
git checkout pr1474
6 years