Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin <gmachin...
authorJeremy Allison <jra@samba.org>
Tue, 17 Feb 2009 23:54:33 +0000 (15:54 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 17 Feb 2009 23:54:33 +0000 (15:54 -0800)
Jeremy.

source3/libsmb/clikrb5.c

index a95a25c..168ca63 100644 (file)
@@ -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;