Comment on Best Network File Sharing before a NAS

<- View Parent
NightEagle@lemmy.world ⁨1⁩ ⁨year⁩ ago

It’s using the current user “root” as a login user for the share. You can specify a different share user using following command:

`# mkdir /mnt/cifs

mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft

mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft`

Try specifing a user that does exist on your Windows machine. Not quite sure if it will work without a password, but you can try.

cyberciti.biz/…/linux-mount-cifs-windows-share/

source
Sort:hotnewtop