Re: vfs daemon oddness ...
- From: Alexander Larsson <alexl redhat com>
- To: michael meeks novell com
- Cc: "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>
- Subject: Re: vfs daemon oddness ...
- Date: Fri, 04 Mar 2005 08:50:31 +0100
On Thu, 2005-03-03 at 15:38 +0000, michael meeks wrote:
> Hi there,
>
> So - it seems my smb:/// code that used to work in OO.o no longer works
> - which is somewhat depressing :-) we do:
>
> gnome_vfs_module_callback_push
> ( GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION,
> vfs_authentication_callback, l->data, NULL );
>
> Anyhow - as you can see we use the "simple-authentication" string key;
> but we never get asked to authenticate via this method, instead the
> CORBA trace looks like this:
simple-authentication has been deprecated in favour of
full-authentication in order to support things like nt domains and other
more complicated features.
> p28243 : ([0x81ca578])->registerClient ([0x81a9cb0])
> p28243 : ([0x81ca578])->queryInterface ('IDL:GNOME/VFS/AsyncDaemon:1.0')
> =>: [0x81cab18]
> p28243 : ([0x81cab18])->GetFileInfo ('smb://amd64/share/Talk7.sxw', 0x0,
> [0x81cace8], [0x81a9cb0])p28243 : ([0x81cace8])->ModuleCallbackInvoke
> ('fill-authentication', { tc:tk_struct, { 'smb://amd64/share/Talk7.sxw',
> 'smb', 'amd64', 'share', 0x0, '', '', '' } }, ) =>; 0 out:
> ({ tc:tk_null, null } )
> p28243 : ([0x81cace8])->ModuleCallbackInvoke ('full-authentication',
> { tc:tk_struct, { 0x1e, 'smb://amd64/share/Talk7.sxw', 'smb', 'amd64',
> 'share', 0x0, '', '', '', '', '' } }, ) =>; 0 out: ({ tc:tk_null,
> null } )
> p28243 : ([0x81cace8])->ModuleCallbackInvoke ('full-authentication',
> { tc:tk_struct, { 0x1f, 'smb://amd64/share/Talk7.sxw', 'smb', 'amd64',
> 'share', 0x0, '', '', '', '', '' } }, ) =>; 0 out: ({ tc:tk_null,
> null } )
> =>: 0x10 out: ({ '', 0x0, 0x0, 0x0, 0x0, 0x0, 0, 0x0, 0x0, 0x0, 0, 0,
> 0x0, 0x0, 0x0, 0x0, '', '' }, )
>
> Which is particularly odd, since we get the 'full-authentication'
> callback twice: should one of those be a 'simple-authentication', or
> should that be mapped at the client end ? or is it just a hopeless case
> with simple-auth for smb ? :-)
I don't understand why its called twice. I would understand
"fill-authentication" being called first (for gnome-keyring support),
but not two "full" calls.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a time-tossed flyboy senator who dotes on his loving old ma. She's a
wealthy paranoid bodyguard from out of town. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]