Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: floreseo on September 08, 2005, 03:19:14 AM
-
Hi,
Recently I deleted a user by mistake. Now I'm trying to add the user again and I get an error saying:
Error: the account "johndoe" can't be created because there is already a user-deleted account of that name.
How can I reinstate this user?
Thanks in advance.
:-(
-
:-D Problem Solved.
Sorry Someone already asked this issue, but no fix was provided. After a little reseach I was able to fix my problem. Since I can not delete this Post.
I'll share with you my fix.
My particular problem lies on the sip-pbx server software running with the SME. If you are using a sip-pbx with the SME then if you have an account on the SME and at the sip-pbx end, then both accounts should be delete. If you delete the SME account but leave the sip-pbx account active you won't be able to reinstate the user again as an sme user.
See you next post!
-
i encounter this problem how do you solved this?
aux
-
i encounter this problem how do you solved this?
Read his last post. He answered your question.
-
i encounter this problem how do you solved this?
Read his last post. He answered your question.
what is this sip-pbx?
i look at the processes it seems i can't find with that name...
-
Ok so you have another problem.
Try this
signal-event user-delete <username>
db accounts delete <username>
Then recreate the user.
-
I had the same problem and the way it worked for me was to do this:
userdel (user)
db accounts delete user
then rmdir /home/e-smith/files/user/username
then useradd user
passwd user
after this i went back into sme server server-manager and reset the password there as well.
I had a problem with an account just not accepting any password i set and this seems to be the only way I could delete and recreate the user.
Hope it helps some what!