Cannot find domain primary controller

Mike Harris mike at
Mon Dec 6 19:47:21 GMT 1999


Hang on.  You're running the Samba server as a PDC and joining the domain
from an NT or Samba box, right?

Remember that you have to add a UNIX user account (with the $ sign), for
RHL6.x, something like:

% useradd client$ -c "My Client Machine" -s /dev/null -n -M

The -s, -n and -M parameters are useful for a non-login UNIX account and
good for security :-).

Then use smbpasswd to add the machine without the $ sign, like:

% smbpasswd -a -m client

Hope this helps,

Mike Harris,
Psand España.

----- Original Message -----
From: Marco A. Alvarez <marco at>
To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at>
Sent: Monday, December 06, 1999 5:11 PM
Subject: Re: Cannot find domain primary controller

> encrypt passwords = yes
> On Tue, 7 Dec 1999, Skidmore, Stanley G wrote:
> > Good morning,
> > I have Samba 2.0.6 installed on Redhat Linux 6.1. When I attempt to join
the domain I receive a message that states the the primary domain
contraoller cannot be located.
> >
> > I have created the encrypted smbpasswd file, added my machine name
(client$) to smbpasswd with smbpasswd -a -m client. Server manager on the NT
side shows Samba as a PDC. Communications between both machines is good with
ping's by name and i.p. address working fine.
> >
> > I can also map drive drives on Samba but cannot join the domain.
> >
> > Does anyone have any idea what might be causing this?
> >
> >
> -------------------------------------
> Marco A. Alvarez   (marco at
> Departamento de Eng. de Computacao
> Universidade Catolica Dom Bosco
> -------------------------------------
> "Todo trabalho nobre ...
>      ... parece impossivel ao inicio"
>  (Tomas Carlyle, ensaista escoces)
> -------------------------------------

More information about the samba-ntdom mailing list