Alias SMB configuration

What is the problem you are having with rclone?

i make an alias for my nas
\xxxxx\Sicherung\LinuxDocker
But i dont now, where i must but the username and password in?
and sry for my bad english

hello and welcome to the fourm,

use an alias remote.
as for the smb username and smb password, have to manually add that.

for example,

[nas]
type = alias
remote = \\server\share

rclone lsd \\server\share
ERROR : : error listing: directory not found
Failed to lsd with 2 errors: last error was: directory not found

net use \\server\share /user:administrator password
The command completed successfully.

rclone ls \\server\share
        1 01.txt
        0 02.txt
        0 03.txt

rclone ls nas:
        1 01.txt
        0 02.txt
        0 03.txt

Hello, i got this
bash: net: Kommando nicht gefunden. when ich type net use

that example is for ms-windows, not linux

instead of net use, i think you need to use smbclient
https://www.redhat.com/sysadmin/samba-windows-linux

[nas]
type = alias
remote = /mnt/share
root@wsl01:~# mkdir /mnt/share

root@wsl01:~# mount -t cifs -o username=administrator //server/share /mnt/share
Password for administrator@//server/share:

user01@wsl01:~$ rclone ls /mnt/share
        1 01.txt
        0 02.txt
        0 03.txt

user01@wsl01:~$ rclone ls nas:
        1 01.txt
        0 02.txt
        0 03.txt

sry now i get this
mount: //xxxx/Sicherung/LinuxDocker: can't find in /etc/fstab.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.