Package: phpldapadmin Version: 1.2.0.5-2+squeeze1 Hi,
First of all, the squeeze upgrade was annoying - all of our old etch or lenny PHP template files were left in the config tree and gave us a gazillion warnings. The package could have detected some of those obsolete config files of its, and printed some sort of a debconf warning hinting at what to do. Anyway. Ever since #532859, I've had to keep a modified sambaSamAccount template in phpLDAPadmin that inserted the sambaPwdLastSet attribute in those user accounts. In the old days, that was done with new_smb3_user_template.php's: $now = time(); [...] <input type="hidden" name="attrs[]" value="sambaPwdLastSet" /> <input type="hidden" name="vals[]" value="<?php echo $now ?>" /> Trying to implement that in the new XML config files led me to try: <attribute id="sambaPwdLastSet"> <hidden>1</hidden> <value><![CDATA[=php.Function(time;)]]></value> </attribute> But this value doesn't actually work. phpLDAPadmin simply skips over the entire field. Despite the documentation at http://phpldapadmin.sourceforge.net/wiki/index.php/TemplateValueFunction:Function I also tried: <value>=php.Function(time;)</value> That didn't work, either. Thank goodness the semantics of the sambaPwdLastSet attribute don't actually require the /current/ timestamp, any can do, so: <value>1000000000</value> ...that workaround works. Please fix this. TIA. -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org