[Samba] What is the domain name when using Samba as PDC
Andreas Ntaflos
daff at dword.org
Thu Jul 29 16:11:17 GMT 2004
On Wed, Jul 28, 2004 at 02:17:31AM +1000, Clement wrote:
>
> "The following error occured attempting to join the domain "SAMBA":
> "Logon failure: unknown user name or bad password."
>
> The user "clement" and the machine user "clement$" were both manually
> created. The log.smbd also showed the password was authenticated. Do
> you have any suggestion about the trouble?
Am I right to believe that the machine user clement$ is the (NetBIOS) name
of the computer you want to join to the domain?
Also, have you done an
# smbpasswd -a root
on the PDC machine? Because you cannot use a regular user such as
(I believe) clement to add the machine to the domain, it needs to be a
Samba root user (or a user with Samba-root privileges, although I have
experienced problems with that, but didn't investigate them). So after
doing the
# smbpasswd -a root
and giving it a password (preferrably not the same as the Unix root
user) you should try again to join the computer to the domain, this
time using "root" as username (and the Samba password you just gave) in
the dialog box on the client machine.
I found this how-to quite useful, maybe it can help you:
http://www.linuxhelp.ca/forums/index.php?act=ST&f=3&t=3823
Your smb.conf looks quite reasonable, didn't find anything wrong in
there.
HTH
--
Andreas "daff" Ntaflos | "A cynic is a man who knows the price of
daff AT dword DOT org | everything, and the value of nothing."
Vienna, AUSTRIA | Oscar Wilde
More information about the samba
mailing list