PDA

View Full Version : [ubuntu] Remove the options when connecting to a samba share



dermawan123
June 29th, 2009, 07:37 AM
I'm running Ubuntu 9.04. Whenever I want to connect to a samba share on other computer, there will be a dialog box to enter:

* username
* domain
* password

and the radiobuttons:

* forget password immediately
* remember password until you logout
* remember forever

Is it possible to force the user to only select "forget password immediately"? Or even better, to not show the radiobuttons at all...

Any help will be appreciated... :)

petermck
August 1st, 2009, 10:13 AM
Hi,
I want to do the same thing. Did you get an answer on how to do it?

dermawan123
August 3rd, 2009, 07:12 AM
So far, I haven't found any solution yet, unfortunately...

petermck
August 6th, 2009, 07:17 PM
Did you try anything with PolicyKit? I'm about to, but I won't waste my time if someone else has already been down that road.

petermck
August 22nd, 2009, 09:16 AM
If you're still interested in doing this I managed to stop the password saving options by changing the execute permissions on /usr/bin/gnome-keyring-daemon. Unfortunately this effectively means no keyring and this will no doubt be a pain when it comes to other applications like wireless network management, but that is not a problem in my application.
The password is still stored in memory until you either log off or unmount the share or kill the relevant gvfs-smbd process. I'm trying to think of a way around this as I would like the share to be unmounted when the user closes the nautilus window or ideally navigates away from the share.

Kurgan_it
May 18th, 2010, 02:40 PM
I need the same thing, too. Some ideas?