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:
DeepFried3gg 2025-12-18 06:01:38 -08:00 committed by GitHub
parent cac4c84df5
commit 55df96ede7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,8 +38,8 @@ const mount = async (config: BackendConfig, path: string) => {
const source = `//${config.server}/${config.share}`;
const options = [
`user=${config.username}`,
`pass=${password}`,
`username=${config.username}`,
`password=${password}`,
`vers=${config.vers}`,
`port=${config.port}`,
"uid=1000",