是否可以在 UNC 路径中传递 UNC 用户名和密码?
类似于 FTP 和 SMB 对此的支持方式:
smb://user:pass@destination.com/share
ftp://user:pass@destination.com/share
Run Code Online (Sandbox Code Playgroud)
我正在尝试获得对 DFS 路径的(非域 PC)服务访问权限。
有没有其他方法可以解决这个问题?我可以将 PC 绑定到域并以域用户身份运行服务,但如果我使用的是 Linux 呢?