From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 8 07:20:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D33D5106566C for ; Fri, 8 May 2009 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ADA3C8FC0C for ; Fri, 8 May 2009 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n487K1Gj081170 for ; Fri, 8 May 2009 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n487K10r081169; Fri, 8 May 2009 07:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 8 May 2009 07:20:01 GMT Resent-Message-Id: <200905080720.n487K10r081169@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oleg Ginzburg Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75EAD1065674 for ; Fri, 8 May 2009 07:19:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 63D938FC12 for ; Fri, 8 May 2009 07:19:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n487JjaF096082 for ; Fri, 8 May 2009 07:19:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n487Jj3s096081; Fri, 8 May 2009 07:19:45 GMT (envelope-from nobody) Message-Id: <200905080719.n487Jj3s096081@www.freebsd.org> Date: Fri, 8 May 2009 07:19:45 GMT From: Oleg Ginzburg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/134361: devel/gvfs ports with smbclient support doesn't pass anonymous browsing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 07:20:02 -0000 >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: