How to solve an error when adding a user to the samba database in Linux
Source: Internet
Author: User
Solution to Linux errors when adding users to samba databases question: # pdbedit-amis1newpassword: retypenewpasswd: UnabletomodifypasswdTDB! Error: Recordexistsoccuredwhilestori...
In Linux, when a user is added to the samba database, an error occurs. Solution: question: # pdbedit-a mis1 new password: retype new passwd: Unable to modify passwd TDB!
Error: Record exists occured while storing the main record (USER_mis1) Unable to add user! (Does it already exist ?) Description: The preceding error occurs when a user is added to the samba database. how can this problem be solved?
Answer: This is because the password of mis1 already exists in the user database of samba, and I always thought that as long as I delete this user (userdel mis1; rm-rf/var/spool/mail/mis1) can delete all data related to mis1 on the computer, but in fact the samba database continues to save the password of this user. # Smbpasswd mis1 // modify the password of a samba user. Author: wang509020
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service