admin
Admin
 Admin
| Posts: 322 |  | Karma: 0
|
Problem deleting User and homedir upto v3.04.03 - 2005/06/22 22:22
There is a problem in MassUser (not in Homes). if you want to delete a user account and its home directory.
The problem: ============ If you select user and homedirectory and select for both the delete option, then you get for every user a -601 error and the homedirectory isn't deleted.
Reason: ======= It is a design error. If you delete the homedirectory and the user in one step, the program will first delete the (gw and) user account, and then tries to find the homedirectory attribute in the just deleted user attribute.
This will not work, and gives the -601 error.
Homes uses for deletion of the user a different rountine that is run after deleting the homedirectory, so there is no problem in Homes.
Workaround: =========== First do a run where you delete the homedirectory and then do a second run where you delete the user and optional GW account.
Fix: ==== I will fix this, but this is a "structural" problem of the program (It first processes the User settings and then the homedirectory so for a create the homedir can use all the user attributes). For a delete the order should be the otherway around.
Hans
Post edited by: admin, at: 2005/06/22 22:23
Hans Boone |