account, but not disabling email. It was written to ldap correctly, but we
updated the data to display wrongly.
+userdir-ldap (0.3.XX) unstable; urgency=low
+
+ * Properly show shadowlastchange and mail disabled message when
+ locking an account, but not disabling email. It was written to
+ ldap correctly, but we updated the data to display wrongly.
+
+ -- Peter Palfrader <weasel@debian.org> Mon, 24 Nov 2008 11:24:16 +0100
+
userdir-ldap (0.3.52) unstable; urgency=low
* Remove cruft comment.
(ldap.MOD_REPLACE,"shadowExpire","1")];
if DisableMail:
recs.append( (ldap.MOD_REPLACE,"mailDisableMessage","account locked") )
- Attrs[0][1]["shadowLastChange"] = [shadowLast];
+ Attrs[0][1]["mailDisableMessage"] = ["account locked"];
l.modify_s(UserDn,recs);
Attrs[0][1]["userPassword"] = ["{crypt}*LK*"];
- Attrs[0][1]["mailDisableMessage"] = ["account locked"];
+ Attrs[0][1]["shadowLastChange"] = [shadowLast];
Attrs[0][1]["shadowExpire"] = ["1"];
# Main program starts here