[Samba] Problem changing password - Samba 3.0.13

Richard Smart rsmart at netaccess.co.nz
Fri Mar 25 19:59:49 GMT 2005


Hello Jose

OK - I did see the note that the LDAP schema had changed. However 
because these sites are not using LDAP just the "simple" smbpasswd 
file I did not expect this to cause a change for systems not using 
LDAP. I will however make further checks ...

Cheers

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.
> 
> > The systems are both RedHat 9.0, Samba was installed using RPMS from
> > samba.org
> > 
> > Converting the smbpasswd file to a tdbsam and then reconfiguring
> > Samba to use passdb.tdb makes no difference.
> 
> 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