SMB fail to find the entry for user ....
来源:互联网 发布:ptc系列软件 编辑:程序博客网 时间:2024/06/03 18:14
今天在安装samba增加用户,并且使用smbpasswd生成密码的时候出现如下错误:
[root@10.60.10.27 /backup]$ smbpasswd test
New SMB password:
Retype new SMB password:
Failed to find entry for user test.
Failed to modify password entry for user test
说明是没有该用户,请使用 -a 参数
OPTIONS
-a
This option specifies that the username following should be added to the local smbpasswd file, with the new
password typed (type <Enter> for the old password). This option is ignored if the username following
already exists in the smbpasswd file and it is treated like a regular change password command. Note that
the default passdb backends require the user to already exist in the system password file (usually
/etc/passwd), else the request to add the user will fail.
This option is only available when running smbpasswd as root.
解决方法:
加参数‘-a’:
# smbpasswd -a 用户即可
- SMB fail to find the entry for user ....
- 使用samba时出现"Failed to find entry for user..."
- 用samba时出现"Failed to find entry for user..."
- [solve]Ubuntu login "Failed to add entry for user"
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- 增加samba用户提示Failed to add entry for user
- ABAP code to find all the User Exits and BADIs for any transaction
- Report to Find User-Exit for Transaction Code
- Guidelines for blocking specific firewall ports to prevent SMB traffic from leaving the corporate en
- How to Find the Best Person for the Job
- The user operation is waiting for "Building workspace" to complete
- The user operation is waiting for "Building workspace" to complete
- android Layout之RelativeLayout(一)
- 最简单的模块——hello world
- adndroid service生命周期
- UML
- 基于数组实现双向栈 c++
- SMB fail to find the entry for user ....
- Notes for C programmers
- GIMP 笔记
- 开发心得分享:10年编程无师自通
- 如何将网站提交到百度、Google等搜索引擎?
- 顺序栈的实现 c++
- JS,获取xml的值
- sqlserver 中的一些概念
- 数据库连接