From owner-freebsd-questions Tue Aug 1 8:41:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id A4FBC37B8AA for ; Tue, 1 Aug 2000 08:41:36 -0700 (PDT) (envelope-from kglavin@pacbell.net) Received: from kglavin ([63.198.197.43]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0FYM00FD4DWTDT@mta5.snfc21.pbi.net> for freebsd-questions@freebsd.org; Tue, 1 Aug 2000 08:34:05 -0700 (PDT) Date: Tue, 01 Aug 2000 08:35:40 -0700 From: Kevin Glavin Subject: Re: Samba/NT Machine Accounts/NT Domain Controller To: dennis.favro@utoronto.ca Cc: freebsd-questions@freebsd.org Reply-To: kglavin@pacbell.net Message-id: <000201bffbce$2685c940$070ba8c0@telco21.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="Windows-1252" Content-transfer-encoding: 7bit Importance: Normal X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Have a look at this URL as I just used it to make a PDC out of a FreeBSD 3-5 box. I believe your problem is that the adduser script does not like the $, what I did was add a user 'mywindowspc' and then use vipw to manually add a $ as part of the name in the /etc/passwd entry has been added by adduser. http://bioserve.biochem.latrobe.edu.au/samba/ >From: Dennis Favro >To: freebsd-questions@freebsd.org >Subject: Samba/NT Machine Accounts/NT Domain Controller >Message-ID: I recentlywiped and reloaded a decaying RedHat 5 system with FreeBSD 4.0. I've got just about everything working save for NT Machine Accounts in Samba. Under Linux, it used to be possible to type 'smbpasswd -a -m mywindowspc' to add a machine acccount for an NT system. FreeBSD has a problem with this: under Linux, I'd need to create an entry in /etc/passwd with the name of the machine ending in a dollar sign -- mywindowspc$ -- for smbpasswd to work. FreeBSD doesn't allow this. Even if I add entries to /etc/passwd and/or /etc/master.passwd, smbpasswd -a -m won't work. I've searched Deja and the Mailing List archives and haven't found any solutions to this particular problem. Has anyone managed to do this? _________________________ Kevin Glavin Telco21 email: kevin@telco21.com tel: (650) 219 3900 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message