samba错误
1.session setup failed: NT_STATUS_LOGON_FAILURE
该错误表示用户有误, 可能是用户不存在, 也有可能是密码错误, 或者用户只是在samba和系统的用户中的一个地方存在, 总之是用户和密码有问题
2. tree connect failed: NT_STATUS_BAD_NETWORK_NAME
这个错误则表示共享目录有误, 可能是目录不存在, 或者权限不对
3、[root@ samba]# wbinfo -t------------该问题百思不得其解
could not obtain winbind interface details!
could not obtain winbind domain name!
checking the trust secret for domain (null) via RPC calls failed
Could not check secret
[root@samba]# wbinfo -u
Error looking up domain users
[root@samba]# wbinfo -g
Error looking up domain groups
---------------------------------
[root@ruskyserver admin]# ps -ef| grep winbind
root 17046 1 0 14:10 ? 00:00:00 winbindd
root 17048 17046 0 14:10 ? 00:00:00 winbindd
root 17523 14691 0 15:15 pts/0 00:00:00 grep winbind
[root@ruskyserver admin]# service winbind restart
Shutting down Winbind services: [ OK ]
Starting Winbind services: [ OK ]
[root@ruskyserver admin]# ps -ef | grep winbindd
root 17537 1 0 15:15 ? 00:00:00 winbindd
root 17539 17537 0 15:15 ? 00:00:00 winbindd
root 17543 14691 0 15:16 pts/0 00:00:00 grep winbindd
[root@ruskyserver admin]# ps -ef | grep smbd
root 16407 1 0 14:05 ? 00:00:00 /usr/local/samba3/sbin/smbd -s /etc/samba/smb.conf -D -d 10
root 16408 16407 0 14:05 ? 00:00:00 /usr/local/samba3/sbin/smbd -s /etc/samba/smb.conf -D -d 10
root 17545 14691 0 15:16 pts/0 00:00:00 grep smbd
[root@ruskyserver admin]# ps -ef | grep nmbd
root 16410 1 0 14:05 ? 00:00:00 /usr/local/samba3/sbin/nmbd -s /etc/samba/smb.conf -D -d 10
root 17547 14691 0 15:16 pts/0 00:00:00 grep nmbd
[root@ruskyserver admin]# getent passwd-------能读取到域控主机上的用户及组信息
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
…………
[root@ruskyserver admin]# getent group
root:x:0:
bin:x:1:bin,daemon
daemon:x:2:bin,daemon
sys:x:3:bin,adm
adm:x:4:adm,daemon
tty:x:5:
disk:x:6:
lp:x:7:daemon
mem:x:8:
kmem:x:9:
wheel:x:10:
mail:x:12:mail,postfix
uucp:x:14:
man:x:15:
…………
[root@ruskyserver admin]# wbinfo -t
could not obtain winbind interface details!
could not obtain winbind domain name!
checking the trust secret for domain (null) via RPC calls failed
Could not check
4、[root@samb]# net ads join========域控主机上没有root用户,必须加-U参数 net ads join -U username
Enter root's password:
Failed to join domain: failed to lookup DC info for domain 'IAMTEST.COM' over rpc: Logon failure
[root@samba ]# net ads leave
Enter root's password:
[2014/09/25 02:16:04.336242, 0] libads/kerberos.c:333(ads_kinit_password)
kerberos_kinit_password root@IAMTEST.COM failed: Client not found in Kerberos database
Failed to leave domain: failed to connect to AD: Client not found in Kerberos database
5、
[root@samba ~]# service winbind status
winbindd dead but pid file exists
6、启动smbd程序,无进程,smbd日志如下:
[2014/09/26 14:32:49.992576, 5] smbd/uid.c:400(change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/09/26 14:32:49.992678, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
Locking key F7110000FFFFFFFF
[2014/09/26 14:32:49.992770, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
Allocated locked data 0x0x2adca23f0d00
[2014/09/26 14:32:49.992869, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
Unlocking key F7110000FFFFFFFF
[2014/09/26 14:32:49.993135, 3] smbd/server_exit.c:181(exit_server_common)
Server exit (termination signal)
samba错误的更多相关文章
- 航空概论(历年资料,引之百度文库,PS:未调格式,有点乱)
航空航天尔雅 选择题1. 已经实现了<天方夜谭>中的飞毯设想.—— A——美国2. 地球到月球大约—— C 38 万公里3. 建立了航空史上第一条定期空中路线—— B——德国4. 对于孔明 ...
- 部署samba服务之后,在客户端用挂载访问的方式,错误信息:mount: block device //192.168.1.108/mysqldata is write-protected, mounting read-only mount: cannot mount block device //192.168.1.108/mysqldata read-only
部署samba服务之后,在客户端用挂载访问的方式,错误信息:mount: block device //192.168.1.108/mysqldata is write-protected, moun ...
- 网络存储-Samba、NAS---未知的用户名或错误密码
项目中的文件需要保存到网络存储设备中,之前用的是NAS.因没来得及采购就先用Samba顶上.代码发现通用…… 一.定义: Samba是在Linux和UNIX系统上实现SMB协议的一个免费软件,由服务器 ...
- samba配置中常见错误收集.txt
在命令行输入命令: ~$ smbclient -L \\127.0.0.1按要求输入密码后,提示出错:session setup failed: NT_STATUS_LOGON_FAILURE 这是因 ...
- CentOS 7安装Samba 4.6 版本步骤及错误解决方法
首先通过这次教训,让我养成一个好习惯:备份 备份 备份 不管做什么配置或者更改什么东西之前先做好备份! 还有我本身的一个坏毛病:眼高手低! 工厂有一台服务器,由以前的运维装的Samba ...
- gentoo samba 密码错误
参考 Samba Share Password Refused https://social.technet.microsoft.com/Forums/windows/en-US/8249ad4c-6 ...
- centos7 samba配置完成后不管怎么登陆都会显示密码错误的解决方案
添加系统用户 useradd samba 添加samba用户 smbpasswd -a samba 激活samba用户 smbpasswd -e samba 1.win+r运行secpol.msc打开 ...
- 关于win10 samba访问提示用户名和密码错误的原因
排除掉linux上的配置错误,只需要做到以下两步就可以了: 1.win10系统运行secpol.msc 打开本地安全策略 2.安全策略->本地策略->安全选项 3.右侧找到 网络安全:LA ...
- OpenWrt中开启usb存储和samba服务
在从官网安装的WNDR3800 15.05.1版本OpenWrt中, 不带usb存储支持以及samba, 需要另外安装 1. 启用usb支持 USB Basic Support https://wik ...
随机推荐
- VLV INDEX
Normally, when the Directory Server conducts a search, the server looks through the entire entry for ...
- 前端 JavaScript基础
前言 JavaScript 是属于网络的脚本语言,被数百万计的网页用来改进设计.验证表单.检测浏览器.创建cookies,以及更多的应用. 一.如何编写 1.存在形式 方式一:存在js文件中,即写入j ...
- JAVA泛型解释
理解Java泛型最简单的方法是把它看成一种便捷语法,能节省你某些Java类型转换(casting)上的操作: 1 List<Apple> box = ...; 2 Apple apple ...
- 图片设置3D效果
/** * 图片绘制3d效果 * @param srcImage * @param radius * @param border * @param padding * @return * @throw ...
- (转)巧用clear:both
我们在制作网页中用div+css或者称xhtml+css都会遇到一些很诡异的情况,明明布局正确,但是整个画面却混乱起来了,有时候在IE6下看的很正常的,到ie7或者火狐下看时,就一片混乱了,无论怎么计 ...
- dinic网络流模板
src:源点 sink:汇点 #include<queue> #include<iostream> #include<string.h> #include<s ...
- ICP编程软件配置(烧写KEIL编译后的bin文件)
1. 安装NuMicro_ICP_Programming_Tool_1.29.6425软件 2. 打开软件后选择目标芯片后点击“连接”按钮 3. 添加程序 4. 点击设定按钮进行设定 5. 点击开始 ...
- xode 中文乱码处理
find *.* -exec sh -c "iconv -f GB18030 -t UTF-8 {} > {}.txt" \;
- php模板引擎技术简单实现
用了smarty,tp过后,也想了解了解其模板技术是怎么实现,于是写一个简单的模板类,大致就是读取模板文件->替换模板文件的内容->保存或者静态化 tpl.class.php主要解析 as ...
- Json,Ajax(0516)
一.JSON简介: JSON(JavaScript Object Notation)是一种轻量级的数据交换语言,以文字为基础,且易于让人阅读,同时也方便了机器进行解析和生成.JSON简单说就是java ...