Date: Fri, 8 May 2009 07:19:45 GMT From: Oleg Ginzburg <oleg.ginzburg@nevosoft.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134361: devel/gvfs ports with smbclient support doesn't pass anonymous browsing Message-ID: <200905080719.n487Jj3s096081@www.freebsd.org> Resent-Message-ID: <200905080720.n487K10r081169@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134361 >Category: ports >Synopsis: devel/gvfs ports with smbclient support doesn't pass anonymous browsing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 08 07:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Oleg Ginzburg >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD oleg.nevosoft.local 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue May 5 18:52:08 MSD 2009 root@oleg.nevosoft.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: gvfs subsystem not trying for force anonymous browse on SMB network when other kredentical (login/pw/Kerberos) is not correct. for example, gvfs-ls smb:/// no showing anything and as effects, some application (nautilus) not showing anything in Network. Problem appear with upgrading to Gnome 2.26.0 with gvfs-1.2.2 >How-To-Repeat: gvfs-ls smb:/// or go to Network browsing in Nautilus when PC in Windows browseable network >Fix: this code is not patch, just try forcing anonymous attempt (for /usr/local/libexec/gvfsd-smb-browse) and this work, so the truth is out there --- daemon/gvfsbackendsmbbrowse.c 2009-02-26 12:12:24.000000000 +0300 +++ gvfsbackendsmbbrowse.c 2009-05-07 20:22:56.000000000 +0400 @@ -318,6 +318,12 @@ return; } + /* Try anon login */ + strncpy (username_out, "", unmaxlen); + strncpy (password_out, "", pwmaxlen); + /* Try again if anon login fails */ + backend->mount_try_again = TRUE; + if (backend->mount_try == 0 && backend->user == NULL && backend->domain == NULL) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905080719.n487Jj3s096081>