Add samba user prompt Failed to add entry for user.

Question:

The reason:
Samba user prompt Failed to add entry for user
smbpasswd-a test01(user name)
New SMB password:
Retype New SMB password:
Failed to add entry for user test01.
Solutions:

groupadd test01(user name) -g 6000
useradd test01(user name) -u 6000-g 6000-s /sbin/ nologin-d /dev/null


 

Read More: