summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-03-29 09:11:29 -0400
committerJeff Layton <jlayton@samba.org>2012-03-29 09:11:29 -0400
commitc5dcf26c0d87d9e8342d2c946e039066de29d30a (patch)
treed8dd1db43df4fefd692a1075aa62d89a8fb77f45 /configure.ac
parentb0bc3861bfc7b258045d1d456cf2ef4a43ea9562 (diff)
downloadcifs-utils-c5dcf26c0d87d9e8342d2c946e039066de29d30a.tar.gz
cifs-utils-c5dcf26c0d87d9e8342d2c946e039066de29d30a.tar.bz2
cifs-utils-c5dcf26c0d87d9e8342d2c946e039066de29d30a.zip
cifs.upcall: use krb5_sname_to_principal to construct principal name
Currently, we build the string by hand then then construct the principal name with krb5_parse_name. That bypasses the domain_realm section in krb5.conf however. Switch the code to use krb5_sname_to_principal instead which is more suited to this task. In order for that to work, we change a couple of calling functions to pass down a hostname instead of a principal name, and then pass in "cifs" as the service name. Reported-and-Tested-by: Nirupama Karandikar <nkarandi@redhat.com> Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions