]> git.ipfire.org Git - thirdparty/krb5.git/commit
Allow ":port" suffixes in sn2princ hostnames
authorGreg Hudson <ghudson@mit.edu>
Sun, 8 Dec 2013 23:05:26 +0000 (18:05 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 12 Dec 2013 04:56:35 +0000 (23:56 -0500)
commit23a2a3d2f2c5f3ba3393aeca4908d2b2cb0bbe65
tree335a99fd3a955786926f1467a3a3c362e0fa6572
parent1f728b9333401fd4b8c8a9bbb63cb125d53cd5c8
Allow ":port" suffixes in sn2princ hostnames

MSSQLSvc principal names can contain a ":port" or ":instance" trailer
on the hostname part.  If we see that in the hostname argument of
krb5_sname_to_principal(), remove it before canonicalizing the
hostname and put it back on afterwards.

ticket: 7795 (new)
src/lib/krb5/os/sn2princ.c