nautilus asks for workgroup password

Asked by James Pakko

I'm using 10.04 netbook.

In nautilus, if I click on "Network" in the sidebar, an icon for "Windows Network" appears. If I double click on that, it shows an icon with my workgroup name. If I double click on that, it thinks for a while, then a dialog pops up asking for a password.

I don't know what password to give it. None of my network shares are password protected. I tried my Ubuntu login password, and I tried leaving it blank, but nothing works. It just comes back and asks for a password again.

There is a workaround. I can access my network shares using Go - Location and typing into the location bar "smb://servername". This works, but I have to know the servername.

Also, smbtree responds appropriately.

The strange thing is that I have another box running Ubuntu 8.04, and I'm sure I had network browsing working right on that machine about a year ago. But now when I try it, I get the same problem. Some update must have broken it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
James Pakko
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you go to the remote system and run:

hostname

It will tell you the name. smbtree will also tell you the names. In the address bar if you type:

smb://hostname/sharename

Replace sharename with the name you give the share, then it will appear. Your system will need an account WITH a password for samba to work well. Oncee connected to the share you can hit the UP button to see all the shares and you can drag them to the left panel in nautilus for later use.

Revision history for this message
James Pakko (james-pakko) said :
#2

Thanks actionparsnip.

That sort of works. If I follow your directions, the UP button is greyed out, so I can't navigate up to see all of the shares. I _can_ see all of the shares if I enter in the address bar:

smb://hostname

Also, top level shares can't be dragged to the left panel; it only subdirectories. In other words, //hostname/sharename can't be dragged but //hostname/sharename/subdir can be.

However, I can go to the menu and choose Bookmarks/Add Bookmark and that works. So that's an improvement.

Is this all normal behavior? Especially needing a password to browse the workgroup?

Revision history for this message
Sam_ (and-sam) said :
#3
Revision history for this message
James Pakko (james-pakko) said :
#4

OK, I've figured this out. In /etc/samba/smb.conf in the [global] section, if I have:

   name resolve order = lmhosts bcast host wins
   lanman auth = yes
   client lanman auth = yes
   client plaintext auth = yes

this solves the problem.