[Samba] XP network breaks when shares are accessed by Fedora 19 smbclient

How_F19 how0909 at freeshell.org
Mon Aug 5 15:21:58 MDT 2013


I'll try again with a (hopefully) simpler example.

I am having a strange problem when accessing XP shared folders.

My XP box connects to internet via dialup, hosts my ethernet lan and 
provides Internet Connection Sharing to the lan.

The XP lan base is 192.168.0.0 and the XP user "Owner" is on 192.168.0.1 
and hostname is "WILLY".

My Fedora 19 laptop is dual boot win7/fedora19.
Booted to win7 I can see XP shares fine.
Booted to F19 I have problems.
That ends up on 192.168.0.148 with hostname "f19.splurge.org".
I do have an initial smb.conf but I am just trying to connect to
xp via smbclient at this point.

-----------
So here's what happens:

If I try to use smbclient to access XP shares on willy an alert box 
comes up on xp and dialup is broken.

If XP machine is NOT dialed up I do not get willy and instead get 
listing for f19.

Example:
-------------------------------

#### Attempt to connect to XP box "WILLY" via samba.
#### First with XP NOT connected to internet:

~>  smbclient -L WILLY
Enter howdy's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]

         Sharename       Type      Comment
         ---------       ----      -------
        Share           Disk
         IPC$            IPC       IPC Service (Samba Server Version 4.0.6)
         Brother-HL-2240-series Printer   Brother HL-2240 series
         howdy            Disk      Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]

         Server               Comment
         ---------            -------
         f19                  Samba Server Version 4.0.6

         Workgroup            Master
         ---------            -------
         WORKGROUP

#### I see NO mention of any shares I have on WILLY.
#### Everything there relates to "f19.splurg.org"'s samba server.
#### "Share" is the name of a share I designated in /etc/samba/smb.conf
#### howdy is my /home/howdy directory which is also designated to be 
shared.
#### Why don't I see any WILLY stuff???

#### Oddly, I think this is being sent to me from WILLY
#### When WILLY is rebooting I get this until it is fully loaded:

~>  smbclient -L WILLY
Enter howdy's password:
Connection to WILLY failed (Error NT_STATUS_UNSUCCESSFUL)



#### NOW I start dial up on the XP machine and try same:

~>  smbclient -L WILLY
Enter howdy's password:
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

         Sharename       Type      Comment
         ---------       ----      -------
         PDFCreator      Printer   eDoc Printer
         My Documents    Disk
         BrotherH        Printer   HL-2240
         IPC$            IPC       Remote IPC
         SharedDocs      Disk
         print$          Disk      Printer Drivers
         testdir         Disk
         D- CD Player    Disk
         downloads       Disk
         Buzzshare       Disk
         cprogs          Disk
         MightyFAX       Printer   MightyFAX Printer Driver
         Printer         Printer   HP PSC 1500 series
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

         Server               Comment
         ---------            -------

         Workgroup            Master
         ---------            -------

#### This is where the XP alert box comes up.
#### DNS is disabled for internet use but I can access files.
#### Above is listing showing my new  user "Buzz"'s shares as well as 
others.
#### I can browse and transfer ok:

~>  smbclient //WILLY/Buzzshare
Enter howdy's password:
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \> LS
   .                        DR        0  Mon Aug  5 12:05:15 2013
   ..                       DR        0  Mon Aug  5 12:05:15 2013
   desktop.ini              AHS       75  Mon Aug  5 11:52:29 2013
   My Music                 DR        0  Mon Aug  5 11:52:29 2013
   My Pictures              DR        0  Mon Aug  5 11:52:29 2013
   testdir                  D        0  Mon Aug  5 12:05:15 2013
   Visual Studio 2008       D        0  Fri Oct  5 03:06:06 2012

                 38154 blocks of size 1048576. 16213 blocks available
smb: \> cd testdir
smb: \testdir\> ls
   .                        D        0  Mon Aug  5 12:05:15 2013
   ..                       D        0  Mon Aug  5 12:05:15 2013
   test-1.txt               A       54  Mon Aug  5 11:56:16 2013

smb: \testdir\> quit

~>  cat test-1.txt
test file to test sharing to samba on f19
blah blah

#### but at this point XP internet connection is severely insulted.
#### As said above an alert box pops up and dns lookup is disabled.
#### The alert box remains open waiting for my input: "file report" y/n
#### If I do not make a selection
#### I can still ping and browse using numeric addresses.
#### When I do make a selection I cannot get to internet on either
#### machine and I can not disconnect the dialup manually.
#### So I reboot.
####

Ideas Bones...



More information about the samba mailing list