SOLVED - [Samba] Problem changing password - Samba 3.0.13

Richard Smart rsmart at netaccess.co.nz
Fri Mar 25 20:46:13 GMT 2005


On 26 Mar 2005 at 7:59, Richard Smart wrote:
Thanks to Jose for pointing me in the right direction :-)

Problem solved. I saved the original account_policy.tdb to another 
name and deleted the original file, reinstalled the 3.0.13 rpms and 
restarted Samba - problem solved. 

Thank you

Richard Smart


> On 25 Mar 2005 at 18:58, José M. Fandiño wrote:
> 
> > Hello Richard,
> > 
> > Richard Smart wrote:
> > > I have just upgraded two sites to Samba 3.0.13 from 3.0.11. Both
> > > sites are small and use smbpasswd as the password db backend. Since
> > > the upgrade I am unable to change a users password (as root) using
> > > smbpasswd.
> > > 
> > > There are two reported errors
> > > 
> > > account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
> > > password age (seconds since 1970)), returning 0
> > > account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
> > > password age (seconds since 1970)), returning 0
> > 
> > the ldap schema changed between samba 3.0.11 an d 3.0.12.
> > 
> > I don't know as other admins fix this, updating the schema was not
> > sufficient to me and that I did was recreate the account_policy.tdb
> > file.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 23/03/2005



More information about the samba mailing list