[Samba] PDC broke after upgrade
Mat Enders
mat.enders at gmail.com
Mon Jan 17 17:15:21 MST 2011
On Mon, Jan 17, 2011 at 9:05 AM, <mat.enders at gmail.com> wrote:
> 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
>
All seems to be working correctly now except I have to rejoin all of the
machines to the domain but that happens anytime I upgrade.
Also it seems that my users no longer have thier roaming profiles.
Here is a copy of my smb.conf
[global]
smb passwd file = /etc/samba/passdb.tdb
enable privileges = yes
logon drive = H:
domain master = yes
encrypt passwords = true
logon home = \\%L\%U
netbios name = ARDVARC
server string = Gaudior's PDC
logon script = logon.bat
local master = yes
workgroup = GAUACA
logon path = \\%L\%U\profile
os level = 99
security = user
add machine script = /usr/sbin/useradd -s /bin/false \-d /dev/null %u
preferred master = yes
domain logons = yes
hide files = /desktop.ini/
guest account = nobody
map to guest = bad user
wins support = yes
[staff]
comment = staff share drive
path = /home/staff/share
read only = no
;valid users =
[student]
comment = student share by level
path = /home/stdnt/share
read only = no
[netlogon]
comment = Net Logon Service
path = /home/netlogon
read only = yes
write list = root
;public = yes
guest ok = yes
browsable = no
[homes]
comment = Home
valid users = %S
read only = no
browsable = no
--
Mathew E. Enders
More information about the samba
mailing list