[Samba] PDC broke after upgrade

mat.enders at gmail.com mat.enders at gmail.com
Mon Jan 17 07:05:47 MST 2011


Thanks Helmut I will check the time stamps later. I was using smbpasswd and that is what is called for in my smb.conf file. 
Sent on the Sprint® Now Network from my BlackBerry®

-----Original Message-----
From: "Helmut Hullen" <Hullen at t-online.de>
Sender: samba-bounces at lists.samba.org
Date: 17 Jan 2011 14:56:00 
To: <samba at lists.samba.org>
Reply-To: helmut at hullen.de
Subject: Re: [Samba] PDC broke after upgrade

Hallo, Mat,

Du meintest am 17.01.11:

>>> 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".

>>           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?



If your distribution puts "smbpasswd" into "/etc/samba/private":


pdbedit -i smbpasswd:/etc/samba/private/smbpasswd -e tdbsam:/etc/samba/private/passdb.tdb


It's a very good idea to first look into the directory and look at the  
timestamps of source and target file ... the pdbedit command overwrites  
existing files.

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

I can't see what has happened.
Which timestamp has your "smbpasswd", which timestamp has your  
"passdb.tdb"?

Or do you use LDAP? Then perhaps your system wants to use the LDAP crap  
as password backend.

You can define your special backend in the "[global]" part of your  
"smb.conf".

Viele Gruesse!
Helmut
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list