[Samba] PDC broke after upgrade

Mat Enders mat.enders at gmail.com
Mon Jan 17 03:37:32 MST 2011


On Mon, Jan 17, 2011 at 5:15 AM, Mat Enders <mat.enders at gmail.com> wrote:

>
>
> On Mon, Jan 17, 2011 at 2:24 AM, Helmut Hullen <Hullen at t-online.de> wrote:
>
>> Hallo, Mat,
>>
>> Du meintest am 16.01.11:
>>
>> > I upgraded from Debian Lenny (Samba 3.2.5) to Squeeze (Samba 3.5.6)
>> > and now my PDC does not work.
>>
>> > In the past when upgrading from one release to another all of the
>> > machine trust accounts no longer worked but I was able to just rejoin
>> > then to the domain.  Now however the join fails with unknown user and
>> > bad password.  I have always used root and roots password what am I
>> > missing?  What changed between these 2 releases?
>>
>> What tells
>>
>>        testparm -s 2>/dev/null | grep passdb
>>        testparm -sv 2>/dev/null | grep passdb
>>
>> The first line tells what is defined in the "smb.conf", the second tells
>> all pre-defined options too.
>>
>> Samba 3.5.6 uses "tdbsam", earlier versions have used "smbpasswd"; you
>> should look which file ("smbpasswd" or "passdb.tdb") your old version
>> has used.
>> For converting you can use "pdbedit".
>>
>> Viele Gruesse!
>> Helmut
>> --
>>
>
>  Helmut,
>
>           Danke, I will check this I am sure that is the problem as I was
> using smbpasswd.  Will pdbedit convert my smbpasswd file to tdbsam?
>
> --
> Mathew E. Enders
>

Helmut,

         Or did the upgrade convert smbpasswd to  tdbsam and all I need to
do is change my smb.conf?

-- 
Mathew E. Enders


More information about the samba mailing list