|
下面是我的linux上的配置:
-bash-2.05b# vi /etc/samba/smb.conf
[global]
workgroup = wetie.com
server string = Openfiler NAS
netbios name = NAS.wetie
password server = wetie-server.wetie.com
realm =
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote announce = 92.168.1.255 192.168.2.44
; domain logons = yes
log file = /var/log/samba/%m.log
max log size = 0
; hosts deny = all
map to guest = Bad User
guest account = ofguest
encrypt passwords = yes
security = ads
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
; username map = /etc/samba/smbusers
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = no
winbind separator = +
idmap uid = 0-33554431
idmap gid = 0-33554431
winbind uid = 0-33554431
winbind gid = 0-33554431
winbind cache time = 15
winbind enum users = yes
winbind enum groups = yes
我的win2003的域是wetie.com ,控制器名:wetie-server.wetie.com ,并且在win2003上我已经建立了一个账号linux
谢谢。还请各位大虾
帮忙阿! |
|