This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can Dolphin mount a samba share with plain passwords?

Tags: None
(comma "," separated)
littlenoodles
Registered Member
Posts
14
Karma
0
OS
I've got an AIX server that uses plain-text unix passwords for its shares. I know that's outdated and insecure, but be that as it may, I need to connect to it. For Windows boxes to connect, I have to install the Samba 'plain password' patch to the registry. Is there a way to get this behavior under KDE/Dolphin?

If not is there a command-line way to do it?

Thanks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Dolphin, as a part of KDE, follows the settings set in Samba itself. If standard Samba clients are able to use plain passwords, then Dolphin should be able to connect to those shares without a problem.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
littlenoodles
Registered Member
Posts
14
Karma
0
OS
Dolphin, as a part of KDE, follows the settings set in Samba itself. If standard Samba clients are able to use plain passwords, then Dolphin should be able to connect to those shares without a problem.

Just want to make sure we're talking about the same thing. The samba server is an AIX box (not Linux or KDE), which is using its local password file for authentication - hence the need to install the Samba 'plainpassword.reg' file on Windows clients that access this AIX box. I'm now trying to access the same AIX box from my Linux desktop via Dolphin, and I get a 'not authorized' error. Usually, when that happens on a Windows client, it means that the 'plainpassword.reg' patch hasn't been applied. So my question is whether something needs to be done on my Linux desktop to emulate what 'plainpassword.reg' does on Windows.

I guess you're saying that if the underlying Samba client supports plain passwords, then Dolphin will. I just wasn't aware of a client-side samba config. Just the smb.conf for a Samba server. Are you saying that there's a separate config file that controls the Samba client?
littlenoodles
Registered Member
Posts
14
Karma
0
OS
Could it be this (from http://www.samba.org/samba/docs/man/man ... onf.5.html)?

client plaintext auth (G)
Specifies whether a client should send a plaintext password if the server does not support encrypted passwords.
Default: client plaintext auth = no
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Yep, we are talking about the same thing. In this case, Dolphin needs a similar change - just to the Samba configuration on the client computer instead of the Registry.
As far as I am aware, the "smb.conf" file is for both the server and client parts of Samba.

If you edit the system-wide smb.conf to enable plain-text authentication, then KDE will follow and respect that setting.
In this case, the edit you need to make is to add/change the option you found - which from what I can tell appears to be the correct one.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]