GNOME Bugzilla – Bug 160777
Must have Nautilus window open to authenticated gnome-vfs share to open those files
Last modified: 2005-07-14 16:25:28 UTC
1) In Nautilus, use "Connect to Server" to make a connection to an SMB share requiring authentication. Save the authentication data for the session and in the keyring. 2) Pick an XLS file in the share and drag it to the toolbar -- a launcher is created. 3) Edit the launcher so that it runs Gnumeric to open the file, not Nautilus. 4) Close all Nautilus windows viewing the SMB share and wait a minute or two. 5) Click on the launcher to activate it. I would expect Gnumeric to access the same storage of authentication data that Nautilus uses and be able to open the file. Instead, it opens a blank sheet and tells me that access to the file I wanted was denied. If I then open the Nautilus window to the SMB share again and try my launcher again, Gnumeric opens the file no problem. -jag
Alex : I suspect you can shed some light on this ?
You need authentication callbacks installed. call gnome_authentication_manager_init() from libgnomeui
gnumeric-1.2 main() already does this. 1.4 and HEAD don't.
Added for 1.4.3
Jody: Looks like you have a reason for keeping this out of HEAD. What is it?
The place is gnome_program_init. We have to call gnome_vfs_init before calling gnome_authentication_manager_init. But this is WITH_GNOME code, so I don't think it's a problem.
Fixed in cvs
Thank you for yet another perfect case study of why open source (including open bug reporting, testing, and fixing) rocks. -jag