1

我需要从节点(来自 ZFW)中删除 LDAP 属性。

我通常在 LDAP 中(直接从控制台)执行此操作如下:

CODE: SELECT ALL
ldapmodify [... irrelevant data removed...]
dn: uid=someuser,ou=users,dc=company,dc=com
changetype: modify
delete: pwdAccountLockedTime

在 PHP 中,可以使用 ldap_mod_del ( http://php.net/manual/en/function.ldap-mod-del.php ) 删除属性。

Zend Framework 中是否有任何内置函数可以执行相同的操作?

4

1 回答 1

0

The password policy overlay delete that attributes when the lock time expires. To do it yourself you would at least require the appropriate permissions in slapd.conf. It's an admin action, not a general user action.

于 2012-10-01T03:40:45.010 回答