From owner-freebsd-questions Sun Mar 2 19: 5:35 2003 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 6D03237B401 for ; Sun, 2 Mar 2003 19:05:34 -0800 (PST) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D3543FA3 for ; Sun, 2 Mar 2003 19:05:33 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.7/8.12.7) with ESMTP id h2335U3q005169; Sun, 2 Mar 2003 22:05:31 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3E61E16B.7020908@intersonic.se> References: <001f01c2e09a$5dbfee00$05040101@socrates> <3E61E16B.7020908@intersonic.se> Date: Sun, 2 Mar 2003 22:05:29 -0500 To: Per olof Ljungmark , fozekizer@attbi.com From: Garance A Drosihn Subject: Re: machine accounts and samba Cc: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.28 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:48 AM +0100 3/2/03, Per olof Ljungmark wrote: >charles pelletier wrote: >>how do you add a machine account in samba? i've already added >>users using 'smbpasswd -a username password' but cannot for >>the life of me remember how to add a machine to the samba >>domain. > >man smbpasswd > >smbpasswd -m >Then vipw to add a "$" before the name. I don't think you can add >the "$" with smbpasswd in FreeBSD. Somebody correct me if I'm wrong. It depends on what version of freebsd you are running. I recently committed a change to freebsd-stable so 'pw' will accept userids and groups with a last-character of '$'. That change is also in the freebsd-current branch. 4.8-release will probably be the first official release which will have that change. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message