“Failed to find entry for user…” appears when Samba is used

[[email protected] samba]# smbpasswd samba
新SMB密码:
重新键入新SMB密码:
找不到用户samba的条目。

解决方法,加参数“——”:

# smbpasswd – oracle

新SMB密码:
新增用户samba

Read More: