Update smb-backend.ts
change mount command to username/password instead of user/pass so that it works with mount.cifs ubuntu server 24.04
This commit is contained in:
parent
cac4c84df5
commit
55df96ede7
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ const mount = async (config: BackendConfig, path: string) => {
|
||||||
|
|
||||||
const source = `//${config.server}/${config.share}`;
|
const source = `//${config.server}/${config.share}`;
|
||||||
const options = [
|
const options = [
|
||||||
`user=${config.username}`,
|
`username=${config.username}`,
|
||||||
`pass=${password}`,
|
`password=${password}`,
|
||||||
`vers=${config.vers}`,
|
`vers=${config.vers}`,
|
||||||
`port=${config.port}`,
|
`port=${config.port}`,
|
||||||
"uid=1000",
|
"uid=1000",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue