diff --git a/lib/krb5/expand_path_w32.c b/lib/krb5/expand_path_w32.c index 784ce64fe..0c4287c32 100644 --- a/lib/krb5/expand_path_w32.c +++ b/lib/krb5/expand_path_w32.c @@ -479,6 +479,14 @@ _krb5_expand_path_tokens(krb5_context context, } } + /* Also deal with slashes */ + if (*ppath_out) { + char * c; + for (c = *ppath_out; *c; c++) + if (*c == '/') + *c = '\\'; + } + return 0; }