diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-17 15:54:33 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-17 15:54:33 -0800 |
commit | 0281166bb9bdf0015085b4f0a3049e7bf5036da2 (patch) | |
tree | 29e21ac5b2152246b3bfc9bf05cb8ce9ad6e78d7 /source3 | |
parent | fab0baeed143464a152375c721c391d975e9b061 (diff) | |
download | samba-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.c | 5 |
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; |