- 论坛徽章:
- 0
|
我把linux 加入 NT4 的网域, 使用 winbind 把linux 和 NT4 的帐号结合了.
wbinfo -u 可以从nT4中取得域帐号,
samba 是使用domain做验证, 分享的目录是通过winbind取得NT4帐号来设定权限.
可是用windows 电脑 (如 windows 9 登入到NT4网域后 无法进入 samba 分享的
目录, 总提示IPC$ 和密码.
这是为什么呢? 难道不能使用Nt4的帐号吗??
smb.conf 如下
--------------------------------------------------
[global]
workgroup = Test.COM.CN
server string = Linux File Server
netbios name = IS7
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
security = domain
password server = NTPDC
#===========Share Definitions =============
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind use default domain = yes
[share]
comment = file share
path = /home/share
browseable = yes
writable = yes
----------------------------------------------------------------
而/home/share 里有user1 , user2 , user3 目录, 拥有者相应是user1 , user2 ,user3
帐号不使本机帐号, 是从NT4中取得. |
|