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

2013-08-05 Thread How_F19

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
howdyDisk  Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]

Server   Comment
----
f19  Samba Server Version 4.0.6

WorkgroupMaster
----
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 DocumentsDisk
BrotherHPrinter   HL-2240
IPC$IPC   Remote IPC
SharedDocs  Disk
print$  Disk  Printer Drivers
testdir Disk
D- CD PlayerDisk
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
----

WorkgroupMaster
----

 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
  .DR0  Mon Aug  5 12:05:15 2013
  ..   DR0  Mon Aug  5 12:05:15 2013
  desktop.ini  AHS   75  Mon Aug  5 11:52:29 2013
  My Music DR0  Mon Aug  5 11:52:29 2013
  My Pictures  DR0  Mon Aug  5 11:52:29 2013
  testdir  D0  Mon Aug  5 12:05:15 2013
  Visual Studio 2008   D0  Fri Oct  5 03:06:06 2012

38154 blocks of size 1048576. 16213 blocks available
smb: \ cd testdir
smb: \testdir\ ls
  .D0  Mon Aug  5 12:05:15 2013
  ..   D0  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...

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2013-08-05 Thread Chris Weiss
On Mon, Aug 5, 2013 at 4:21 PM, How_F19 how0...@freeshell.org wrote:
 The XP lan base is 192.168.0.0 and the XP user Owner is on 192.168.0.1 and
 hostname is WILLY.

I'm translating this all as:
XP box is named willy and has the IP 192.168.0.1.
what's the workgroup name?  appears to be workgroup which is fine.

also, smbclient will use smb.conf too.  what do you have set for the workgroup?

  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]

this is extra extra weird.  something is very wrong with how the names
are being resolved.  at this point, can you ping willy and get the
192.168.0.1 address?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2013-08-05 Thread How_F19

On 08/05/2013 05:34 PM, Chris Weiss wrote:

On Mon, Aug 5, 2013 at 4:21 PM, How_F19 how0...@freeshell.org wrote:

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

I'm translating this all as:
XP box is named willy and has the IP 192.168.0.1.
what's the workgroup name?  appears to be workgroup which is fine.

also, smbclient will use smb.conf too.  what do you have set for the workgroup?


Thanks for reply.
Yes, xp box is willy and on 192.168.0.1 and:

~  cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
;idmap config * : backend = tdb
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[Share]
path = /home/share
read only = No


 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]

this is extra extra weird.  something is very wrong with how the names
are being resolved.  at this point, can you ping willy and get the
192.168.0.1 address?


When I ping willy I get nothing returned but it causes that same
alert box comes up on XP box and dns is disabled.

I can still ping numeric addresses including 192.168.0.1.

I need to reboot XP to reset.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2013-08-05 Thread How_F19

On 08/05/2013 10:32 PM, How_F19 wrote:
When I ping willy I get nothing returned 


So I added line in /etc/hosts

192.168.0.1  WILLY

Now I can ping, list and browse willy shares whether dialed up or not 
with no alert box!


Is that a good fix? or is it just patching something that is still 
messed up?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2013-08-05 Thread How_F19

I also added line for f19 in /etc/hosts.
So there I have:

--
127.0.0.1   f19.splurge.org localhost localhost.localdomain localhost4 
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 
localhost6.localdomain6


192.168.0.1 WILLY
192.168.0.148   f19
--

Does any of that look problematic?


Also I wondered about these two things in the output below:

- WORKGROUP is listed as f19's domain
- values for Server, Comment, Workgroup and Master are missing at bottom 
of willy's output.


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

Sharename   Type  Comment
-     ---
homes   Disk  Home Directories
Share   Disk  a repos for global files
IPC$IPC   IPC Service (Samba Server Version 4.0.6)
how2Disk  Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]

Server   Comment
----
F19  Samba Server Version 4.0.6

WorkgroupMaster
----
WORKGROUPF19


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

Sharename   Type  Comment
-     ---
My DocumentsDisk
testdir Disk
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server   Comment
----

WorkgroupMaster
----
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2013-08-04 Thread How_F19

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 DocumentsDisk
BrotherHPrinter   HL-2240
IPC$IPC   Remote IPC
SharedDocs  Disk
print$  Disk  Printer Drivers
D- CD PlayerDisk
downloads   Disk
Printer Printer   HP PSC 1500 series
Domain=[WILLY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server   Comment
----

WorkgroupMaster
----

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
how2Disk  Home Directories
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.6]

Server   Comment
----
LOCALHOSTSamba Server Version 4.0.6
WILLYWillly's old Dell Celeron 2.4ghz 256mb ram

WorkgroupMaster
----
WORKGROUPLOCALHOST


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.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba