Lines Matching refs:path
133 smb_config.set("SERVER", "path", SERVER_MAGIC)
141 smb_config.set("TESTS", "path", TESTS_MAGIC)
143 if not options.srcdir or not os.path.isdir(options.srcdir):
146 test_data_dir = os.path.join(options.srcdir, "data")
199 path = self.get_share_path(conn_data,
202 log.info("[SMB] Requested share path: %s", path)
212 # Check to see if the path we were given is actually a
213 # magic path which needs generating on the fly.
214 if path not in [SERVER_MAGIC, TESTS_MAGIC]:
230 if path == SERVER_MAGIC:
233 assert (path == TESTS_MAGIC)
249 if os.path.isdir(path):
259 os.path.dirname(full_path), os.path.basename(full_path),
263 raise SmbException(error_code, "Failed to query path info")
281 conn_data["OpenedFiles"][fakefid]["FileName"] = path
302 # If we have a rootFid, the path is relative to that fid
303 path = conn_data["OpenedFiles"][root_fid]["FileName"]
304 log.debug("RootFid present %s!" % path)
306 if "path" in conn_shares[tid]:
307 path = conn_shares[tid]["path"]
310 "Connection share had no path")
315 return path
318 log.debug("[SMB] Get server path '%s'", requested_filename)
450 if options.pidfile and os.path.isfile(options.pidfile):