You are not logged in.

#1 2018-04-02 15:47

guzman23
Member
Registered: 2018-03-31
Posts: 4

Remember Samba Remote Folder's Credentials for Konqueror

I am looking for a proper way to get the following both:

- Connect to a samba share with username and password through konqueror
- Also achieve to save the username and password so that the dialog never ask for them again

That dialog doesn't has a checkbox to remember password. Is it possible to manage this?

Offline

#2 2018-04-03 06:22

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,334

Re: Remember Samba Remote Folder's Credentials for Konqueror

One method that may work is to use the cif protocol and create a link that way.

mount -t cifs -o username=<share user>,password=<share password>,domain=example.com //WIN_PC_IP/<share name> /mnt

You need to install cif-utils.

Google cif and you should get a few useful hits.  Not sure if the KDE Wallet handles Samba - that would be the other way of doing it I guess.

Offline

#3 2021-10-16 09:29

El-Kink
Member
Registered: 2021-10-15
Posts: 5

Re: Remember Samba Remote Folder's Credentials for Konqueror

Hello,

Up this post !

@bin i get error using command mount -t cifs : mount error (95).

I can connect to my nas without issue (with the gui, but it can't save the crednetials..) but like in the origin post, i want the share to be mounted permanently.

The command i'm trying to use (before write it down in /etc/fstab) is :
sudo mount -t cifs -o credentials=/root/.smbcredentials //xx.xx.xx.xx/myFolder /media/myfolder

Second command tried:
sudo mount -t cifs -o rw,vers=3.0,credentials=/root/.smbcredentials //xx.xx.xx.xx/myFolder /media/myfolder

Both command return "mount error (95) : operation not supported".

Help appreciated.

Offline

Board footer

Powered by FluxBB