summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-17 15:54:33 -0800
committerJeremy Allison <jra@samba.org>2009-02-17 15:54:33 -0800
commit0281166bb9bdf0015085b4f0a3049e7bf5036da2 (patch)
tree29e21ac5b2152246b3bfc9bf05cb8ce9ad6e78d7 /source3
parentfab0baeed143464a152375c721c391d975e9b061 (diff)
downloadsamba-0281166bb9bdf0015085b4f0a3049e7bf5036da2.tar.gz
samba-0281166bb9bdf0015085b4f0a3049e7bf5036da2.tar.bz2
samba-0281166bb9bdf0015085b4f0a3049e7bf5036da2.zip
Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin <gmachin@sandia.gov>.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index a95a25c74a..168ca63303 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -1756,6 +1756,11 @@ done:
tmp += 5;
}
+ if (tmp[0] == '/') {
+ /* Treat as a FILE: keytab definition. */
+ found_valid_name = true;
+ }
+
if (found_valid_name) {
if (tmp[0] != '/') {
ret = KRB5_KT_BADNAME;