Error "ldapsam_set_account_policy_in_ldap: failed to update local tdb as a cache"

Orlando Irrazabal oirraza at gmail.com
Fri Apr 11 14:09:24 MDT 2014


Hello,

I'm configuring Samba 3.6.9 on Centos 6.5 with OpenLDAP 2.4.23. Slapd
runs without problems, i added samba schema and configured slapd.conf,
and can list users from ldap without problems. Samba connection with
openldap is working fine, but when I run some commands appear some
errors like these:

# net sam provision
Checking for Domain Users group.
found!
Checking for Domain Admins group.
found!
Check for Administrator account.
ldapsam_get_account_policy: failed to update local tdb as a cache
ldapsam_get_account_policy: failed to update local tdb as a cache
ldapsam_get_account_policy: failed to update local tdb as a cache
ldapsam_get_account_policy: failed to update local tdb as a cache
found!
Checking for Guest user.
ldapsam_get_account_policy: failed to update local tdb as a cache
ldapsam_get_account_policy: failed to update local tdb as a cache
ldapsam_get_account_policy: failed to update local tdb as a cache
found!
Checking Guest's group.
found!

# pdbedit --list
ldapsam_get_account_policy: failed to update local tdb as a cache
Administrator:50003:Administrator
nobody:99:Nobody

#  pdbedit --account-policy "min password length" --value 6
ldapsam_get_account_policy: failed to update local tdb as a cache
valid account policy, but unable to fetch value!
account policy "min password length" description: Minimal password
length (default: 5)
account policy "min password length" value was: 6
ldapsam_set_account_policy_in_ldap: failed to update local tdb cache
valid account policy, but unable to set value!

Anyone have any idea how to fix it?

Thanks in advance


Orlando Irrazabal


More information about the samba-technical mailing list