--- smeserver-dirty-tools-0.0.9/root/sbin/e-smith/dt-rename-account.ldap 2007-08-19 12:35:03.000000000 +0200 +++ smeserver-dirty-tools-0.0.9/root/sbin/e-smith/dt-rename-account 2009-01-29 14:49:52.000000000 +0100 @@ -125,6 +125,9 @@ system( "/bin/chown admin.root /etc/passwd" ); system( "/bin/chmod 644 /etc/passwd" ); + # Update LDAP attributes dn, uid, mail, calFBURL + system("/etc/e-smith/events/actions/ldap-delete user-delete $old"); + system("/etc/e-smith/events/actions/ldap-update user-create $new"); # Rename Home system( "/bin/mv /home/e-smith/files/users/$old /home/e-smith/files/users/$new" );