[Samba] PDC broke after upgrade
Helmut Hullen
Hullen at t-online.de
Mon Jan 17 06:56:00 MST 2011
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
More information about the samba
mailing list