This is syslog output, not debug output. I said to bump up the debug
level.
Maybe I'm misunderstanding. From the slapd.conf manpage:
loglevel<integer> [...]
Specify the level at which debugging statements and
operation statistics should be syslogged (currently logged to the
syslogd(8) LOG_LOCAL4 facility).
I thought "debugging statements" is what you wanted? When I start slapd
with the -d option, I seem to get the same output as when I specify
'loglevel N' in the slapd.conf.
<snip>
As already mentioned, ppolicy doesn't restrict the rootDN. If you want
your policy constraints to work, you have to bind with some other DN
to make the changes. That will of course mean that you have to give
that DN write access to the selected attributes in your ACL.
Ok - I'll create an LDAP user specifically for changing passwords, and
set that as my "ldap admin dn" in the smb.conf, so the change won't be
done by the rootdn, as recommended by Adam and yourself. I'll then
create an entry in the slapd.conf like the one below and give that a shot.
# ACL's
access to
attrs=userPassword,sambaNTPassword,sambaLMPassword,shadowLastChange,shadowMax,sambaPwdLastSet,sambaPwdMustChange
by self write
by * auth
access to
attrs=userPassword,sambaNTPassword,sambaLMPassword,shadowLastChange,shadowMax,sambaPwdLastSet,sambaPwdMustChange,pwdChangedTime,pwdHistory
by dn="cn=pwchanger,dc=example,dc=com" write