Koozali.org formerly Contribs.org

Legacy Forums => General Discussion (Legacy) => Topic started by: floreseo on September 08, 2005, 03:19:14 AM

Title: A user-deleted account of that name
Post 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.

 :-(
Title: :-D Problem Solved.
Post by: floreseo on September 08, 2005, 04:21:37 AM
:-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!
Title: A user-deleted account of that name
Post by: aux2006 on June 21, 2007, 08:18:59 PM
i encounter this problem how do you solved this?

aux
Title: A user-deleted account of that name
Post by: bpivk on June 21, 2007, 08:58:36 PM
Quote
i encounter this problem how do you solved this?

Read his last post. He answered your question.
Title: A user-deleted account of that name
Post by: aux2006 on June 26, 2007, 11:54:48 AM
Quote from: "bpivk"
Quote
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...
Title: A user-deleted account of that name
Post by: bpivk on June 26, 2007, 04:24:38 PM
Ok so you have another problem.

Try this
Code: [Select]
signal-event user-delete <username>
db accounts delete <username>


Then recreate the user.
Title: deleting and recreating a user
Post by: michaelzeke on July 17, 2007, 03:07:15 PM
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!