How_F19
2013-Aug-04 13:24 UTC
[Samba] XP network breaks when shares are accessed by Fedora 19 smbclient
Hi. This is my first samba install.
I have an XP box which connects to internet via dialup "DUN", is the
base of the lan and provides InternetConnectionSharing 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 on 192.168.0.148 with hostname "splurge.f19".
I am having problems from the start using smbclient.
When I do a listing of WILLY I get this:
~> smbclient -L WILLY
Enter how2's password:
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
My Documents Disk
BrotherH Printer HL-2240
IPC$ IPC Remote IPC
SharedDocs Disk
print$ Disk Printer Drivers
D- CD Player Disk
downloads Disk
Printer Printer HP PSC 1500 series
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
The output looks OK for WILLY, downloads is a share and all.
-But- th problem is that as that is printing it pauses for 1-2 minutes
after the "Domain=" line at which time the XP box pops up an alert box
that says:
"Generic host process for win32 services has encountered a problem and
needs to close."
At this point I can ping 192.168.0.1 from F19 but I can no longer use
ping an outside internet name addresses use Firefox or Thunderbird from F19.
But for a short time I can ping or browse a numeric ip address. So it
seems that DNS is broken at that point but then that deteriorates and I
can not do that either.
At that point I can not "Disconnect" XP DUN.
Rebooting the XP machine fixes the problem but will fail if I try again.
Ok, so now it gets weird.
The above is when I am "dialed up" on the XP box.
If I am NOT dialed up I get the output below.
It does NOT show the XP shares !!!
but DOES show my F19 /home/how2 (how2) and /home/share (Share) shares as
defined in my /etc/samba/smb.conf:
~> smbclient -L WILLY
Enter how2's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server Version 4.0.6)
Share Disk
Brother-HL-2240-series Printer Brother HL-2240 series
how2 Disk Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]
Server Comment
--------- -------
LOCALHOST Samba Server Version 4.0.6
WILLY Willly's old Dell Celeron 2.4ghz 256mb ram
Workgroup Master
--------- -------
WORKGROUP LOCALHOST
If I dialup at this point nameserver is good across lan.
But if try the smbclient -L I will get the same behavior and error.
It seems to me that the problem is on the XP box but I don't know what
to do there.
Any help would be appreciated. Thanks.
How_F19
2013-Aug-05 21:21 UTC
[Samba] XP network breaks when shares are accessed by Fedora 19 smbclient
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...