a new table user_krb_principals instead of one-on-one mapping users.krb_principal
all APIs related to user or krb principals are changed
now, userinfo of getUser won't contain krb_principal. Instead, it will contain a new list krb_principals having all available princs if krb_princs=True
a new hub option: AllowedKrbRealms to indicate which realms are allowed
a new client option krb_server_realm to allow krbV login to set server realm, which was the same as client princ realm before. This support all clients - cli, builder, web(KrbServerRealm), vmbuilder, gc, kojira, shadow
QueryProcessor has a new queryOpt group, which is used to generate GROUP BY section. By default, this feature is disabled by arg: enable_group=False
with PR #1419, GSSAPI will natively support multiple realms as well, auth_to_local mapping in /etc/krb5.conf is not necessary anymore, we could just set GssapiLocalName Off in httpd.conf
user_krb_principalsinstead of one-on-one mapping users.krb_principaluserinfoofgetUserwon't containkrb_principal. Instead, it will contain a new listkrb_principalshaving all available princs ifkrb_princs=TrueAllowedKrbRealmsto indicate which realms are allowedkrb_server_realmto allow krbV login to set server realm, which was the same as client princ realm before. This support all clients - cli, builder, web(KrbServerRealm), vmbuilder, gc, kojira, shadowQueryProcessorhas a new queryOptgroup, which is used to generate GROUP BY section. By default, this feature is disabled by arg:enable_group=Falseauth_to_localmapping in /etc/krb5.conf is not necessary anymore, we could just setGssapiLocalName Offin httpd.confrelated: #1419
fixes: #1629