slaine
17-06-2006, 22:37
У меня проблема присоединения винХР к домену.
пишу пользователя root и пароль мне говорят:
"Windows cannot find an account for your computer on the NOTES domain"
Что у меня не так?
Вот мои настройки:
hosts
=====
127.0.0.1 localhost.localdomain localhost
192.168.1.254 test
192.168.1.1. mars
smbusers
=======
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
lmhosts
======
127.0.0.1 localhost
192.168.1.254 test
192.168.1.1. mars
testparm
========
Load smb config file from /etc/samba/smb.conf
params.c:Parameter() - Ignoring badly formed line in configuration file:# This is the main Samba configuration file: You should read the Unknown parameter encountered: "client code page"
Ignoring unknown parameter "client code page"
Unknown parameter encountered: "character set"
Ignoring unknown parameter "character set"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[tmp]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
workgroup = notes
server string = notes Samba Server
netbios name = test
hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.1.0/24 192.168.5.255
local master = yes
os level = 99
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\%N\Profiles\%u
logon drive = H:
logon home = \\notes\%u
logon script = logon.cmd
dns proxy = no
client code page = 866
character set = koi8-r
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = no
share modes = no
write list = ntadmin
[Profiles]
path = /export/smb/ntprofile
writeable = yes
create mask = 0600
directory mask = 0700
browseable = no
guest ok = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff
пишу пользователя root и пароль мне говорят:
"Windows cannot find an account for your computer on the NOTES domain"
Что у меня не так?
Вот мои настройки:
hosts
=====
127.0.0.1 localhost.localdomain localhost
192.168.1.254 test
192.168.1.1. mars
smbusers
=======
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
lmhosts
======
127.0.0.1 localhost
192.168.1.254 test
192.168.1.1. mars
testparm
========
Load smb config file from /etc/samba/smb.conf
params.c:Parameter() - Ignoring badly formed line in configuration file:# This is the main Samba configuration file: You should read the Unknown parameter encountered: "client code page"
Ignoring unknown parameter "client code page"
Unknown parameter encountered: "character set"
Ignoring unknown parameter "character set"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[tmp]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
workgroup = notes
server string = notes Samba Server
netbios name = test
hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.1.0/24 192.168.5.255
local master = yes
os level = 99
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\%N\Profiles\%u
logon drive = H:
logon home = \\notes\%u
logon script = logon.cmd
dns proxy = no
client code page = 866
character set = koi8-r
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = no
share modes = no
write list = ntadmin
[Profiles]
path = /export/smb/ntprofile
writeable = yes
create mask = 0600
directory mask = 0700
browseable = no
guest ok = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff