в логах куча ошибок. # cat /var/log/messages
Jan 9 13:51:05 centos smbd[16775]: [2011/01/09 13:51:05, 0] lib/util_sock.c:matchname(1749)
Jan 9 13:51:05 centos smbd[16775]: matchname: host name/address mismatch: ::ffff:192.168.0.3 != dc2003.dmn.local
Jan 9 13:51:05 centos smbd[16775]: [2011/01/09 13:51:05, 0] lib/util_sock.c:get_peer_name(1870)
Jan 9 13:51:05 centos smbd[16775]: Matchname failed on dc2003.dmn.local ::ffff:192.168.0.3
Jan 9 13:52:55 centos smbd[16786]: [2011/01/09 13:52:55, 0] lib/util_sock.c:matchname(1749)
Jan 9 13:52:55 centos smbd[16786]: matchname: host name/address mismatch: ::ffff:192.168.0.40 != dc2008.dmn.local
Jan 9 13:52:55 centos smbd[16786]: [2011/01/09 13:52:55, 0] lib/util_sock.c:get_peer_name(1870)
Jan 9 13:52:55 centos smbd[16786]: Matchname failed on dc2008.dmn.local ::ffff:192.168.0.40
Jan 9 13:53:06 centos smbd[16786]: [2011/01/09 13:53:06, 0] lib/util_sock.c:read_socket_with_timeout(939)
Jan 9 13:53:06 centos smbd[16786]: [2011/01/09 13:53:06, 0] lib/util_sock.c:get_peer_addr_internal(1676)
Jan 9 13:53:06 centos smbd[16786]: getpeername failed. Error was Transport endpoint is not connected
Jan 9 13:53:06 centos smbd[16786]: read_socket_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
# cat /etc/nsswitch.conf
group: files winbind
group_compat: nis
hosts: files dns
networks: files
passwd: files winbind
passwd_compat: nis
shells: files
protocols: files
rpc: files
shadow: files winbind
# cat /etc/samba/smb.conf | grep -v '^#' | grep -v '^;' |sed '/^$/d'
[global]
workgroup = DMN
server string = Samba Server Version %v
netbios name = centos
interfaces = lo eth0 192.168.0.6/24 192.168.1.0/24
hosts allow = 127. 192.168.0. 192.168.1.
log file = /var/log/samba/log.%m
max log size = 500
idmap uid = 20000-30000
idmap gid = 20000-30000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
encrypt passwords = yes
template homedir = /home/%D/%U
template shell = /bin/bash
security = ads
passdb backend = tdbsam
realm = DMN.LOCAL
password server = dc2008.dmn.local
local master = no
os level = 0
preferred master = no
load printers = yes
cups options = raw
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
гугл предлагает отключить ipv6, но.. # cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=CentOS0
GATEWAY=192.168.0.200