diff options
author | Jeff Layton <jlayton@samba.org> | 2011-12-03 05:57:14 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2011-12-03 05:57:14 -0500 |
commit | eb5ae2c13a52ee9645b81a9f8e37b28ea37decbb (patch) | |
tree | a3e80351d8b0bd892ae12be002c8b34b27ab89be /mtab.c | |
parent | ca4acee17ffc11f2771bc6a32ac0c425d53859ea (diff) | |
download | cifs-utils-eb5ae2c13a52ee9645b81a9f8e37b28ea37decbb.tar.gz cifs-utils-eb5ae2c13a52ee9645b81a9f8e37b28ea37decbb.tar.bz2 cifs-utils-eb5ae2c13a52ee9645b81a9f8e37b28ea37decbb.zip |
cifs.upcall: try and guess the domain name on unqualified names
Resolve the unqualified hostname and set AI_CANONNAME to make sure that
field is populated. Scan forward to the first '.' in ai_canonname, and
append that value onto the unqualified hostname to get a FQDN. Then
prepend that value with "cifs/" and try to get a service ticket for
that principal.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'mtab.c')
0 files changed, 0 insertions, 0 deletions