After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 148295 - can't browse server with nautilus, works fine with smbclient
can't browse server with nautilus, works fine with smbclient
Status: RESOLVED DUPLICATE of bug 132933
Product: gnome-vfs
Classification: Deprecated
Component: Module: smb
2.6.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-23 21:36 UTC by Matthew Lenz
Modified: 2005-02-13 00:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Matthew Lenz 2004-07-23 21:36:47 UTC
I'm not sure what information i can provide other than:

1. I click Network Servers
2. click the domain
3. click the server

I get:

The folder contents could not be displayed.
You do not have the permissions necessary to view the contents of "Windows
Network: metro1".

I can open up a shell and issue:

smbclient -u mydomain/username -L server
enter my password: and it works fine.

The wild thing is that this USED to work when I first installed fedora.  I
believe there was an update made available for libgnome.  Call me crazy but I
could swear this is when everything stopped working.  Might be a coencidence.
Comment 1 Bastien Nocera 2004-07-23 22:17:51 UTC
Which version of gnome-vfs2-extras are you using?
Comment 2 Matthew Lenz 2004-07-24 16:37:35 UTC
I'm using the newest versions of whatever comes with fedora core 2.

[   ] gnome-vfs-1.0.5-18.i386.rpm      06-May-2004 18:19   404k  
[   ] gnome-vfs-devel-1.0.5-18.i386..> 06-May-2004 18:19   213k  
[   ] gnome-vfs-extras-0.2.0-8.1.i3..> 06-May-2004 18:14   243k  
[   ] gnome-vfs2-2.6.0-8.i386.rpm      13-May-2004 04:56   854k  
[   ] gnome-vfs2-devel-2.6.0-8.i386..> 13-May-2004 04:56   323k  
[   ] gnome-vfs2-smb-2.6.0-8.i386.rpm  13-May-2004 04:56    24k  

Here are the versions of libgnome that were updated (and as far as I can tell
the only ones)

[   ] libgnome-2.6.0-3.i386.rpm        20-May-2004 15:26   580k  
[   ] libgnome-devel-2.6.0-3.i386.rpm  20-May-2004 15:26   101k  

Do you guys have a way to migrate bugs to different distro's or should I stick
this into fedora's bugzilla as well?  Is it possible that this might be a bug
with the new gnome-keyring stuff?  I thought about refreshing my keyring to see
if that would help but there is no interface to it and I wouldn't know where to
look for the gconf files.
Comment 3 Matthew Lenz 2004-07-26 05:27:13 UTC
I would like to add that I am able to browse another machine on this network
that is not part of the domain.  Its my laptop and runs win2k pro.  I have a few
read only shares on it and it allows me to cancel and browse anonymously or to
log into the share as one of the local users.
Comment 4 Scott Hein 2004-08-09 20:41:03 UTC
I am seeing similar behavior on my system (also running the FC2 version of
gnome/nautilus).  When I try to browse our Windows NT domain using nautilus, I
get the same "permissions" error and, similarly, can use SMBMOUNT to mount and
use the share just fine.

What I have noticed is the Windows NT security log shows that the domain
"WORKGROUP" is being used during authentication rather than the actual NT domain
name that I have set up in the workgroup settings of both smb.conf and GCConf. 
I'm not sure where "WORKGROUP" is coming from.  Is there some other config file
where I should be setting the NT domain for gnome/nautilus to use when browsing,
or is "WORKGROUP" somehow hard-coded or set by default in some sections of the code?

-Scott
Comment 5 Christophe Fergeau 2004-08-11 14:26:54 UTC
gnome-vfs-extras shouldn't be installed.
Comment 6 Matthew Lenz 2004-08-11 15:59:59 UTC
care to expand on that vague little tidbit?
Comment 7 Matthew Lenz 2004-08-11 16:34:56 UTC
gnome-vfs-extras removed.. gnome restarted.. still get the exact same error.
Comment 8 Carlos Rodrigues 2004-08-11 23:47:13 UTC
Same here, it didn't change anything.
Comment 9 Bryan Cole 2004-09-03 09:16:45 UTC
this looks like a duplicate of bug #147637 ?

smb-network browsing used to work in FC1/gnome-2.4, but authentication to shares
was broken.

Now, in gnome-2.6, smb-share authentication works, but browsing is broken (on
sites where browse-authentication is required)!

... can we have both parts working in 2.8?
Comment 10 Matthew Lenz 2004-09-28 18:41:44 UTC
still seeing this problem with FC3 test 2 which is using 2.8. *sigh*

gnome-vfs2-smb-2.8.1-2
gnome-vfs2-2.8.1-2
nautilus-2.8.0-1
samba-common-3.0.7-3
samba-client-3.0.7-3
Comment 11 Matthew Lenz 2004-10-29 19:31:43 UTC
still broken with fedora core 3 rc 2 using gnome 2.8

gnome-vfs2-2.8.2-8
gnome-vfs2-smb-2.8.2-8
nautilus-2.8.1-4
samba-common-3.0.8-0.pre1.3
samba-client-3.0.8-0.pre1.3

will someone please change the version on this bug to 2.8?

just to recap this is reproducable on a windows 2k server PDC environment and
also on a home network with windows xp clients.. no pdc.  I can't imagine anyone
even finds smb:// useful in a real environment.  it works fine connecting to my
windows 2k pro laptop but thats it.  even that is kinda flakey.
Comment 12 Gianfranco Liporace 2004-11-18 11:23:24 UTC
There's a patch here:
http://mail.gnome.org/archives/gnome-vfs-list/2004-November/msg00010.html
Works fine for me, but shares with a '$' remains hidden.
Comment 13 Carlos Rodrigues 2004-11-18 11:35:26 UTC
Shares with a '$' are supposed to be hidden anyway.
Comment 14 Diego González 2005-01-30 16:28:22 UTC
i'm using GNOME 2.9 from CVS, from today (30-01-2005) and I'm also seeing a
problem like this one:

nautilus asks me for a password while trying to see the shares exported by a
Windows XP computer, this computer in question doesn't have any password.

smbclient -L computer 
works without problem

smbclient -L \\\\computer\\share also works

if in the password dialog i don't enter anything it keeps asking for a password
and user.
Comment 15 Mantas Kriaučiūnas 2005-02-07 21:48:05 UTC
smb browsing with nautilus 2.8.x and 2.9.x doesn't work in lots of cases :( In
my home network there are 2 computers and 2 Workgroups, but nautilus doesn't
show nor computers, not workgroups, while smbclient displays without problems:

ubuntu@ubuntu:~$ smbclient -N -I 10.0.46.13 -L 13

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       Remote Inter Process Communication

        Server               Comment
        ---------            -------
        13

        Workgroup            Master
        ---------            -------
        TINKLAS              DAIRX
        WWW                  13

I can provide any needed information, please, make working smb browsing in gnome
at least.
I tested with latest ubuntu unstable version:

ubuntu@ubuntu:~$ dpkg -s libgnomevfs2-0 |grep Ver
Version: 2.9.90-0ubuntu2
ubuntu@ubuntu:~$ dpkg -s nautilus |grep Ver
Version: 2.9.90-0ubuntu2

I can compile and test with any version if developers need to know some info.
Comment 16 Christian Kellner 2005-02-13 00:41:57 UTC
This is a smb auth code error.

*** This bug has been marked as a duplicate of 132933 ***