Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
evfs_fs_samba.c
Log Message:
Correctly re-parse authentication information for nested uris
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_samba.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evfs_fs_samba.c 31 Oct 2005 03:32:55 -0000 1.16
+++ evfs_fs_samba.c 5 Nov 2005 07:45:13 -0000 1.17
@@ -273,6 +273,12 @@
char dir_path[1024];
snprintf(dir_path,1024,"smb:/%s", file->path);
+ /*Does this command have an attached authentication object?*/
+ if (file->username) {
+ printf("We have a username, adding to hash..\n");
+ evfs_auth_structure_add(auth_cache, file->username,
file->password, file->path);
+ }
+
printf("Opening file '%s' in samba\n", dir_path);
file->fd_p = smb_context->open(smb_context, dir_path, O_RDONLY,
S_IRUSR);
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs