You are not logged in.
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
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
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