[Samba] What is the domain name when using Samba as PDC

Clement clement at ans.com.au
Sat Jul 31 08:31:33 GMT 2004


Andreas Ntaflos wrote:

>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
>  
>
Hi Andreas,

Thank you very much.  The root user is the key.  I did not understand 
what is 'to add the machine to the domain'.  It appears now that using 
the root user at the first time is what is needed.

Regards,
Clement





More information about the samba mailing list