[Samba] machine add error to samba PDC

Guido Lorenzutti guido at lorenzutti.com.ar
Wed Aug 9 12:08:08 GMT 2006


Check the smb.conf and the add machine script parameter.
With that parameter the smb creates the machine. Is sure that something 
is wrong there.
Copy to the list, to have some solution there too.

Pavan wrote:
> Hi,
>   Thanks for that, it worked but why do I have to add the machine
> account manually?? As previous on SUSE box it did have created the
> machine accounts on the fly.
>
> Anyway thanks for the suggestion.
>
> Pavan.
>
> -----Original Message-----
> From: Guido Lorenzutti [mailto:guido at lorenzutti.com.ar] 
> Sent: Wednesday, August 09, 2006 2:22 PM
> To: Pavan
> Subject: Re: [Samba] machine add error to samba PDC
>
> All right, but pdbedit -Lv also must show you the machine account.
> Maybe the script isn't working.
>
> Why don't you try to make the machine manually?
>
> useradd -s /bin/false machine_name$
> smbpasswd -am machine_name$
> (i don't remember if the smbpasswd uses or not the $, maybe is without 
> the $)
>
> pdbedit -Lv machine_name$
>
> If know you see the machine account (remember the W flag) now you can go
>
> to the windows machine and try again.
>
>
> Pavan wrote:
>   
>> Thanks for the reply, I cannot add machine to the domain even creating
>> the machine account manually on samba. I do have a add machine script
>>     
> in
>   
>> the configuration. Pdbedit -Lv shows me the root account which I am
>> using as the administrator account to add the machines to the domain.
>>
>>
>> Thanks,
>> Pavan.
>>
>> -----Original Message-----
>> From: Guido Lorenzutti [mailto:guido at lorenzutti.com.ar] 
>> Sent: Wednesday, August 09, 2006 1:37 PM
>> To: Pavan
>> Cc: samba at lists.samba.org
>> Subject: Re: [Samba] machine add error to samba PDC
>>
>> I don't fully understand your problem.
>> You can't add the machine to the domain?
>> Do you have a add machine script in the smb.conf? If not, do you add
>>     
> the
>   
>> machine manually? If so, what to the pdbedit -Lv machine_name$ tells
>> you?
>>
>>
>>
>>
>> Pavan wrote:
>>   
>>     
>>> Hi All,
>>>  
>>>     I have setup my samba as a PDC and testparm gives me the right
>>> result, but when I am trying to add my XP client to SAMBA I receive
>>>       
> an
>   
>>> error as "Logon failure: bad username or password" or "Username could
>>> not be found". I am using root as the domain administrator and have
>>> added root account using smbpasswd and can see it using pdbedit -Lv.
>>>       
> I
>   
>>> can logon successfully from my windows client from run and typing
>>> "\\servername <file:///\\servername> ".
>>>  
>>> Why do it complain when I am adding the machine that It cannot find
>>>     
>>>       
>> the
>>   
>>     
>>> user??? Backend is simple smbpasswd file.
>>>  
>>> Anyhelp is greatly appreciated.
>>>  
>>> Thanks,
>>> Pavan.
>>>   
>>>     
>>>       
>>   
>>     
>
>   



More information about the samba mailing list