[samba] Samba + DrWeb

Alex Murphy murphy на sgtp.samara.ru
Чт Авг 4 14:12:45 MSD 2005


Привет !!!
  пытаюсь подружить самбу в drweb - не получается, те модуль я выложил 11 для 
samba 3.0.10 - в логе вроде как происходит загрузка - а потом отлуп :(

Не подскажет ли кто, как лечить ???
-------------- если использую скомпиленные модули --------------------
[2005/08/04 14:31:05, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2005/08/04 14:31:05, 3] smbd/vfs.c:vfs_init_custom(229)
  Initialising custom vfs hooks from [smb_spider]
[2005/08/04 14:31:05, 5] lib/module.c:smb_probe_module(101)
  Probing module 'smb_spider'
[2005/08/04 14:31:05, 5] lib/module.c:smb_probe_module(112)
  Probing module 'smb_spider': Trying to load 
from /usr/lib/samba/vfs/smb_spider.so
[2005/08/04 14:31:05, 2] lib/module.c:do_smb_load_module(63)
  Module '/usr/lib/samba/vfs/smb_spider.so' loaded
[2005/08/04 14:31:05, 0] smbd/vfs.c:vfs_init_custom(256)
  Can't find a vfs module [smb_spider]
[2005/08/04 14:31:05, 0] smbd/vfs.c:smbd_vfs_init(319)
  smbd_vfs_init: vfs_init_custom failed for smb_spider
[2005/08/04 14:31:05, 0] smbd/service.c:make_connection_snum(517)
  vfs_init failed for service root$
[2005/08/04 14:31:05, 3] smbd/error.c:error_packet(129)
  error packet at smbd/reply.c(416) cmd=117 (SMBtconX) 
NT_STATUS_BAD_NETWORK_NAME
[2005/08/04 14:31:05, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBtconX.25.resp len 39
[2005/08/04 14:31:05, 5] lib/util.c:show_msg(464)
[2005/08/04 14:31:05, 5] lib/util.c:show_msg(474)
---------------------------------------------------------------------------------------


Если пытаюсь сам скомпилить валиться вот такая ошибочка:
----------------------------------------------------------------------------------
*** Future versions of Libtool will require --mode=MODE be specified.
 gcc -I/root/DrWeb/samba-3.0.14a//source 
-I/root/DrWeb/samba-3.0.14a//source/include 
-I/root/DrWeb/samba-3.0.14a//source/ubiqx 
-I/root/DrWeb/samba-3.0.14a//source/smbwrapper 
-I/root/DrWeb/samba-3.0.14a//source/popt -Isrc -I/usr/local/include 
-I/usr/kerberos/include -D__UNIX_DW -DLinux_DW -D__SIGNAL_BASED_DW -DDW_SAMBA 
-DDW_VERSION=\"3.0.14a\" -Wall -g -fPIC -c drweb_samba.c  -fPIC -DPIC 
-o .libs/drweb_samba.o
In file included from drweb_samba.c:44:
/root/DrWeb/samba-3.0.14a//source/include/includes.h:927:19: proto.h: No such 
file or directory
drweb_samba.c:45:19: proto.h: No such file or directory
drweb_samba.c: In function `dwsmb_notify_message':
drweb_samba.c:814: warning: implicit declaration of function `safe_strcpy_fn'
drweb_samba.c:814: warning: implicit declaration of function 
`get_remote_machine_name'
drweb_samba.c:814: warning: pointer/integer type mismatch in conditional 
expression
drweb_samba.c:824: warning: implicit declaration of function `zero_ip'
drweb_samba.c:830: warning: implicit declaration of function `make_nmb_name'
drweb_samba.c:830: warning: implicit declaration of function `myhostname'
drweb_samba.c:832: warning: implicit declaration of function `cli_initialise'
drweb_samba.c:832: warning: assignment makes pointer from integer without a 
cast
drweb_samba.c:838: warning: implicit declaration of function `cli_set_port'
drweb_samba.c:841: warning: implicit declaration of function `cli_shutdown'
drweb_samba.c:844: warning: implicit declaration of function `cli_connect'
drweb_samba.c:850: warning: implicit declaration of function 
`cli_session_request'
drweb_samba.c:857: warning: format argument is not a pointer (arg 5)
drweb_samba.c:857: warning: format argument is not a pointer (arg 5)
drweb_samba.c:858: warning: implicit declaration of function 
`cli_message_start'
drweb_samba.c:878: warning: implicit declaration of function 
`push_ascii_pstring'
drweb_samba.c:880: warning: implicit declaration of function 
`cli_message_text'
drweb_samba.c:886: warning: implicit declaration of function `cli_message_end'
drweb_samba.c: In function `dwsmb_init_vfs_ops':
drweb_samba.c:1308: warning: implicit declaration of function 
`smb_register_vfs'
drweb_samba.c:1308: error: incompatible types in return
make: *** [drweb_samba.o] Ошибка 1
----------------------------------------------------------------------------------



С Уважением, Алексей.


Подробная информация о списке рассылки Samba