svn path=/trunk/packages/invirt-web/; revision=1836
if environ.get('AUTH_TYPE') == 'Negotiate':
# Convert the krb5 principal into a krb4 username
- if not user.endswith('@%s' % config.authn[0].realm):
+ if not user.endswith('@%s' % config.kerberos.realm):
return
else:
return user.split('@')[0].replace('/', '.')
+invirt-web (0.0.15) unstable; urgency=low
+
+ * config.{authn[0] => kerberos}.realm
+
+ --
+
invirt-web (0.0.14) unstable; urgency=low
* Depend on invirt-web-iptables
KrbMethodNegotiate on
KrbMethodK5Passwd off
KrbAuthoritative off
- KrbAuthRealms ${cfg.authn[0].realm}
+ KrbAuthRealms ${cfg.kerberos.realm}
Krb5Keytab /etc/invirt/keytab
KrbSaveCredentials off
</%call>