I am attempting to add the ability to enable/disable user accounts from
within PLA.
I have the following code in my template:
<attribute id="nsAccountLock">
<display>Account Disabled</display>
<type>select</type>
<value id="true">Yes</value>
<value id="false">No</value>
<order>1</order>
<page>1</page>
</attribute>
And I have the following line in my config:
$servers->setValue('server','custom_attrs',array('nsRoleDN','nsRole','nsAccountLock'));
The problem is, every time I try to use the template to edit a user, I get
the following message:
"Automatically removed attribute from template
Modify User Account: nsAccountLock removed from template as it is not
defined by an ObjectClass"
As far as I know, the line in the config file is supposed to override this
error message and allow me to edit this attribute. Can anyone offer some
input on this?
--
View this message in context:
http://old.nabble.com/nsAccountLock-Attribute-tp27568061p27568061.html
Sent from the phpldapadmin-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users