IIRC, the domain policy min password length should be honoured instead?!? We've set it to 3, but Samba complains in the logs about comparing to 5 and fails. Further we are getting a lot of these message pairs since 3.0.12: [2005/03/21 13:31:43, 1] lib/account_pol.c:account_policy_get(204) account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age (seconds since 1970)), returning 0 [2005/03/21 13:31:43, 1] lib/account_pol.c:account_policy_get(204) account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age (seconds since 1970)), returning 0 [2005/03/21 13:32:03, 1] smbd/service.c:make_connection_snum(642)
The second part of your problem (search for non-existing account-policies) is fixed in Subversion now and will be part of the next Samba-release. Working on the first part now.
Created attachment 1301 [details] Proposed patch check for "min password length" only if AP_MIN_PASSWORD_LEN is not set
Fixed in Subversion now. Thanks.
Thanks.