mc/gnome
Norbert Warmuth 946ac9b60b This commit mainly adds a password dialog to smbfs. In the Gnome Edition
this dialog doesn't look perfect but at least it doesn't break gmc.


1999-09-14  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gnome/layout: Added the new samba password dialog.

* src/widget.[ch] (input_new): added const qualifier

* src/util.c (wipe_password): Check for NULL.


1999-09-14  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/smbfs.c (various places): Store filenames in memory with the unix
character set and convert it back to the dos character set when filenames
are passed back to the samba server. If samba is configured correctly
this will fix the problems with filenames which contain national characters.

(bucket_set_authinfo): Set domain, username and password which will
be used to log on and authenticate against the samba server and remember this
information on a host/share basis. If set use PASSWD to get the
password. If already authenticated against the host and share use this
information. If already authenticated against host and IPC$ use this
information. If neither of the former is true ask the user how to
log on.

(authinfo_get_authinfo_from_user): New function. Query the user for
domain, username and password to use for authentication.

(authinfo_free): New function. Free memory in authentication structure.

(authinfo_free_all): New function. Free the list used to remember
authentication information.

(authinfo_compare_host_and_share, authinfo_compare_host): New functions.
Helper functions used to search the authentication list.

(authinfo_add): New function. Add one authentication entry to the
authlist.

(authinfo_remove): New function. Remove one entry from the authlist.

(free_bucket): Free memory associated with one bucket.

(smbfs_get_free_bucket): Initialize the complete connection array
with 0. Free the memory allocated for a bucket and initialize the
bucket before reusing it.

(smbfs_open_link): use new functions to get authentication information

(get_stat_info, smbfs_stat): remove unused variables.
1999-09-14 18:20:02 +00:00
..
mime-type ja entry fix from ITANI Eiichiro. 1999-09-08 08:01:41 +00:00
.cvsignore Update .cvsignore 1999-01-30 21:54:39 +00:00
application.x-gnumeric.desktop ja Update from ITANI Eiichoro 1999-09-08 15:32:04 +00:00
ChangeLog This commit mainly adds a password dialog to smbfs. In the Gnome Edition 1999-09-14 18:20:02 +00:00
dev.xpm Cropped and added transparency to device icon - Federico 1998-03-10 21:19:11 +00:00
dir-close.xpm Changed the dir-tree icons to match the green eeky color of the big folders 1999-05-02 23:11:08 +00:00
dir-open.xpm Changed the dir-tree icons to match the green eeky color of the big folders 1999-05-02 23:11:08 +00:00
directory-ok.xpm Sync up so that Elliot can fix shaped-windows dnd -mig 1998-03-06 03:48:31 +00:00
directory.xpm 1998-12-03 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-12-04 02:08:06 +00:00
gaction.c 1999-08-08 David Martin <dmartina@usa.net> 1999-08-08 12:43:32 +00:00
gcache.c Image cache fixed -mig 1998-04-30 06:15:29 +00:00
gcache.h 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx> 1998-04-01 00:52:33 +00:00
gcliplabel.c Use gtk_label_set_text 1998-12-28 03:38:33 +00:00
gcliplabel.h cwd input line works/filter handling works/clipping label widget/flashing removed -mig 1998-03-24 05:25:56 +00:00
gcmd.c 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-09-02 18:31:17 +00:00
gcmd.h 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-09-02 18:31:17 +00:00
gconf.h 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de> 1999-08-06 19:24:04 +00:00
gcorba.c 1999-09-13 Owen Taylor <otaylor@redhat.com> 1999-09-14 05:21:39 +00:00
gcorba.h 1999-09-10 Federico Mena Quintero <federico@redhat.com> 1999-09-10 19:24:57 +00:00
gcustom-layout.c 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gcustom-layout.h 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gdesktop-icon.c 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gdesktop-icon.h 1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-06-10 00:57:26 +00:00
gdesktop-init.c 1999-05-23 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-05-24 22:46:26 +00:00
gdesktop-init.h COOL CODE! OH MAN! I AM GOOD! 1999-03-20 18:08:52 +00:00
gdesktop-prefs.c I'm a turbo-idiot. It helps to add the files. - Federico 1999-08-24 03:47:19 +00:00
gdesktop-prefs.h I'm a turbo-idiot. It helps to add the files. - Federico 1999-08-24 03:47:19 +00:00
gdesktop.c 1999-09-10 Federico Mena Quintero <federico@redhat.com> 1999-09-10 19:24:57 +00:00
gdesktop.h 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gdialogs.c 1999-08-08 David Martin <dmartina@usa.net> 1999-08-12 19:26:09 +00:00
gdnd.c 1999-08-30 Federico Mena Quintero <federico@redhat.com> 1999-08-30 20:07:33 +00:00
gdnd.h 1999-08-30 Federico Mena Quintero <federico@redhat.com> 1999-08-30 20:07:33 +00:00
ghelp.c Lots of prototypes added, warnings removed -miguel 1998-04-17 00:59:58 +00:00
gicon.c 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gicon.h 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gimp.image.desktop updated catalan file 1999-09-10 01:36:05 +00:00
ginfo.c Glibing... (3) 1999-01-27 01:14:57 +00:00
gkey.c 1999-03-10 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-03-11 02:00:12 +00:00
glayout.c 1999-09-13 Miguel de Icaza <miguel@gnu.org> 1999-09-14 01:44:59 +00:00
gmain.c 1999-08-16 Federico Mena Quintero <federico@redhat.com> 1999-08-16 20:02:27 +00:00
gmain.h 1999-08-08 David Martin <dmartina@usa.net> 1999-08-13 22:45:07 +00:00
gmc-chargrid.c 1999-06-24 Norbert Warmuth <nwarmuth@privat.circular.de> 1999-06-24 21:53:40 +00:00
gmc-chargrid.h 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-03-13 00:56:24 +00:00
gmc-client.c You did not expect *me* to add the file before committing, right? - Federico 1999-09-09 23:48:00 +00:00
gmc-window.c Remove more deprecated gnome-dialog functions 1998-11-29 17:14:25 +00:00
gmc-window.h More work - Federico 1998-11-18 02:15:09 +00:00
gmc.gnorba CORBA overhaul, part 1. This will not compile. HAH. I'm taking it home - Federico 1999-09-09 00:37:02 +00:00
gmenu.c Glibing... (3) 1999-01-27 01:14:57 +00:00
gmetadata.c 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-04-06 03:49:34 +00:00
gmetadata.h 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-04-06 03:49:34 +00:00
gmount.c 1999-09-13 Owen Taylor <otaylor@redhat.com> 1999-09-14 05:21:39 +00:00
gmount.h 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-03-11 07:53:26 +00:00
gnome-file-property-dialog.c 1999-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-09-10 19:04:34 +00:00
gnome-file-property-dialog.h 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-03-11 02:40:53 +00:00
gnome-open-dialog.c David's "Hex View in GMC & some June patches" sent on June 14 (don't blame 1999-06-22 10:29:29 +00:00
gnome-open-dialog.h 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-03-11 02:40:53 +00:00
gnome.TODO 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-02-26 07:17:51 +00:00
gpageprop.c 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-02-25 04:08:43 +00:00
gpageprop.h 1998-12-30 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-12-31 01:43:11 +00:00
gpopup2.c 1999-08-12 Jonathan Blandford <jrb@redhat.com> 1999-08-12 22:50:25 +00:00
gpopup2.h Compilation warnings 1999-02-07 02:35:57 +00:00
gpopup.c Fix bug #1293: 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-05-27 02:06:27 +00:00
gpopup.h 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-03-16 00:11:32 +00:00
gprefs.c 1999-08-23 Federico Mena Quintero <federico@redhat.com> 1999-08-23 23:13:31 +00:00
gprefs.h 1999-01-08 Jonathan Blandford <jrb@redhat.com> 1999-01-09 00:24:03 +00:00
gprint.c COOL CODE! OH MAN! I AM GOOD! 1999-03-20 18:08:52 +00:00
gprint.h 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-03-11 02:40:53 +00:00
gprop.c 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-02-25 04:08:43 +00:00
gprop.h 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-02-25 04:08:43 +00:00
gscreen.c 1999-09-13 Federico Mena Quintero <federico@redhat.com> 1999-09-13 23:27:18 +00:00
gscreen.h 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-09-02 18:31:17 +00:00
gsession.c 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-06-22 21:02:08 +00:00
gsession.h When will I learn. It helps to add the files - Federico 1999-03-30 06:21:30 +00:00
gtkdtree.c 1999-09-13 Federico Mena Quintero <federico@redhat.com> 1999-09-13 23:27:18 +00:00
gtkdtree.h 1999-09-13 Federico Mena Quintero <federico@redhat.com> 1999-09-13 23:27:18 +00:00
gtkflist.c 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-04-10 00:54:10 +00:00
gtkflist.h I always forget to add the files. I love my consistency. - Federico 1999-04-09 21:48:24 +00:00
gtools.c These are a bunch of changes to fix CORBA and session management. They 1999-03-30 06:09:56 +00:00
gtree.c New globaly shared treestore. 1999-01-09 03:43:05 +00:00
gtree.h Lots of changes: 1998-12-02 05:18:20 +00:00
gutil.c 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-03-10 17:54:33 +00:00
gview.c 1999-08-09 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-08-09 22:54:02 +00:00
gwidget.c 1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-06-11 16:56:28 +00:00
gwidget.h 1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-01-03 18:34:40 +00:00
i-blockdev.png Use Tigert's icons 1999-02-05 01:55:57 +00:00
i-cdrom.png Add missing icons 1999-02-24 02:38:46 +00:00
i-chardev.png Use Tigert's icons 1999-02-05 01:55:57 +00:00
i-core.png CORE icon... "Your code sucks! Debug!..." :) - tigert 1998-05-15 19:29:57 +00:00
i-device.png Icon View mode for GNOME/mc: 1998-05-08 02:25:00 +00:00
i-dirclosed.png Added new, better looking folder icons.. /tigert 1999-05-02 22:26:46 +00:00
i-directory.png Added new, better looking folder icons.. /tigert 1999-05-02 22:26:46 +00:00
i-executable.png Updated the icon a bit... - should look better. / tigert 1998-05-16 07:42:48 +00:00
i-fifo.png 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-02-10 22:07:39 +00:00
i-floppy.png Add missing icons 1999-02-24 02:38:46 +00:00
i-nfs.png 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx> 1999-03-11 07:53:26 +00:00
i-printer.png Add missing icons 1999-02-24 02:38:46 +00:00
i-regular.png Added 'general file' icon :) - tigert 1998-05-14 03:39:41 +00:00
i-sock.png 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-02-10 22:07:39 +00:00
i-stalled.png 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-02-17 01:12:21 +00:00
i-symlink.png 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-02-17 01:12:21 +00:00
i-zipdisk2.png Added a nice zip-disk icon bezides the current one - having some variation 1999-06-30 23:20:35 +00:00
i-zipdisk.png Added a ZIP DISK icon - someone please add it to gmount.c :) /tig 1999-05-19 05:46:58 +00:00
image.metadata.in 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-12-11 02:05:19 +00:00
layout This commit mainly adds a password dialog to smbfs. In the Gnome Edition 1999-09-14 18:20:02 +00:00
link.xpm Cropped link icon - Federico 1998-03-10 21:28:36 +00:00
listing-brief-list.xpm Committed the new toolbar icons also for gmc /tigert 1999-02-12 12:47:22 +00:00
listing-custom.xpm Committed the new toolbar icons also for gmc /tigert 1999-02-12 12:47:22 +00:00
listing-iconic.xpm Committed the new toolbar icons also for gmc /tigert 1999-02-12 12:47:22 +00:00
listing-list.xpm Committed the new toolbar icons also for gmc /tigert 1999-02-12 12:47:22 +00:00
make-thumb.c Glibing... (3) 1999-01-27 01:14:57 +00:00
Makefile.in 1999-09-13 Owen Taylor <otaylor@redhat.com> 1999-09-14 05:21:39 +00:00
mc.keys.in.in 1999-09-05 <jrb@redhat.com> 1999-09-05 06:56:17 +00:00
mc.metadata.in 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx> 1999-02-12 22:16:32 +00:00
multi-ok.png - Simplified the update_panels routine to only care about the current 1998-04-30 03:21:52 +00:00
multi-ok.xpm More icons -mig 1998-03-12 06:00:16 +00:00
multi.xpm More icons -mig 1998-03-12 06:00:16 +00:00
not.png Better you-can-not-drop-here icon -mig 1998-05-03 18:50:10 +00:00
olddnd.c Thu Jan 28 02:15:48 1999 Timur Bakeyev <mc@bat.ru> 1999-01-27 23:22:50 +00:00