Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 00:26:22 +0300
From:      "D. Penev" <dpenev@mail.bg>
To:        sroberts@dsl.pipex.com
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: IPFW Rules for samba PDC? [WAS: samba PDC for WIN2K clients?]
Message-ID:  <20021026212622.GA240@earth.dpsca.bg>
In-Reply-To: <1035225240.539.14.camel@Demon.vickiandstacey.com>
References:  <1035155219.539.2.camel@Demon.vickiandstacey.com> <3DB35946.4070908@cream.org> <1035225240.539.14.camel@Demon.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 21, 2002 at 07:33:58PM +0100, Stacey Roberts wrote:
>Subject: IPFW Rules for samba PDC? [WAS: samba PDC for WIN2K clients?]
>From: Stacey Roberts <stacey@Demon.vickiandstacey.com>
>To: Andrew Boothman <andrew@cream.org>
>Cc: sroberts@dsl.pipex.com,
>	FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
>Date: 21 Oct 2002 19:33:58 +0100
>
>Hello,
>     I'd appreciate some help from anyone who's got samba 2.2.6 running
>on FreeBSD as a PDC for Win2K client wkstations, please.
>
>I'm trying to following the SAMBA How-To at:
>http://samba.epfl.ch/samba/docs/Samba-HOWTO-Collection.html#AEN60
>but fail at the smbclient -L <PDC host> stage:
>
># smbclient -L -N Demon
>added interface ip=192.168.1.8 bcast=192.168.1.255 nmask=255.255.255.0
>Packet send failed to 192.168.1.255(137) ERRNO=Permission denied
>Connection to -N failed
># 
>
>I get these entries in /var/log/security:
>Oct 21 19:31:08 Demon /kernel: ipfw: 910 Deny UDP <My IP>:2308
><net.255>:137 out via sis0

You firewall blocks packets to port 137 (netbios-ns). That's
why you can access samba server with ip address and not by name.

> 
>Please help me out here.
>
>Stacey
>
>On Mon, 2002-10-21 at 02:32, Andrew Boothman wrote:
>> Stacey Roberts wrote:
>> > Hello, 
>> >      I've got 2 WIN2K Pro workstations on my home lan that I'd like to
>> > enable network logon for. I've been banging my head against a wall for
>> > the last four hours trying to get this sorted, but to no avail. 
>> > 
>> > I keep getting the same error when trying to enter the Domain name into
>> > the "WORKGROUP" field in Win2K network properties: 
>> > 
>> > "The following error occured validating the name "my_domainname", This
>> > condition may be caused by a DNS lookup problem. For more information
>> > about troubleshooting common DNS lookup problems see the following
>> > Microsoft blah., blah.., blah.., 
>> > 
>> > The specified domain either does not exist or could not be contacted".
>> 
>> Have you added machine accounts to the FreeBSD box for the client boxes?
>> 
>> You need machine accounts that look like clientname$ (dollar sign at 
>> end) added both as local accounts and then again with smbpasswd passing 
>> whatever the appropriate switch is to create a machine account.
>> 
>> I have a FreeBSD box here acting as a PDC so we should be able to find 
>> the problem.
>> 
>> Andrew.
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>-- 
>Stacey Roberts
>B.Sc (HONS) Computer Science
>
>Web: www.vickiandstacey.com
>



-- 
Regards,
D. Penev

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026212622.GA240>