I've recently added the following line to inetd.conf, to allow clients to connect at Port 445: microsoft-ds stream tcp nowait root /usr/local/sbin/smbd smbd -d 1 That works, but the connections that are started that way produce the machine name "smbd" in the output of "smbstatus". The machines that connect to the main listener (at port 139, started with "/usr/local/sbin/smbd -D -d 1" list the name of the connecting machine. The first two shown below connected at 139, and the third at 445. Samba version 2.2.4 Service uid gid pid machine ----------------------------------- IPC$ nobody nobody 10007 uspeisj (167.116.93.40) Mon May 13 16:02:37 2002 IPC$ nobody nobody 10216 uspeisj (167.116.93.40) Mon May 13 16:21:52 2002 pctools nobody nobody 10265 smbd (167.116.91.226) Mon May 13 16:25:07 2002 No locked files Given that the IP address of the client is known, why isn't it reported as the "machine"? Jim -- Jim Watt wattjg@appliedbiosystems.com Applied Biosystems Voice (desk): +1 408 577 2228 3833 North First Street Fax: +1 408 894 9307 San Jose CA 95134-1701 Voice (main): +1 408 577 2200
On Mon, 13 May 2002, Jim Watt wrote:> I've recently added the following line to inetd.conf, to allow clients > to connect at Port 445: > > microsoft-ds stream tcp nowait root /usr/local/sbin/smbd smbd -d 1 > > That works, but the connections that are started that way produce > the machine name "smbd" in the output of "smbstatus". The machines > that connect to the main listener (at port 139, started with > "/usr/local/sbin/smbd -D -d 1" list the name of the connecting > machine. The first two shown below connected at 139, and the > third at 445.Connecting on port 445 does not use a netbios name which is why you don't see one reported. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--