Hi, i never post in this list before becouse all the developers did a great job before, but now i have a problem. I used samba 3.0.x for a long time without any problem with openldap as passwd backend, now with samba 3.0.12 there are stange message when i try to change account's passwd: # 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! I'm using slackware current with kernel 2.6.9, openldap 2.2.20 and nss_ldap, there are some changes that i must do for samba 3.0.12? Thanks!
Marco, Did you update the LDAP schema to the new one that ships with 3.0.12? - John T. On Monday 21 March 2005 00:31, Marco Marinelli tiscali wrote:> Hi, i never post in this list before becouse all the developers did a > great job before, but > now i have a problem. > I used samba 3.0.x for a long time without any problem with openldap as > passwd backend, now with samba 3.0.12 > there are stange message when i try to change account's passwd: > > # 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! > > I'm using slackware current with kernel 2.6.9, openldap 2.2.20 and > nss_ldap, there are some changes that i must do for samba 3.0.12? > > Thanks!-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
>Did you update the LDAP schema to the new one that ships with 3.0.12? > >Was this mentioned in the release notes? I think I missed it if it was... -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Gienger wrote: | |> Did you update the LDAP schema to the new one |> that ships with 3.0.12? |> |> | Was this mentioned in the release notes? I think I missed | it if it was... There were no changes to the OpenLDAP schema file in 3.0.12. The SunOne and NDS schema files got some corrections to bring them up to date. But no new attributes or abject classes. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCPxk7IR7qMdg1EfYRAqsaAKDYjfzAeW9GFov/b+pplG8jc5SZVACdFWdh XA3Xr7JqkeHRMxA6u2X8L80=OA9A -----END PGP SIGNATURE-----
I didn't read anything about the changes in LDAP schema... I noted also other strange things, like the command 'net getusersid' that doesn't work... I suspect some problems in the user's db (samba tdb's or ldap) or some changes in any library involved (please, forgive my bad english...) John H Terpstra wrote:>Marco, > >Did you update the LDAP schema to the new one that ships with 3.0.12? > >- John T. > >