Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2000 08:35:40 -0700
From:      Kevin Glavin <kglavin@pacbell.net>
To:        dennis.favro@utoronto.ca
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Samba/NT Machine Accounts/NT Domain Controller
Message-ID:  <000201bffbce$2685c940$070ba8c0@telco21.com>

next in thread | raw e-mail | index | archive | help

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 <dennis.favro@utoronto.ca>
>To:        freebsd-questions@freebsd.org
>Subject:   Samba/NT Machine Accounts/NT Domain Controller
>Message-ID:  <Pine.BSF.4.21.0007310404001.76668-100000@cr743503-a.etob1.on.wave.home.com>


 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201bffbce$2685c940$070ba8c0>