[Samba] users db problem
Carsten Sander
sander at csa-net.de
Mon Mar 21 19:45:10 GMT 2005
Hi,
John H Terpstra schrieb:
> Marco,
>
> Did you update the LDAP schema to the new one that ships with 3.0.12?
>
> - John T.
Same problem here too after updating from 3.0.11 to 3.0.12. I'm using
the LDAP schema that was shiped with 3.0.11.
> On Monday 21 March 2005 00:31, Marco Marinelli tiscali wrote:
>
>># smbpasswd Administrator
>>New SMB password:
>>Retype new SMB password:
>>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
>>
>>same thing when i try to modify the account's policy:
>>
>># pdbedit -P 'maximum password age (seconds since 1970)' -C 0
>>account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
>>password age (seconds since 1970)), returning 0
>>valid account policy, but unable to fetch value!
The commandline options of pdbedit changed from
'{max,min}imum password age' to
'{max,min}imum password age (seconds since 1970)'
You can see this also in:
# tdbdump /var/lib/samba/account_policy.tdb | grep minimum
key = "minimum password age\00"
key = "minimum password age (seconds since 1970)\00"
'seconds since 1970' should also be 'seconds since last change'
Thanks
Carsten
--
.
More information about the samba
mailing list