Re: 2 samba installation questions - Help Please

From: Aaron W Morris (aaronmorris@MINDSPRING.COM)
Date: Fri Jan 24 2003 - 19:53:20 EST


Samba has built-in support for limiting access by IP address with the
"hosts allow" and "hosts deny" directives in smb.conf.

At 03:30 PM 1/24/2003 -0800, you wrote:
>One good reason is to use it in conjunction with tcpwrappers.
>
>That was it, out of good reasons!
>
>Kevin Adams
>
>-----Original Message-----
>From: Aaron W Morris [mailto:aaronmorris@MINDSPRING.COM]
>Sent: Friday, January 24, 2003 3:17 PM
>To: aix-l@Princeton.EDU
>Subject: Re: [aix-l] 2 samba installation questions - Help Please
>
>
>Sounds like Samba is already running from inetd.
>
>Perhaps someone could answer a question for me. Why would you want to run
>Samba from inetd? I have never even heard of running it from inetd in the
>past 5 years until I started reading this list.
>
>At 05:25 PM 1/24/2003 -0500, you wrote:
> >Greetings
> >
> >I am trying the install the samba executable downloaded from the bull site
> >on to an IBMRS6000 AIX 4.3 server.
> >
> >1. I am trying to run startsmb it gives the following eroor:
> >
> >root:/usr/local/bin:>cat startsmb
> >#!/bin/sh
> >/usr/local/bin/smbd -D
> >/usr/local/bin/nmbd -D
> >root:/usr/local/bin:>cat /tmp/log.smb
> >[2003/01/24 16:26:03, 0] lib/util_sock.c:open_socket_in(863)
> > bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
> >[2003/01/24 17:07:36, 0] lib/util_sock.c:open_socket_in(863)
> > bind failed on port 139 socket_addr=0.0.0.0 (Address already in use)
> >
> >I have commented the following lines in /etc/inetd.conf
> >
> ># The following three lines are for the Samba SMB Server (freeware)
> ># netbios-ssn stream tcp nowait root /usr/local/bin/smbd smbd
> ># netbios-ns dgram udp wait root /usr/local/bin/nmbd nmbd
> >#swat stream tcp nowait.400 root /usr/local/bin/swat swat
> >
> >lsof gives the following output:
> >root:/usr/local/bin:>lsof -i tcp:139
> >lsof: WARNING: compiled for AIX version 4.3.2.0; this is 4.3.3.0.
> >COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> >inetd 5418 root 34u IPv4 0x700c1adc 0t0 TCP *:netbios-ssn
>(LISTEN)
> >2. My Windows2000 pc is on different subnet
> >
> >My IBM Server is on 128.209.60.XX
> >My Windows2000 pc is on 128.209.47.bbb
> >
> > From my win2k server:
> >
> >C:\>net view <file://\\BIGSERVER>\\BIGSERVER
> >System error 5 has occurre
> >
> >Access is denied.
> >
> >C:\>net use x:\\ha1svc1en0\oracle
> >System error 67 has occurred.
> >
> >The network name cannot be found.
> >
> >Please advice.
> >
> >Regards & Thanks
> >BN
>
>
>This electronic message transmission, including any attachments, contains
>information from PacifiCare Health Systems Inc. which may be confidential
>or privileged. The information is intended to be for the use of the
>individual or entity named above. If you are not the intended recipient,
>be aware that any disclosure, copying, distribution or use of the contents
>of this information is prohibited.
>
>If you have received this electronic transmission in error, please notify
>the sender immediately by a "reply to sender only" message and destroy all
>electronic and hard copies of the communication, including attachments.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:31 EDT