W2K machine logon to a domain with Samba 2.2alpha3 PDC
memphis_ms at gmx.net
Fri Apr 13 21:38:57 GMT 2001
I have had 2.2.0 run on FreeBSD 4.1 w/o problems, but switched back to Samba
TNG for several reasons.
First of all, I only add users with vipw anyway.
Secondly, look into the /etc/passwd file. You will not see /bin/false or
The corresponding entries for FreeBSD are /sbin/nologin and /nonexistant
PAM of course exists for FreeBSD and most likely works with Samba.
The only problem people have with putting Samba on FreeBSD is that everyone
follows the Linux descriptions, which have to be altered when using FreeBSD.
Other than that, Samba on FreeBSD seems to use even less memory, although some
people (including me) have had problems with the oplocks. (Locking files for up
to 30 seconds from time to time).
Nicholas Golder wrote:
> 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