Comment 19 for bug 1771943

Revision history for this message
piviul (piviul) wrote :

Il 14/02/19 11:20, Sebastien Bacher ha scritto:> Upstream comment
>
> 'smbc_new_context() calls smbc_setOptionUseCCache(context, True) if
> LIBSMBCLIENT_NO_CCACHE environemnt variable is not defined. I suppose it
> is not defined in your system, but can you please confirm it?is it correct to test if there is such a variable set in the user environment? This command
$ env | grep SMB; echo $?
1

answers your question?

> [...]
> I am not sure how exactly is ccache authentication handled, but first
> iteration uses smbc_setOptionFallbackAfterKerberos (smb_context,
> op_backend->user != NULL). I wonder if it helps to specify the username
> in the URI, e.g. gio mount smb://username@server/share?'
there is no difference with or without the username from the command gio mount... in both cases ask me a password and if I press return without typing a password or I press Ctrl-c the share is correctly mounted...

If you need some more infos or do you want to suggest me something else please let me know

Piviul