Re: [Samba] Help to a wet-behind-the-ears Linux newbie

2002-12-10 Thread Thabu Pienaar
I have found the same problem... ANd the resolution was the firewall
settings was on high - the SAMBA server couldn't even answer on it's own
broadcast for it's own IP or name!?!  Set firewall to low and voila!

Thabo

- Original Message -
From: "Michael Heironimus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 9:19 PM
Subject: Re: [Samba] Help to a wet-behind-the-ears Linux newbie


> On Tue, Dec 10, 2002 at 10:46:19AM -0600, Andrew Fellingham wrote:
> > I am attempting to set up SAMBA to provide file sharing for our Windows
> > clients (something not for the faint of heart, I understand). I was able
to
> > configure both Webmin and SWAT, and can access both services from a
remote
> > machine, but am unable to see the server (FLASHSRV.WORKGROUP) in the
> > Network Neighborhood or when I list all available hosts in nmblookup
> > (nmblookup -d 2 '*') and nmblookup acts as if the server isn't even
> > available at the IP address specified for it. I have checked the
> > /etc/services file and it lists all ports properly for the nmbd and smbd
> > Daemons (137 through 139) so it doesn't appear to be a port issue. The
NIC
> > doesn't appear to be the problem, as I am very able to access the
internet
> > via ethernet.
>
> Are smbd and nmbd actually running? Don't trust what swat/webmin might
> say, log in and check yourself.
>
> As I recall, Red Hat's installer asks if you want to have your machine
> secured with some firewall rules. If you say yes, it blocks the Samba
> ports (and others), but doesn't actually tell you what it's blocking.
>
> Also, as a general rule you should ignore Network Neighborhood. Machines
> that have been shut off for days will sometimes still show up, and
> machines that have been up and running for days sometimes won't. Network
> Neighborhood is utterly worthless for any kind of diagnostic, regardless
> of whether you use an NT server or a Samba server.
>
> --
> Michael Heironimus
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



[Samba] Re: Permissions problem

2002-12-08 Thread Thabu Pienaar




I've done some testing
 
from the Samba server, 'smbclient -B 192.168.0.255' 
samba returns a name query failed to find-error.  All names  are in 
all LMHOSTS and HOSTS files on both Win & Linux machines.  All other 
smbclient tests worked fine.  Can see shares from Linux on Win, only 
reverse not (from Win to Linux).  Can also connect to a Wins share from 
Samba srvr.  It seems that the Linux box doesn't respond to name 
queries.  How can I fix it?
 
 
 

Here is my smb.conf file...

[global]   panic action = 
"" %d   workgroup = 
PRIVATE   netbios name = SAMBA   server string = %h 
server (samba %v)   security = user   encrypt 
passwords = yes   smb passwd file = 
/etc/samba/smbpasswd   guest ok = no   null 
passwords = Yes   passwd program = /usr/bin/passwd 
%u   passwd chat debug = yes   debug level = 
3   log level = 3   passwd chat = 
*Enter\snew\SUNIX\spassword:*%n\n *Retype\snew\SUNIX\spassword:* 
%n\n*passwd:\spassword\supdated*.   unix password sync = 
yes   syslog = 0   log file = 
/var/log/samba/log.%m   max log size = 1000   socket 
options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192   domain 
logons = no   local master = yes   os level = 
64   preferred master = yes   domain master = yes 
   enhanced browsing = yes   wins support =  
yes   printcap name = /etc/printcap   load printers 
= yes   print command = lp -d%p -oraw %s; rm %s   
lpq command = lpstat -o%p   lprm command = cancel 
%p-%j   queuepause command = disable %p   
queueresume command = enable %p   show add printer wizard = 
yes   printing = lprng   preserve case = 
no   short preserve case = no   default case = 
lower   case sensitive = no
 
[netlogon]   comment = network Logon 
Service   path = /home/samba/netlogon   guest ok = 
yes   share modes = no   hosts allow = 192.168.0. 
192.168.1. 127.
 
# Share Definitions 
==
 
[homes]   comment = Home Directories   
browseable = no   writable = yes   valid users = 
%S   create mode = 0664   directory mode = 
0775   map to guest = bad user
 
[tmp]   comment = Temporary file space   path = 
/tmp   read only = no   public = yes
 
[public]   comment = Public Stuff   path = 
/home/samba   public = yes   writable = 
yes   printable = no   write list = @staff
 
[thabusdir]   comment = Thabu's Service   path 
= /home/thabu   valid users = thabu root Thabu   
public = no   writable = yes   printable = no
 
[myshare]   comment = Thabu and Antoinette's 
stuff   path = /home/public   valid users = thabu 
antoinette Thabu Antoinette   public = no   writable 
= yes   printable = no   create mask = 
0765
***
 
Thanks
 
Thabu
 

  ----- Original Message - 
  From: 
  Thabu 
  Pienaar 
  To: [EMAIL PROTECTED] 
  Sent: Friday, December 06, 2002 12:07 
  AM
  Subject: Permissions problem
  
  Help Please
   
  When I try to connect from Win XP Pro to my Samba 
  Server, I get this error...
   
  "Samba is not accessible. You might not have 
  permissiont o use this network resource." (attached error gif). 
  
   I have a smbpasswd file created from 
  /etc/passwd, configured exactly like my XP username and password.
   
  Thanks
   
   
  Thabu 
  Pienaar*ComputerNetWitrivier / White 
  RiverSuid-Afrika / South Africa+27 (0) 83 349-6588
   


[Samba] Re: Permissions problem

2002-12-05 Thread Thabu Pienaar



 

  Help Please
   
  When I try to connect from Win XP Pro to my Samba 
  Server, I get this error...
   
  "Samba is not accessible. You might not have 
  permissiont o use this network resource." (attached error gif). 
  
   I have a smbpasswd file created from 
  /etc/passwd, configured exactly like my XP username and password.
   
  Thanks
   
   
  Thabu 
  Pienaar*ComputerNetWitrivier / White 
  RiverSuid-Afrika / South Africa+27 (0) 83 349-6588
   


[Samba] Permissions problem

2002-12-05 Thread Thabu Pienaar



Help Please
 
When I try to connect from Win XP Pro to my Samba 
Server, I get this error...
 
"Samba is not accessible. You might not have 
permissiont o use this network resource." (attached error gif). 

 I have a smbpasswd file created from 
/etc/passwd, configured exactly like my XP username and password.
 
Thanks
 
 
Thabu 
Pienaar*ComputerNetWitrivier / White 
RiverSuid-Afrika / South Africa+27 (0) 83 349-6588
 
<>