This time Jim C <[EMAIL PROTECTED]> 
becomes daring and writes:

> <shrug>
> Well perhaps you are correct but if you are and it is simple, then why
> am I not seeing netbios ports 137 and 138?  If they weren't working I
> wouldn't be writing this because my Samba-LDAP  PDC wouldn't be
> functional.

  Because either you have samba running from xinetd or it isn't
  running at all. Here's the output of netstat -ntupl on my box:

  Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State              
                                                                                       
                                                                                      
PID/Program name   
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1889/smbd           
tcp        0      0 0.0.0.0:4300            0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
5539/licq           
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
2549/X              
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1800/httpd2         
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1252/identd         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1317/sshd           
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1407/cupsd          
tcp        0      0 192.168.1.1:25          0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1618/master         
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN             
                                                                                       
                                                                                      
1618/master         
udp        0      0 0.0.0.0:514             0.0.0.0:*                                  
                                                                                       
                                                                                      
943/syslogd         
udp        0      0 192.168.1.1:137         0.0.0.0:*                                  
                                                                                       
                                                                                      
1899/nmbd           
udp        0      0 0.0.0.0:137             0.0.0.0:*                                  
                                                                                       
                                                                                      
1899/nmbd           
udp        0      0 192.168.1.1:138         0.0.0.0:*                                  
                                                                                       
                                                                                      
1899/nmbd           
udp        0      0 0.0.0.0:138             0.0.0.0:*                                  
                                                                                       
                                                                                      
1899/nmbd           
udp        0      0 0.0.0.0:671             0.0.0.0:*                                  
                                                                                       
                                                                                      
1343/xinetd         
udp        0      0 0.0.0.0:68              0.0.0.0:*                                  
                                                                                       
                                                                                      
756/dhcpcd          
udp        0      0 0.0.0.0:631             0.0.0.0:*                                  
                                                                                       
                                                                                      
1407/cupsd          
udp        0      0 192.168.1.1:123         0.0.0.0:*                                  
                                                                                       
                                                                                      
1295/ntpd           
udp        0      0 127.0.0.1:123           0.0.0.0:*                                  
                                                                                       
                                                                                      
1295/ntpd           
udp        0      0 0.0.0.0:123             0.0.0.0:*                                  
                                                                                       
                                                                                      
1295/ntpd           

  As you can see, smbd and nmbd are listed as listening on 137,138 and
  139.

  But if it's being run from xinetd it won't be listed, because it's
  not really running unless there's an active connection at the moment
  you netstat. Again, I recommend a "man netstat"

  Vox

-- 
Think of the Linux community as a niche economy isolated by its beliefs.  Kind
of like the Amish, except that our religion requires us to use _higher_
technology than everyone else.       -- Donald B. Marti Jr.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to