大家好!centos5.5上samba3.6.10 编译安装在使用net ads join -U administrator 加入win2008域 出现下面提示:
Using short domain name -- TEST
Joined 'CENTOS5' to dns domain 'test.cn'
No DNS domain configured for centos5. Unable to perform DNS Update.
DNS update failed!
使用net rpc join -U administrator
Enter administrator's password:
Joined domain TEST.什么错误都没有就加入域
net ads info -U administrator
Enter administrator's password:
Domain Name: TEST
Domain SID: S-1-5-21-3395026221-1639031799
Sequence number: 1
Num users: 184
Num domain groups: 0
Num local groups: 39
/usr/local/samba/bin/net rpc join -U administrator
Enter administrator's password:
Joined domain TEST.
/usr/local/samba/bin/net rpc testjoin -U administrator
Join to 'TEST' is OK
/usr/local/samba/bin/net ads testjoin -U administrator
Join is OK
/usr/local/samba/bin/net ads info -U administrator
Enter administrator's password:
LDAP server: 192.168.100.2
LDAP server name: AD1.TESTcn
Realm: TEST.CN
Bind Path: dc=TEST,dc=CN
LDAP port: 389
Server time: 五, 28 12月 2012 11:46:30 CST
KDC server: 192.168.100.2
Server time offset: 8
/usr/local/samba/bin/wbinfo -t
checking the trust secret for domain TEST via RPC calls succeeded
/usr/local/samba/bin/wbinfo -u
CENTOS5/test
administrator
guest
krbtgt
/usr/local/samba/bin/wbinfo -g
domain computers
domain controllers
schema admins
enterprise admins
cert publishers
domain admins
domain users
domain guests
上面查看都是正常的,想给你一个目录换组
chgrp -R test File
提示无效的组 ,这样就不好给共享的文件设置权限。
请问怎么把域用户同步到samba上,并能登录samba这个机器。
getent passwd
配置文件
[global]
workgroup = test
netbios name = centos5
server string = Samba Server %v
security = ads
realm = test.cn
password server = *
encrypt passwords = yes
winbind separator = /
; idmap uid = 10000-20000
; idmap gid = 10000-20000
idmap config * : range = 10000-20000
idmap config * : backend = tdb
template shell = /bin/bash
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
wins server = 192.168.100.2
client ntlmv2 auth = yes
log level = 5
template homedir = /home/%D/%U
log file = /usr/local/samba/var/log.%m
max log size = 500
[test]
comment = test File Server
path = /test
browseable = yes
read only = no
writable = yes
vinsion.sz 于 2013-01-03 22:09:02发表:
一直在搞类似的项目,~停停搞~
jszj1983 于 2012-12-29 13:17:30发表:
No DNS domain configured for centos5. Unable to perform DNS Update.
DNS update failed!
问题得到解决
jszj1983 于 2012-12-29 09:35:42发表:
自己顶一下