ports/134361: devel/gvfs ports with smbclient support doesn't pass anonymous browsing
Oleg Ginzburg
oleg.ginzburg at nevosoft.ru
Fri May 8 07:20:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list