Samba session request failure when using IP address

Bug #437944 reported by DrC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: samba

smbclient -L consistently throws session request errors when addressing a Windows2003 server by its IP address.
(spawned from Ubuntu bug - see https://bugs.launchpad.net/bugs/436041 and attached screenshot for serve details)

To check consistency I ran a test script three times. The script first uses the server name, then its IP address. The script with console output appended, and the two redirected output files are attached.

Revision history for this message
DrC (drcowsley) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

What happens when you use the netbios name tto connect to the share and not the IP address?

Regards
chuck

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
DrC (drcowsley) wrote :

Chuck - see the upload.

The test script (called test) first uses the netbios name redirecting its output to the file ntserver3, then uses the IP address redirecting its output to file IP91.249. I ran it three times.

The netbios calls all worked as I would expect, and as you can see on the file ntserver3. All three of the IP calls showed the same "access denied" error - see IP91.249.

FYI and to help you to assess things, I also have a record of an isolated failed overnight backup. The problem with that sort of event is its unrepeatability, so it is not really suitable bugfix fodder. But interestingly (IMHO) the unrepeatable backup failure also included error messages similar to the access denied messages on the IP smbclient output; the very much longer path and file name "session request to" field was progressively curtailed over several successive reports. So within this reproducible issue are processes that were also present in my unrepeatable backup failure.

If you wish to follow up on the backup failure I will go over the records and get more detail for you.

Chris

Chris

Revision history for this message
Chuck Short (zulcss) wrote :

Did this work on previous versions of ubuntu?

thanks
chuck

Revision history for this message
DrC (drcowsley) wrote :

Sorry - I don't know. This is a new backup protocol following two bad experiences with tape mechanisms, so I have only been doing it for a couple of months, and only on this version.

If there is still a gutsy box around at work I will try the test script on that next week.

Chris

Revision history for this message
Chuck Short (zulcss) wrote :

Hi,

Can you add "-d 9" to smbclient and attach the output?

Thanks
chuck

Changed in samba (Ubuntu):
importance: Low → Medium
status: Incomplete → Confirmed
Revision history for this message
DrC (drcowsley) wrote :

Attached

Cheers

Chris.

Chuck Short (zulcss)
Changed in samba (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Lucid Lynx. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

As far as I know this call needs a NetBIOS name, so I don't think this is a bug or a regression. Does "smbclient -I <IP> -L <netbios-name>" work ?

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.