From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 22:30:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0702637B401 for ; Sat, 28 Jun 2003 22:30:53 -0700 (PDT) Received: from cts04.webone.com.au (cts04.webone.com.au [210.9.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE3843F93 for ; Sat, 28 Jun 2003 22:30:51 -0700 (PDT) (envelope-from acetic@webone.com.au) Received: from acetic (ctt06-210-11-50-42.webone.com.au [210.11.50.42]) by cts04.webone.com.au (8.11.6/8.11.6) with ESMTP id h5T5Ums21377 for ; Sun, 29 Jun 2003 15:30:49 +1000 From: "Michael Tran" To: Date: Sun, 29 Jun 2003 15:32:37 +1000 Message-ID: <000001c33dff$da386670$0600a8c0@acetic> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: FreeBSD 5.1 and Samba PDC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 05:30:53 -0000 Hi All, Thanks for the replies to my first post about ipfw. All is great now. My problem now is that I am implementing a Samba PDC on FreeBSD 5.1 and am wanting to use the "On-the-Fly" Creation of Machine Trust Accounts method as detailed in Samba PDC HOWTO document (http://www.biom.cornell.edu/computer/doc/samba/Samba-PDC-HOWTO.html for references). As I am a Linux to FreeBSD user, what would I need to put inplace in the "add user script" instead of that useradd thingy? i.e. [global] # <...remainder of parameters...> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u I can't use adduser as it does not have anything for -M (according to the man pages..) Thanks, Michael Aka freebsd newbie