summaryrefslogtreecommitdiffstats
path: root/support/nfs/mydaemon.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2015-11-02 08:24:03 -0500
committerSteve Dickson <steved@redhat.com>2015-11-02 08:55:04 -0500
commit6597e3910b39a052dc98a32d43fe0900ec81643e (patch)
tree5acbd63b126eb497b8e16fd8f110fd7feb8075c4 /support/nfs/mydaemon.c
parent1cc193508435b67c362c4e99d3f84d1bd0f342a4 (diff)
downloadnfs-utils-6597e3910b39a052dc98a32d43fe0900ec81643e.tar.gz
nfs-utils-6597e3910b39a052dc98a32d43fe0900ec81643e.tar.xz
nfs-utils-6597e3910b39a052dc98a32d43fe0900ec81643e.zip
gssd: Don't assume the machine account will be in uppercase
find_keytab_entry() first looks for an entry of the form <HOSTNAME>$@<DOMAIN>, which corresponds to the Active Directory machine account. It assumes that <HOSTNAME> will be in uppercase because that's how the entry is created if the machine is joined to the domain using Samba. But that's not necessarily the case if the another identity management solution is used... for example a keytab entry for a machine account created by Centrify will match the actual computer account in Active Directory, whether that be in upper case, lower case, or mixed case. So first look for an entry that matches the unmodified hostname and then convert it to uppercase and try again only if that failed. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/mydaemon.c')
0 files changed, 0 insertions, 0 deletions