diff options
author | Simo Sorce <simo@redhat.com> | 2014-03-10 16:24:34 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-10 16:24:34 -0400 |
commit | 5be4b2d7786d3eaee9e11c3bc4cdbfa451006947 (patch) | |
tree | cfb38da422dfd90a0b6f2313d5a8b7458ab1b41e /utils/nfsd/nfsd.c | |
parent | 327e24b8678c350b70f83f8b58790309a7c94c7b (diff) | |
download | nfs-utils-5be4b2d7786d3eaee9e11c3bc4cdbfa451006947.tar.gz nfs-utils-5be4b2d7786d3eaee9e11c3bc4cdbfa451006947.tar.xz nfs-utils-5be4b2d7786d3eaee9e11c3bc4cdbfa451006947.zip |
gssd: Drop full domain when constructing the Ad hostname.
When trying to use the special MS Windows hostanme we need to stop
at the first '.' if we got a FQDN from gethostname()
Tee HOST$@REALM form in fact uses the AD samAccountName attribute to
represent 'HOST', and that attribute is always the host's shortname.
Characters like '.' are actually illegal for a shortname in AD.
Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsd/nfsd.c')
0 files changed, 0 insertions, 0 deletions