From kde-devel Sun Jun 08 22:55:29 2003 From: Vincent Wagelaar Date: Sun, 08 Jun 2003 22:55:29 +0000 To: kde-devel Subject: Re: Redirection and KIOSlave X-MARC-Message: https://marc.info/?l=kde-devel&m=105511313408464 On Monday 09 June 2003 00:09, Thiago Macieira wrote: > Vincent Wagelaar wrote: > >I'm currently developing a Slave for browsing the SMB-Shares in my LAN. > > The other kio_smb doesn't seem to work with my libsmbclient. Everything > > is working fine, but I cannot seem to get the redirection work. > > [snip] > > You did not say what exactly was happening when you did redirection, so I > am guessing here: did you enable redirection from your workgroup:// > protocol to smb://? Exactly... I've looked in ~/.kde/share/config/kdeglobals but there where no restrictions defined. Also in /etc/kde* where no such restrictions I found the function: KApplication::authorizeURLAction("redirect", KURL("workgroups://myworkgroup/myhost"), KURL("smb://myhost")) but this function cannot be called statically? How must I call this function in my class derived from the class SlaveBase? Or could the problem be that my slave is not derived from TCPSlaveBase, because I'm now basically redirecting from a filebased-slave to a network-based slave. the function redirection(KURL url) also doesn't have a return value indicating if the redirection has failed or not. > By default, there are some strict rules regarding redirection. Check > KApplication::redirectionAllowed (or similarly named method) in > kdelibs/kdecore/kapp.cpp for more information. Also of interest is the > README.kiosk file. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<