diff options
author | Andreas Schneider <asn@samba.org> | 2016-03-08 17:08:22 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-03-10 06:52:25 +0100 |
commit | eb880ccc7c39aea3896f68c66feca473ece56606 (patch) | |
tree | c32edfe52e065381664e8006e9a72ff463731d20 /source3/libnet | |
parent | c2f5c30bea372182578055a7bd50ee8076946ef3 (diff) | |
download | samba-eb880ccc7c39aea3896f68c66feca473ece56606.tar.gz |
s3-libnet: Allow the keytab function to use a relative path
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_keytab.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c index 9df1cb8093e..2446808f021 100644 --- a/source3/libnet/libnet_keytab.c +++ b/source3/libnet/libnet_keytab.c @@ -81,7 +81,10 @@ krb5_error_code libnet_keytab_init(TALLOC_CTX *mem_ctx, return ret; } - ret = smb_krb5_open_keytab(context, keytab_name, true, &keytab); + ret = smb_krb5_open_keytab_relative(context, + keytab_name, + true, /* write_access */ + &keytab); if (ret) { DEBUG(1,("keytab_init: smb_krb5_open_keytab failed (%s)\n", error_message(ret))); |