Port details on branch 2022Q2 |
- py-django-auth-kerberos Kerberos authentication backend for Django
- 1.2.5_2 security =0 1.2.5_2Version of this port present on the latest quarterly branch.
- Maintainer: dvl@FreeBSD.org
- Port Added: 2021-10-18 18:09:04
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/02strich/django-auth-kerberos
- Description:
- Kerberos authentication backend for Django which allows you to easily
specify the realm & service. It can protect against rogue KDC responses
by validating the ticket against the local keytab.
It can do case-sensitive matching between Kerberos and database user names.
It can also accept redirect url to use after login.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}django-auth-kerberos>0:security/py-django-auth-kerberos@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-django-auth-kerberos/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-django-auth-kerberos
- pkg install py39-django-auth-kerberos
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-django-auth-kerberos listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-django-auth-kerberos
- Package flavors (<flavor>: <package>)
- py39: py39-django-auth-kerberos
- distinfo:
- TIMESTAMP = 1634568292
SHA256 (django-auth-kerberos-1.2.5.tar.gz) = ff5a3838baceddd1bc249795723c64491619823ad6849ec3be4b0fdc214df8e9
SIZE (django-auth-kerberos-1.2.5.tar.gz) = 2277
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-coverage>=0 : devel/py-coverage@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-kerberos>1.1.10 : security/py-kerberos@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_py-django-auth-kerberos
- USES:
- python
- pkg-message:
- For install:
- INSTALLED_APPS = (
...
'django_auth_kerberos',
...
)
# kerberos realm and service
KRB5_REALM = 'EXAMPLE.COM'
KRB5_SERVICE = '[hostname]/EXAMPLE.COM'
# Enabled KDC verification defending against rogue KDC responses
# by validating the ticket against the local keytab.
KRB5_VERIFY_KDC = True
# Enable case-sensitive matching between Kerberos and database user names
KRB5_USERNAME_MATCH_IEXACT = True
# redirect url after login
LOGIN_REDIRECT_URL = '/'
# enable kerberos auth backends
AUTHENTICATION_BACKENDS = (
'django_auth_kerberos.backends.KrbBackend',
)
- Master Sites:
|