ubuntu asks for login for non-password protected windows share

Bug #154870 reported by Martin Olsson
6
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1. Boot Gutsy LiveCD
2. Select "Placess::Connect to server..."
3. Select service "Windows share", enter LAN ip of a Windows machine and enter the name of an existing non-password protected network share on that machine.
4. Ubuntu creates a shortcut on the desktop, click it.
5. Ubuntu asks for username/password even though the network share is non-password protected.
6. No profit.

I don't know how the low levels of SAMBA work, but this kind of thing typically just work out of the box for Windows to Windows networking and it needs to work out of the box for Ubuntu to Windows networking too.

Revision history for this message
Martin Olsson (mnemo) wrote :

I suppose that what I really want is:

1. The password dialog should have two distinct options, first one is "use guest account" and the second it "specify a user/pass manually". If someone selects the "use guest account" option and a permission denied is issued back to ubuntu; then ubuntu shall show a special error message that says:

    maybe the "guest" account is not enabled on the target machine?

I mean, this is not technically super beautiful because "guest" account is not really special. but it would be a HUGE win for overall usability of ubuntu. It would be a workaround that falls in the same category as these other workarounds:

* how apt-get says "are you root?" because so many people are trying to install without having root access
* nano says "mumble mumble" when you press CTRL-S

Revision history for this message
Adam Niedling (krychek) wrote :

I've also met with this. I wonder if this is a bug or not.

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 154870] [NEW] ubuntu asks for login for non-password protected windows share

On Thu, Sep 11, 2008 at 12:39:28PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> 1. Boot Gutsy LiveCD
> 2. Select "Placess::Connect to server..."
> 3. Select service "Windows share", enter LAN ip of a Windows machine and enter the name of an existing non-password protected network share on that machine.
> 4. Ubuntu creates a shortcut on the desktop, click it.
> 5. Ubuntu asks for username/password even though the network share is non-password protected.
> 6. No profit.
>

Could you try to connect to the windows server with smbclient from the
command line ? Are you prompted for a password in that case ?

 status incomplete

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Changed in samba:
status: New → Incomplete
Revision history for this message
Martin Olsson (mnemo) wrote :

Too bad it took 11 months to ask that question because at this point I don't even have the Windows box left. This is too bad because the likelyhood that this bug will be fixed is now significantly lowered. On the upside, the reason why I no longer got the Windows box is because I removed Windows and installed Ubuntu on it so...

Adam, do you still have a computer configuration where you can repro this bug?

Revision history for this message
TomasHnyk (sup) wrote :

Mnemo:I can reproduce it.

Mathias: Yes, it prompts for a password with sambaclient (marking confirmed).

Changed in samba:
status: Incomplete → Confirmed
Revision history for this message
TomasHnyk (sup) wrote :

just tried with intrepid alpha 5 and it asks for password too.

Revision history for this message
TomasHnyk (sup) wrote :

works for me in intrepid release (if it does not for you, please reopen)

Changed in samba:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.