[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kio_smb patch and questions
From:       Frank Schwanz <schwanz () fh-brandenburg ! de>
Date:       2001-12-03 13:33:24
[Download RAW message or body]

Hello,

regarding to the discussion about url_path a made a patch. It solves the 
treeview problems and does follows for the different urls :

The implemented redirecting to a smb://host/ will needed for setting host as 
directory. It works correct in treeview too. 

smb:/   -> show the workgroups			= WORKS
smb:/group -> show the hosts			= WORKS
smb:/group/host/  -> show the shares		= WORKS (without redirect)

smb://host -> show the shares			= WORKS
smb://host					= WORKS (redirect smb://host/)
smb://group/ -> show the hosts			= WORKS
smb://group					= WORKS (redirect smb://group/)
smb:// -> invalid				= invalid

At least I think the handling for passwords in url need some fixes.

A cached entry

smb://user:xyz@host 

will use the cached user and password. 


regards

frank

Am Freitag, 30. November 2001 03:26 schrieb aleXXX:
> On Fri 30 Nov 01 01:19, Wynn Wilkes wrote:
> > On Thursday 29 November 2001 05:53 pm, aleXXX wrote:
> > > Then how about handling smb:/group/host/path and smb://host/path
> > > exactly the same way without redirecting ?
> >
> > The more I think about it, I think that you're right...the only to avoid
> > the problems is to not redirect...
> >
> > So there ought to be basically two modes for the smb ioslave- a host
> > based one with smb://<host>/<share>
> > and a filesystem based one as: file:/<group>/<host>/<share>
>
> smb:/<group>/<host>/<share>
> you mean probably
>
> > The ioslave should be able to understand both of them.  With no ioslave
> > redirections the tree views will still work.  The ioslave will have to
> > internally handle any url conversion.
> >
> > Does this sound right?
> >
> > Wynn
>
> To me, yes :-)
>
> Bye
> Alex
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic