Ситуация следующая...
при попытке зайти на самбу винда рисует следующее
---------------------------
Party2
---------------------------
Нет доступа к \\Tehas. Возможно, у вас нет прав на использование этого сетевого ресурса. Обратитесь к администратору этого сервера для получения соответствующих прав доступа.Номер процедуры выходит за допустимые границы.
---------------------------
ОК
---------------------------
Хотя вчера все нормально работало....
Конфиг самбы
[global]
dos charset = UTF-8
unix charset = UTF-8
display charset = UTF-8
workgroup = PARTY2
realm = PARTY2.AVEC
server string = Samba
interfaces = em0
security = ADS
auth methods = winbind
null passwords = Yes
password server = saturn.party2.avec
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = hosts wins bcast lmhosts
client signing = Yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
smb ports = 139
os level = 0
local master = No
domain master = No
dns proxy = No
wins server = 192.168.9.125
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
hosts allow = 192.168.9., 127.0.0.1
case sensitive = No
[main_bsd_share]
comment = примечание к шаре
path = /usr/local/smb_fs
# добавлены следующие две строки:
vfs object = vscan-clamav
vscan-clamav: config-file = /usr/local/etc/samba-vscan/vscan-clamav.conf
read only = No
guest ok = Yes
[Install]
path = /ftp/install
invalid users = @Ftp_deny
admin users = @Ftp_admins
write list = @Ftp_admins
read only = No
hosts allow = 192.168.9., 127.0.0.1, 192.168.1., 192.168.2., 192.168.3.
лог по ип
[zeone@tehas samba ]# cat log.192.168.9.55
[2011/01/19 13:04:38.377971, 2] lib/access.c:406(check_access)
Allowed connection from pc005.party2.avec (192.168.9.55)
[2011/01/19 13:04:38.378748, 2] smbd/reply.c:554(reply_special)
netbios connect: name1=TEHAS 0x20 name2=PC005 0x0
[2011/01/19 13:04:38.378877, 2] smbd/reply.c:565(reply_special)
netbios connect: local=tehas remote=pc005, name type = 0
[2011/01/19 13:15:42.047312, 2] lib/access.c:406(check_access)
Allowed connection from pc005.party2.avec (192.168.9.55)
[2011/01/19 13:15:42.108436, 2] smbd/reply.c:554(reply_special)
netbios connect: name1=TEHAS 0x20 name2=PC005 0x0
[2011/01/19 13:15:42.109262, 2] smbd/reply.c:565(reply_special)
netbios connect: local=tehas remote=pc005, name type = 0
проверка юзверя
[zeone@tehas samba ]# cat log.pc005
[2011/01/19 13:04:38.388254, 2] smbd/sesssetup.c:1391(setup_new_vc_session)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2011/01/19 13:04:38.398450, 2] lib/access.c:406(check_access)
Allowed connection from 192.168.9.55 (192.168.9.55)
[2011/01/19 13:04:38.407561, 1] ../librpc/ndr/ndr.c:421(ndr_push_error)
ndr_push_error(5): Bad character conversion
[2011/01/19 13:04:38.407628, 0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
api_rpcTNP: \srvsvc: SRVSVC_NETSHAREENUMALL failed.
лог самбы
[zeone@tehas samba ]# cat log.smbd
[2011/01/19 13:14:42, 0] smbd/server.c:1119(main)
smbd version 3.5.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/01/19 13:14:42.826137, 2] lib/tallocmsg.c:106(register_msg_pool_usage)
Registered MSG_REQ_POOL_USAGE
[2011/01/19 13:14:42.826265, 2] lib/dmallocmsg.c:77(register_dmalloc_msgs)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
max_open_files: sysctl_max (7207) below minimum Windows limit (16384)
rlimit_max: rlimit_max (7207) below minimum Windows limit (16384)
[2011/01/19 13:14:42.827374, 2] param/loadparm.c:7859(do_section)
Processing section "[main_bsd_share]"
[2011/01/19 13:14:42.827590, 2] param/loadparm.c:7859(do_section)
Processing section "[Install]"
[2011/01/19 13:14:42.827711, 2] param/loadparm.c:7859(do_section)
Processing section "[Upload]"
[2011/01/19 13:14:42.875853, 2] lib/interface.c:340(add_interface)
added interface em0 ip=192.168.9.248 bcast=192.168.9.255 netmask=255.255.255.0
[2011/01/19 13:14:42.896521, 1] smbd/files.c:193(file_init)
file_init: Information only: requested 16384 open files, 7187 are available.
[2011/01/19 13:14:44.036138, 2] smbd/server.c:721(smbd_parent_loop)
waiting for connections
в гугле ничего толком не нашол максимум что нарыл, это то что имя шары больше 12 символов, хотя это не так
Версия самбы:
SHA256 (samba-3.5.6.tar.gz) = 466410868375d19a286ac3fc5d9f3c267ce359189f8e0d76e72ec10bd54247da
SIZE (samba-3.5.6.tar.gz) = 30803319
Версия фряхи
[zeone@tehas samba ]# uname -a
FreeBSD tehas.party2.avec 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
з.ы. Посоветуйте как к ней прикрутить антивирус samba-vscan/ подходит только для версии 3.0... но сама самба только с версии 3.2... начинает нормально работать с АД