Есть Ubuntu server 8.04 на нем Samba 3 работает как PDC .При вводе в домен NAS сервера вылетает ошибка "server" is not a password server, or "tv7" is not a domain!, При вводе в домен машины с виндой проблем не возникает.SMB.CONF
------------------------[global]
workgroup = tv7
netbios name = server
server string = Linux Server### CODE PAGE
display charset = koi8-r
unix charset = cp866
dos charset = cp866
### INTERFACE
interfaces = eth0, lo
hosts allow = 192.168.0. 127.
local master = yes
domain master = yes
### SECURITY
security = user
password server = 192.168.0.1
encrypt passwords = true
null passwords = yes
domain logons = yes
#winbind uid = 10000-20000
#winbind gid = 10000-20000
#winbind separator = +
#auth methods = winbind
#winbind enum groups = yes
#winbind enum users = yes
#winbind use default domain = yes
### OPTIMIZATION
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
admin users = root
### OTHER
time server = yes
username level = 8
password level = 8
#passdb backend = tdbsam
os level = 255
log level = 9
max log size = 50
bind interfaces only = yes
dns proxy = no
add machine script = /usr/sbin/useradd -g nt_comp -s /bin/false -d /dev/null %u
logon path =
#logon home =
#template homedir =
#set pimary group script = /usr/sbin/usermod -g %g %u
#smb passwd file = /etc/samba/smbpasswd
#[homes]
#read only = no
#browsable = no
#guest ok = no#[Profiles]
#path = /etc/samba/profiles
#browsable = no
#guest ok = yes
#create mask = 0600
#directory mask = 0700
#writable = yes#[netlogon]
#path = /etc/samba/netlogon
#read only = yes
#browseable = no
-------------------------------------------------Кусок лога
------------------------------------------------
[2008/10/29 12:42:20, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(32786) header: id=8443 opcode=Query(0) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=SERVER<20> q_type=32 q_class=1
[2008/10/29 12:42:20, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 192.168.0.20 on subnet 192.168.0.1 for name SERVER<20>
[2008/10/29 12:42:20, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name SERVER<20> source=2
[2008/10/29 12:42:20, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(569)
OK
[2008/10/29 12:42:20, 4] nmbd/nmbd_packets.c:reply_netbios_packet(940)
reply_netbios_packet: sending a reply of packet type: nmb_query SERVER<20> to ip 192.168.0.20 for id 8443
[2008/10/29 12:42:20, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(32786) header: id=8443 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=SERVER<20> rr_type=32 rr_class=1 ttl=259200
answers 0 char ...... hex 0000C0A80001
[2008/10/29 12:42:20, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 62 to (192.168.0.20) on port 32786
[2008/10/29 12:42:20, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:21, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 50 from (192.168.0.19) port 137
[2008/10/29 12:42:21, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.19(137) header: id=39070 opcode=Query(0) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=TV7<1b> q_type=32 q_class=1
[2008/10/29 12:42:21, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 192.168.0.19 on subnet 192.168.0.1 for name TV7<1b>
[2008/10/29 12:42:21, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1b> source=2
[2008/10/29 12:42:21, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(569)
OK
[2008/10/29 12:42:21, 4] nmbd/nmbd_packets.c:reply_netbios_packet(940)
reply_netbios_packet: sending a reply of packet type: nmb_query TV7<1b> to ip 192.168.0.19 for id 39070
[2008/10/29 12:42:21, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.19(137) header: id=39070 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=TV7<1b> rr_type=32 rr_class=1 ttl=259200
answers 0 char ...... hex 0000C0A80001
[2008/10/29 12:42:21, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 62 to (192.168.0.19) on port 137
[2008/10/29 12:42:21, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:21, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 232 from (192.168.0.19) port 138
[2008/10/29 12:42:21, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1b> source=2
[2008/10/29 12:42:21, 4] nmbd/nmbd_packets.c:process_dgram(1276)
process_dgram: datagram from SPUTNIK<00> to TV7<1b> IP 192.168.0.19 for \MAILSLOT\NET\NETLOGON of type 7 len=58
[2008/10/29 12:42:21, 4] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.19: code = 0x7
[2008/10/29 12:42:21, 5] nmbd/nmbd_processlogon.c:process_logon_packet(258)
process_logon_packet: GETDC request from SPUTNIK at IP 192.168.0.19, reporting SERVER domain TV7 0xc ntversion=1000000b lm_nt token=ffff lm_20 token=ffff
[2008/10/29 12:42:21, 4] lib/util.c:dump_data(2222)
[000] 0C 00 53 45 52 56 45 52 00 00 53 00 45 00 52 00 ..SERVER ..S.E.R.
[010] 56 00 45 00 52 00 00 00 54 00 56 00 37 00 00 00 V.E.R... T.V.7...
[020] 01 00 00 00 FF FF FF FF ........
[2008/10/29 12:42:21, 4] nmbd/nmbd_packets.c:send_mailslot(1933)
send_mailslot: Sending to mailslot \MAILSLOT\NET\GETDC042 from SERVER<00> IP 192.168.0.1 to SPUTNIK<00> IP 192.168.0.19
[2008/10/29 12:42:21, 4] nmbd/nmbd_packets.c:debug_browse_data(100)
debug_browse_data():
0 char ..SERVER..S.E.R. hex 0c 00 53 45 52 56 45 52 00 00 53 00 45 00 52 00
10 char V.E.R...T.V.7... hex 56 00 45 00 52 00 00 00 54 00 56 00 37 00 00 00
20 char ........ hex 01 00 00 00 ff ff ff ff
[2008/10/29 12:42:21, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 214 to (192.168.0.19) on port 138
[2008/10/29 12:42:21, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:21, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet 192.168.0.1: netmask= 255.255.255.0:
TV7(1) current master browser = SERVER
SERVER 408c9b2b (Linux Server)
ARCHIVE 40011003 ()
.....
.....
Извиняюсь не тот кусок лога (Машина которая не заходит в домен называется NAS)[2008/10/29 12:42:23, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16604 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=NAS<20> q_type=32 q_class=1
additional: nmb_name=NAS<20> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 0000C0A80014
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name NAS<20> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(133)
find_name_on_subnet: on subnet 192.168.0.1 - name NAS<20> NOT FOUND
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1d> source=2
[2008/10/29 12:42:23, 4] nmbd/nmbd_packets.c:process_dgram(1276)
process_dgram: datagram from NAS<00> to TV7<1d> IP 192.168.0.20 for \MAILSLOT\BROWSE of type 1 len=55
[2008/10/29 12:42:23, 8] lib/util.c:is_myname(2043)
is_myname("NAS") returns 0
[2008/10/29 12:42:23, 4] nmbd/nmbd_packets.c:debug_browse_data(100)
debug_browse_data():
0 char ..`...NAS....... hex 01 00 60 ea 00 00 4e 41 53 00 00 00 00 00 00 00
10 char ..............U. hex 00 00 00 00 00 00 04 09 03 9a 01 00 0f 01 55 aa
20 char fileserv(192.168 hex 66 69 6c 65 73 65 72 76 28 31 39 32 2e 31 36 38
30 char .0.20). hex 2e 30 2e 32 30 29 00
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingdgrams.c:process_host_announce(117)
process_host_announce: from NAS<08> IP 192.168.0.20 to TV7<1d> for server NAS.
[2008/10/29 12:42:23, 5] nmbd/nmbd_incomingdgrams.c:process_host_announce(120)
process_host_announce: ttl=60 server type=00019a03 comment=fileserv(192.168.0.20)
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:23, 8] lib/util.c:is_myname(2043)
is_myname("NAS") returns 0
[2008/10/29 12:42:23, 3] nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(157)
create_server_on_workgroup: Created server entry NAS of type 40019a03 (fileserv(192.168.0.20)) on workgroup TV7.
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:23, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 68 from (192.168.0.20) port 137
[2008/10/29 12:42:23, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16605 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=NAS<03> q_type=32 q_class=1
additional: nmb_name=NAS<03> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 0000C0A80014
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name NAS<03> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(133)
find_name_on_subnet: on subnet 192.168.0.1 - name NAS<03> NOT FOUND
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:23, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 68 from (192.168.0.20) port 137
[2008/10/29 12:42:23, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16606 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=NAS<00> q_type=32 q_class=1
additional: nmb_name=NAS<00> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 0000C0A80014
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name NAS<00> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(133)
find_name_on_subnet: on subnet 192.168.0.1 - name NAS<00> NOT FOUND
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:23, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 68 from (192.168.0.20) port 137
[2008/10/29 12:42:23, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16607 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=TV7<00> q_type=32 q_class=1
additional: nmb_name=TV7<00> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 8000C0A80014
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name TV7<00> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<00> source=2
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:23, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 68 from (192.168.0.20) port 137
[2008/10/29 12:42:23, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16608 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=TV7<1e> q_type=32 q_class=1
additional: nmb_name=TV7<1e> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 8000C0A80014
[2008/10/29 12:42:23, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name TV7<1e> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:23, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1e> source=2
[2008/10/29 12:42:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:24, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 50 from (192.168.0.19) port 137
[2008/10/29 12:42:24, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.19(137) header: id=39073 opcode=Query(0) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=TV7<1c> q_type=32 q_class=1
[2008/10/29 12:42:24, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(454)
process_name_query_request: Name query from 192.168.0.19 on subnet 192.168.0.1 for name TV7<1c>
[2008/10/29 12:42:24, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1c> source=2
[2008/10/29 12:42:24, 3] nmbd/nmbd_incomingrequests.c:process_name_query_request(569)
OK
[2008/10/29 12:42:24, 4] nmbd/nmbd_packets.c:reply_netbios_packet(940)
reply_netbios_packet: sending a reply of packet type: nmb_query TV7<1c> to ip 192.168.0.19 for id 39073
[2008/10/29 12:42:24, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.19(137) header: id=39073 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=TV7<1c> rr_type=32 rr_class=1 ttl=259200
answers 0 char ...... hex 8000C0A80001
[2008/10/29 12:42:24, 5] libsmb/nmblib.c:send_udp(777)
Sending a packet of len 62 to (192.168.0.19) on port 137
[2008/10/29 12:42:24, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
find_workgroup_on_subnet: workgroup search for TV7 on subnet 192.168.0.1: found.
[2008/10/29 12:42:24, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 68 from (192.168.0.20) port 137
[2008/10/29 12:42:24, 5] libsmb/nmblib.c:read_packet(755)
Received a packet of len 235 from (192.168.0.19) port 138
[2008/10/29 12:42:24, 4] libsmb/nmblib.c:debug_nmb_packet(112)
nmb packet from 192.168.0.20(137) header: id=16604 opcode=Registration(5) response=No
header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=1
question: q_name=NAS<20> q_type=32 q_class=1
additional: nmb_name=NAS<20> rr_type=32 rr_class=1 ttl=0
additional 0 char ...... hex 0000C0A80014
[2008/10/29 12:42:24, 3] nmbd/nmbd_incomingrequests.c:process_name_registration_request(220)
process_name_registration_request: Name registration for name NAS<20> IP 192.168.0.20 on subnet 192.168.0.1
[2008/10/29 12:42:24, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(133)
find_name_on_subnet: on subnet 192.168.0.1 - name NAS<20> NOT FOUND
[2008/10/29 12:42:24, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
find_name_on_subnet: on subnet 192.168.0.1 - found name TV7<1c> source=2
[2008/10/29 12:42:24, 4] nmbd/nmbd_packets.c:process_dgram(1276)
process_dgram: datagram from SPUTNIK<00> to TV7<1c> IP 192.168.0.19 for \MAILSLOT\NET\NETLOGON of type 18 len=61
[2008/10/29 12:42:24, 4] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 192.168.0.19: code = 0x12
[2008/10/29 12:42:24, 5] nmbd/nmbd_processlogon.c:process_logon_packet(315)
process_logon_packet: SAMLOGON sidsize 0, len = 61
[2008/10/29 12:42:24, 5] nmbd/nmbd_processlogon.c:process_logon_packet(322)
process_logon_packet: len = 61 PTR_DIFF(q, buf) = 53
[2008/10/29 12:42:24, 3] nmbd/nmbd_processlogon.c:process_logon_packet(347)
process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/10/29 12:42:24, 5] nmbd/nmbd_processlogon.c:process_logon_packet(356)
process_logon_packet: SAMLOGON user