Re: [Samba] Cannot see linux machines from XP

2011-08-07 Thread Al Schapira


On Sat, 2011-08-06 at 11:11 -0500, Stan Hoeppner wrote:
 On 8/6/2011 9:15 AM, Al Schapira wrote:
  Stan,
 
 Please reply-all as your message didn't go to the list.  There are folks
 far more knowledgeable than me who are watching this thread, waiting to
 hop in after all the grunt work is out of the way.
 
Okay.  Please see below.

 I have not yet solved the problem (below).
   
 1) What would prevent both of the linux machines
 (ADS1, ADS2) from being
 seen by the windows machine (DRS2) in its network
 places even though the
 linux machines see all three machines in their
 network?
 
 2) Does the (non)visibility of the linux machines
 depend upon the type
 of 'authentication mode' e.g. share vs user
 configured in samba?
 
 3) Does it depend on specific linux user ids, e.g.
 guest?
 
 4) Do I want the linux machines to be masters or
 clients, or one of
 each, or does the windows machine take control?
 
 5) Can you see any errors in the smb.conf below?
 
 First I want to get the linux machines to be seen,
 then I'll try to get
 their files to be seen.
 
 I would really appreciate suggestions.  Thanks.
 
 -Al 

  Thank you for your reply.  Searching for computers on DRS2 (XP) for ADS1 or 
  ADS2 'seems' to find them,
  but clicking on either results in a message that the server does not permit 
  the operation.
  It does NOT display the shares on either.
 
 Ok, that's a good sign.
 
  ADS1, ADS2 do NOT show up in my network places, or in workgroup computers, 
  or in entire network'.
  The 'entire network' does show the workgroup (GAMMA5), but this only 
  contains DRS2 (itself).
 
  But, as I said, ADS1 and ADS2 can see AND ACCESS files on all three 
  computers including DRS2.
 
 Then the problem is apparently with XP.  Or, you don't have Samba
 properly configured to play nicely with XP, or specifically the way you
 want it to (purely guest access).  Disable the XP firewall if it isn't
 already.
 
 What is the result when you map a Samba share from the Windows command line?

1)  The result of trying to add a share on XP is as follows:
Add a network place -- 
  Select a service provider  -- 
 Choose another network location -- next 
 ADS2/other
The folder you entered does not appear to be valid.  Please
choose another.
 same message for any other shared files on ADS1 or ADS2 (which
are visible from each other.)

(trying BROWSE at this point, to add a network place on XP,
neither ADS2 nor ADS1 appear.  The WORKGROUP (GAMMA5) appears
under Microsoft Windows Network,  but only shares on DRS2 (XP,
itself) appear in the workgroup GAMMA5.

2)  The result of turning off the firewall (Norton 360) is no change to
the above problem. But under Norton 360, the machines ADS1 and ADS2 DO
appear in its network browser with status ON-LINE.  But aside from this,
no other XP utility can see ADS1 or ADS2.  Hence the problem.

Thanks again for your help.  --Al



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


Re: [Samba] Cannot see linux machines from XP

2011-08-07 Thread Stan Hoeppner
On 8/7/2011 1:26 PM, Al Schapira wrote:

 What is the result when you map a Samba share from the Windows command line?
 
 1)  The result of trying to add a share on XP is as follows:
 Add a network place -- 
   Select a service provider  -- 
  Choose another network location -- next 
  ADS2/other
 The folder you entered does not appear to be valid.  Please
 choose another.
  same message for any other shared files on ADS1 or ADS2 (which
 are visible from each other.)

Note I said Windows command line.  If you don't know what something
is, ask, or Google it.  People on this list have a finite amount of time
to help others.  Please don't force us to waste our time teaching you
the mere basics of system administration.  You need these skills merely
to troubleshoot.  They won't get you the answer, but they help you find
the eventual answer, which is why I asked you to perform this step.
Google for windows command line and Google for net use.

 2)  The result of turning off the firewall (Norton 360) is no change to
 the above problem. But under Norton 360, the machines ADS1 and ADS2 DO
 appear in its network browser with status ON-LINE.  But aside from this,
 no other XP utility can see ADS1 or ADS2.  Hence the problem.

That remains to be seen.  You haven't tried any of the smb/cifs command
line utilities yet.  And apparently you haven't looked for errors in the
Event Viewer, you know, that place where Windows writes log information,
tells you about problems on the machine?  Error messages often point one
to other information that helps him/her solve a problem.

You state Samba seems to work perfectly on the Linux machines.  And the
Linux machines seem to access shares on the XP machine just fine.  Thus,
this sounds like you definitely have a problem on the Windows machine.
This is the Samba list.  I suggest you also ask for help on some Windows
forum(s).

Best of luck,

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


Re: [Samba] Cannot see linux machines from XP

2011-08-06 Thread Stan Hoeppner
On 8/6/2011 9:15 AM, Al Schapira wrote:
 Stan,

Please reply-all as your message didn't go to the list.  There are folks
far more knowledgeable than me who are watching this thread, waiting to
hop in after all the grunt work is out of the way.

 Thank you for your reply.  Searching for computers on DRS2 (XP) for ADS1 or 
 ADS2 'seems' to find them,
 but clicking on either results in a message that the server does not permit 
 the operation.
 It does NOT display the shares on either.

Ok, that's a good sign.

 ADS1, ADS2 do NOT show up in my network places, or in workgroup computers, or 
 in entire network'.
 The 'entire network' does show the workgroup (GAMMA5), but this only contains 
 DRS2 (itself).

 But, as I said, ADS1 and ADS2 can see AND ACCESS files on all three computers 
 including DRS2.

Then the problem is apparently with XP.  Or, you don't have Samba
properly configured to play nicely with XP, or specifically the way you
want it to (purely guest access).  Disable the XP firewall if it isn't
already.

What is the result when you map a Samba share from the Windows command line?

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


Re: [Samba] Cannot see linux machines from XP

2011-08-05 Thread Al Schapira
I have not yet solved the problem (below).
  
1) What would prevent both of the linux machines (ADS1, ADS2) from being
seen by the windows machine (DRS2) in its network places even though the
linux machines see all three machines in their network?

2) Does the (non)visibility of the linux machines depend upon the type
of 'authentication mode' e.g. share vs user configured in samba?

3) Does it depend on specific linux user ids, e.g. guest?

4) Do I want the linux machines to be masters or clients, or one of
each, or does the windows machine take control?

5) Can you see any errors in the smb.conf below?

First I want to get the linux machines to be seen, then I'll try to get
their files to be seen.

I would really appreciate suggestions.  Thanks.

-Al


On Mon, 2011-07-25 at 00:29 -0400, Al Schapira wrote:
 I'll try to spell out the problem as best I can.
 
 There are three computers on a LAN,  ADS1, ADS2 and DRS2.
 ADS1 and ADS2 run samba-3.5.8-76.fc14.i686 under Fedora 14.
 DRS2 runs Windows XP professional, SP3.
 
 Each of them can successfully ping all the others by name.
 They are all in the same WORKGROUP (GAMMA5).
 
 The Fedora machines (ADS1, ADS2) can see all three machines (including
 the XP machine) in their Network places, and in the Windows Network,
 and can successfully read and write designated shared files on the all
 the other machines (including the XP machine).
 
 The Windows machine (DRS2) cannot even see the linux machines in its
 network places. (It sees only itself, DRS2 in the WORKGROUP GAMMA5)
 Naturally, therefore, it cannot see files on the linux machines.
 
 Where do I start to solve this?
 
 Thanks in advance for you help.
 
   -Al
 
 Here is the non-comment part of smb.conf on ADS2
 
 [global]
   workgroup = gamma5
   security = share
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   winbind use default domain = false
   winbind offline logon = false
 
   server string = Samba Server Version %v
 
   netbios name = ADS2
 
   log file = /var/log/samba/log.%m
   max log size = 50
 
   cups options = raw
 
   encrypt passwords = no
   guest ok = yes
   guest account = guest
 
 [homes]
   comment = Home Directories
   browseable = no
   writable = yes
 
 [printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
 
 [other]
   path = /other
   read only = no
   guest ok = yes
 
 ... other shares, nothing else.

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


Re: [Samba] Cannot see linux machines from XP

2011-08-05 Thread Stan Hoeppner
On 8/5/2011 7:59 PM, Al Schapira wrote:

 I would really appreciate suggestions.  Thanks.

 Where do I start to solve this?

Here's a novel idea:  check your logs, on both Linux and XP hosts.

In addition, what is the result of?

1.  Right click on My Network Places
2.  Select Search for Computers
3.  Enter ADS2 and hit enter

Do you receive no results to display, or do you see the shares on ADS2
but receive an error when attempting to access them?

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


Re: [Samba] Cannot see linux machines from XP

2011-07-25 Thread youngjohn04
Is the nmbd deamon started on ads1 and ads2? Can you access share when
typing \\ads1\other in address bar of explorer on DRS2?

yj
-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Al Schapira
Sent: Monday, July 25, 2011 12:29 PM
To: samba@lists.samba.org
Subject: [Samba] Cannot see linux machines from XP

I'll try to spell out the problem as best I can.

There are three computers on a LAN,  ADS1, ADS2 and DRS2.
ADS1 and ADS2 run samba-3.5.8-76.fc14.i686 under Fedora 14.
DRS2 runs Windows XP professional, SP3.

Each of them can successfully ping all the others by name.
They are all in the same WORKGROUP (GAMMA5).

The Fedora machines (ADS1, ADS2) can see all three machines (including
the XP machine) in their Network places, and in the Windows Network,
and can successfully read and write designated shared files on the all
the other machines (including the XP machine).

The Windows machine (DRS2) cannot even see the linux machines in its
network places. (It sees only itself, DRS2 in the WORKGROUP GAMMA5)
Naturally, therefore, it cannot see files on the linux machines.

Where do I start to solve this?

Thanks in advance for you help.

-Al

Here is the non-comment part of smb.conf on ADS2

[global]
workgroup = gamma5
security = share
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
winbind use default domain = false
winbind offline logon = false

server string = Samba Server Version %v

netbios name = ADS2

log file = /var/log/samba/log.%m
max log size = 50

cups options = raw

encrypt passwords = no
guest ok = yes
guest account = guest

[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

[other]
path = /other
read only = no
guest ok = yes

... other shares, nothing else.

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


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


Re: [Samba] Cannot see linux machines from XP

2011-07-25 Thread Al Schapira
Thanks for your reply.  Yes,  nmbd -D is running on the linux
machines.  No, on DRS2 in firefox and chrome  \\ADS1\... and \\DRS2\...
do not work. 

-Al

On Mon, 2011-07-25 at 21:29 +0800, youngjohn04 wrote:
 Is the nmbd deamon started on ads1 and ads2? Can you access share when
 typing \\ads1\other in address bar of explorer on DRS2?
 
 yj
 -Original Message-
 From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
 On Behalf Of Al Schapira
 Sent: Monday, July 25, 2011 12:29 PM
 To: samba@lists.samba.org
 Subject: [Samba] Cannot see linux machines from XP
 
 I'll try to spell out the problem as best I can.
 
 There are three computers on a LAN,  ADS1, ADS2 and DRS2.
 ADS1 and ADS2 run samba-3.5.8-76.fc14.i686 under Fedora 14.
 DRS2 runs Windows XP professional, SP3.
 
 Each of them can successfully ping all the others by name.
 They are all in the same WORKGROUP (GAMMA5).
 
 The Fedora machines (ADS1, ADS2) can see all three machines (including
 the XP machine) in their Network places, and in the Windows Network,
 and can successfully read and write designated shared files on the all
 the other machines (including the XP machine).
 
 The Windows machine (DRS2) cannot even see the linux machines in its
 network places. (It sees only itself, DRS2 in the WORKGROUP GAMMA5)
 Naturally, therefore, it cannot see files on the linux machines.
 
 Where do I start to solve this?
 
 Thanks in advance for you help.
 
   -Al
 
 Here is the non-comment part of smb.conf on ADS2
 
 [global]
   workgroup = gamma5
   security = share
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   winbind use default domain = false
   winbind offline logon = false
 
   server string = Samba Server Version %v
 
   netbios name = ADS2
 
   log file = /var/log/samba/log.%m
   max log size = 50
 
   cups options = raw
 
   encrypt passwords = no
   guest ok = yes
   guest account = guest
 
 [homes]
   comment = Home Directories
   browseable = no
   writable = yes
 
 [printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
 
 [other]
   path = /other
   read only = no
   guest ok = yes
 
 ... other shares, nothing else.
 

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