[Samba] pblms with samba 2.X /3.x and NT--W2k

Nick Couchman nick at seakr.com
Mon Aug 19 09:33:01 GMT 2002

On the line "smbpasswd -a -m machine_name$" I thought that smbpasswd
tacked on the $ at the end if you use the "-m" option.  Therefore, to
add a machine account, you should do "smbpasswd -a -m machine_name"
without the $ sign.  Maybe it doesn't care, but this is the only thing
that I can see a little out of place.


"mitchbnj_removethis at excite.com" wrote:

>  There is OBVIOUSLY something wrong somewhere.
> EITHER a WHOLE bunch of us are stupider than we thought, the
> documentation left off a step, or there is something SO blatently
> obvious that we are ALL staring it in the face and missing it inches
> in front of our faces.
> This is exactly what I've had, (BUT I *D*I*D* have it running ok ...)
> and I STILL havent figured it out yet,...
> Subject: [Samba] join domain problem with Samba 3.0 alpha18
> ..snip... I've compiled the SAMBA 3.0 alpha18
> with all default options and installed well.
> Then I would join my NT 4.0 machine using the following steps
> manually (not On the fly)
> ** I did same thing, both manually and from script too...***
> # useradd -g groupid -d /dev/null -c "comment" -s /bin/false
> -m machine_name$
> # passwd -l machine_name$
> # smbpasswd -a -m machine_name$
> (exact same steps/messages)
> then I tried to join my NT4.0 to the Samba PDC, but it failed with
> this message: "The machine account for this computer either does not
> exist or is inaccessible".
> > With Samba 2.2.5 it workes all right, also join domain. My Linux
> system is RedHead 7.1.
> Mine was Samba 2.2.3, and then 2.2.5
> To me this means we are ALL screwing something so basic up, that we're
> skipping over it.
> More info: in my config (and I posted my machine/smbd/nmbd logs
> earlier) as well as in my messages/and other logs
> I didnt see anything.
> please help us!
> -----------------------------------------------------------------------
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!

You can't make a difference until you are willing to be different.
Nick Couchman
SEAKR Engineering
6221 South Racine Circle
Centennial, CO 80111
Desk: (303) 784-7724
Main: (303) 790-8499
Fax: (303) 790-8720

More information about the samba mailing list