W2K machine logon to a domain with Samba 2.2alpha3 PDC

Nicholas Golder purenrg at iastate.edu
Fri Apr 13 19:58:47 GMT 2001

It seems that I am reaching the end of possible solutions.  I have done
everything short of getting the latest CVS snapshot.
Has anyone had any success in creating a FreeBSD 4.2 Samba 2.2.0alpha3 PDC?
What are the distinguished differences between a BSD style /etc/passwd and
the POSIX (Linux) /etc/passwd file.  The reason I ask is that when I try to
create the machine account as described below:
adduser -g machines -c whatever -d /dev/null -s /bin/false -n machinename$
(minus the trailing $ of course which is later added in via vipw)
It drops out to a usage descriptions.  I am willing to make a transition to
Linux if necessary (since the project is young and also in favor of PAM).
Has there been a wider amount of success in using Linux as opposed to
FreeBSD in this specific application of Samba (as PDC)?

"Breaking stereotypes since 1977."
Nicholas Golder

-----Original Message-----
From: samba-ntdom-admin at lists.samba.org
[mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Steve Langasek
Sent: Friday, April 13, 2001 9:59 AM
To: Elliot Mackenzie
Cc: Nicholas Golder; samba-ntdom at lists.samba.org
Subject: RE: W2K machine logon to a domain with Samba 2.2alpha3 PDC

On Fri, 13 Apr 2001, Elliot Mackenzie wrote:

> If you created the account manually check that you did all these steps:
>   adduser -g machines -c whatever -d /dev/null -s /bin/false -n

> machines is the name of a system group you create that you put all the
> machine users into.  machine name is tronyx$ in your case i think (the
> windows machine name).

> Make sure when you created the machine trust account using smbpasswd you
> specified the -m option (this creates the machine trust account):

>   smbpasswd -a -m tronyx$

smbpasswd -a -m tronyx

The smbpasswd command knows to add the $ to the end of the smbpasswd entry
when creating a machine account, so you don't need to specify it on the
commandline.  I suspect that 'smbpasswd -a -m tronyx$' will get you an
smbpasswd entry for user tronyx$$ ....

Steve Langasek
postmodern programmer

More information about the samba-ntdom mailing list