samba 添加用户。
[root@rachel bin]# smbpasswd -a rachel
New SMB password:
Retype new SMB password:
Added user rachel.
[root@rachel xinetd-2.3.14]# smbclient -L -U test
Enter test's password:
session setup failed: NT_STATUS_LOGON_FAILURE
解决办法:将test加入到samba 用户即可。
[root@rachel xinetd-2.3.14]# smbpasswd -a test
New SMB password:
Retype new SMB password:
Added user test.
[root@rachel xinetd-2.3.14]# smbclient -L localhost -U test
Enter test's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.2]
Sharename Type Comment
--------- ---- -------
tmp Disk
IPC$ IPC IPC Service (My Samba Server)
test Disk Home Directories
阅读(1193) | 评论(0) | 转发(0) |