- /* If we got a hostname, is it ours (or an IP address) ? */
- if (!is_myname_or_ipaddr(pdp->hostname)) {
- /* Repair path. */
- *p = sepchar;
- DEBUG(10,("parse_dfs_path: hostname %s isn't ours. "
- "Try local path from path %s\n",
- pdp->hostname, temp));
- /*
- * Possibly client sent a local path by mistake.
- * Try and convert to a local path.
- */
-
- pdp->hostname = eos_ptr; /* "" */
- pdp->servicename = eos_ptr; /* "" */
-
- p = temp;
- DEBUG(10,("parse_dfs_path: trying to convert %s "
- "to a local path\n",
- temp));
- goto local_path;
- }
-