Chinaunix首页 | 论坛 | 博客
  • 博客访问: 379657
  • 博文数量: 120
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1255
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 01:25
文章分类

全部博文(120)

文章存档

2011年(2)

2010年(11)

2009年(28)

2008年(26)

2007年(53)

我的朋友

分类: LINUX

2010-11-17 14:50:12

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) |
给主人留下些什么吧!~~