Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2021 12:42:15 +0200
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Dan Langille <dvl@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 43f214641272 - main - security/py-django-auth-kerberos: Add new port
Message-ID:  <a09ce76c-bbfa-4f94-b50b-d9a085c58fda@FreeBSD.org>
In-Reply-To: <202110181807.19II7Tx1086557@gitrepo.freebsd.org>
References:  <202110181807.19II7Tx1086557@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Dan,

On 18/10/2021 20:07, Dan Langille wrote:
> The branch main has been updated by dvl:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=43f214641272504d6f81c2a5f234ea6916daf104
>
> commit 43f214641272504d6f81c2a5f234ea6916daf104
> Author:     Dan Langille <dvl@FreeBSD.org>
> AuthorDate: 2021-10-18 18:06:44 +0000
> Commit:     Dan Langille <dvl@FreeBSD.org>
> CommitDate: 2021-10-18 18:06:44 +0000
>
>      security/py-django-auth-kerberos: Add new port
>      
>      Kerberos authentication backend for Django
[snip]
> diff --git a/security/py-django-auth-kerberos/pkg-descr b/security/py-django-auth-kerberos/pkg-descr
> new file mode 100644
> index 000000000000..c40b8cfece50
> --- /dev/null
> +++ b/security/py-django-auth-kerberos/pkg-descr
> @@ -0,0 +1,23 @@
> +Make sure following settings are configured in settings.py:
> +
> +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 = '/'
> +
> +WWW: https://github.com/02strich/django-auth-kerberos

Perhaps this could go to pkg-message instead?

Cheers,

Mateusz




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a09ce76c-bbfa-4f94-b50b-d9a085c58fda>