当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : samba pcd 配置
帖子发表于 : 2009-04-02 16:13 

注册: 2009-03-22 14:42
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
大家好! 我在在配置samba 域服务器的时候, 配置好了, 但是xp不能加入到域, 提示说“找不到用户名”。 我上网查了好多资料, 都没有解决这个问题。 请帮忙看一下。我的配置文件是这样的:
[global]
workgroup = skip
server string = skip's samba-servera
netbios name = skip
# local master = yes
# os level = 33
# prefered master = yes
# domain master = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
interfaces = eth0
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = no
syslog = 0
# panic action = /usr/share/samba/panic-action %d
security = suer
username map = /etc/samba/smbusers
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
# what's the difference between tdbsam and smbpasswd
# passdb backend = tdbsam
# obey pam restrictions = yes what's mean ? adding this there is a problem
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user

domain logons = yes
logon path = \\%N\%U\profile
logon drive = S:
logon home = \\%N\%U
logon script = logon.cmd
load printers = yes
printing = cups
printcap name = cups
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# template shell = /bin/bash
# enable privileges = yes
# nt acl support = yes
# hide dot files = yes
# usershare allow guests = yes
add machine script = sudo /usr/sbin/useradd -n -g machines -c Machine -d /var/lib/samba -s /bin/false %u

[homes]
comment = Home Directories
browseable = no
# writable = yes
read only = no
create mask = 0700
directory mask = 0700
# create mode = 0644
# directory mode = 0775
# create mask = 0711
# directory = 0711
valid users = %S
# map hidden = yes
# map system = yes
# map read only = permissions
hide files = /RECYCLER/
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
read only = yes
# browseable = no
share modes = no
# write list = skip
# create mask = 0777
# directory mask = 0777
# map hidden = yes
# map system = yes
# map read only = permissions
[tmp]
comment = tmp samba
path = /var/samba/
# guest ok = yes
browseable = yes
force group = "Domain Users"
writeable = yes
# valid users = skip
# public = yes
create mask = 0777
directory mask = 0777
force create mode = 0666

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[cdrom]
comment = Samba server's CD-ROM
read only = yes
locking = no
path = /cdrom
guest ok = yes
preexec = /bin/mount /cdrom
postexec = /bin/umount /cdrom

谢谢大家帮忙!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译