BSD Ports

security/py-django-auth-kerberos 1.2.5_3 FreeBSD

Kerberos authentication backend for Django

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
security, python
Package size
6.4 KiB, 15.0 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDsecurity/py-django-auth-kerberos1.2.5_3
DragonFlysecurity/py-django-auth-kerberos1.2.5_3
HardenedBSDsecurity/py-django-auth-kerberos1.2.5_3
GhostBSDsecurity/py-django-auth-kerberos1.2.5_3

Install

Binary package:

pkg install py312-django-auth-kerberos

From the ports tree:

cd /usr/ports/security/py-django-auth-kerberos/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-django-auth-kerberos>0:security/py-django-auth-kerberos

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.5_31.2.5_31.2.5_21.2.5_31.2.5_3
FreeBSD:14:quarterly1.2.5_31.2.5_3n/a1.2.5_31.2.5_3
FreeBSD:15:latest1.2.5_31.2.5_3n/a1.2.5_31.2.5_3
FreeBSD:15:quarterly1.2.5_31.2.5_3n/an/an/a
FreeBSD:16:latest1.2.5_31.2.5_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

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',
)

Files

distinfo 1
FileSizeSHA256
django-auth-kerberos-1.2.5.tar.gz2277ff5a3838baceddd1bc249795723c64491619823ad6849ec3be4b0fdc214df8e9
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.