Samba 3.0

Andrzej Zawadzki zawadaa w wp.pl
Czw, 25 Wrz 2003, 16:39:39 CEST


Witam!

1. Nie budują się vscany - prawdopodobnie przez to, że nie kompiluje się 
  vscan-clamav - orginalna paczka ze źródeł jest OK.
Niestety i tak nie działa z takim komunikatem ( w momencie gdy chcę 
otworzyć zasób "pod ochroną"):

2003/09/25 16:24:25, 3] smbd/service.c:make_connection_snum(536)
   Connect path is '/tmp/tmp' for service [vsca]
[2003/09/25 16:24:25, 4] rpc_server/srv_srvsvc_nt.c:get_share_security(217)
   get_share_security: using default secdesc for vsca
[2003/09/25 16:24:25, 10] lib/util_seaccess.c:se_map_generic(192)
   se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2003/09/25 16:24:25, 10] lib/util_seaccess.c:se_access_check(250)
   se_access_check: requested access 0x00000002, for NT token with 5 
entries and first sid S-1-5-21-3968575222-3366934837-2531978602-2004.
[2003/09/25 16:24:25, 3] lib/util_seaccess.c:se_access_check(267)
[2003/09/25 16:24:25, 3] lib/util_seaccess.c:se_access_check(268)
   se_access_check: user sid is 
S-1-5-21-3968575222-3366934837-2531978602-2004
   se_access_check: also S-1-5-21-3968575222-3366934837-2531978602-3001
   se_access_check: also S-1-1-0
   se_access_check: also S-1-5-2
   se_access_check: also S-1-5-11
   se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask = 
101f01ff, current desired = 2
[2003/09/25 16:24:25, 5] lib/util_seaccess.c:se_access_check(325)
   se_access_check: access (2) granted.
[2003/09/25 16:24:25, 3] smbd/vfs.c:vfs_init_default(201)
   Initialising default vfs hooks
[2003/09/25 16:24:25, 3] smbd/vfs.c:vfs_init_custom(227)
   Initialising custom vfs hooks from [vscan-clamav.so]
[2003/09/25 16:24:25, 5] lib/module.c:smb_probe_module(102)
   Probing module 'vscan-clamav.so'
[2003/09/25 16:24:25, 5] lib/module.c:smb_probe_module(113)
   Probing module 'vscan-clamav.so': Trying to load from 
/usr/lib/samba/vfs/vscan-clamav.so.so
[2003/09/25 16:24:25, 0] smbd/vfs.c:smb_register_vfs(182)
   VFS module vscan-clamav already loaded!
[2003/09/25 16:24:25, 5] clamav/vscan-clamav.c:init_module(509)
   samba-vscan (vscan-clamav 0.3.4) registered (Samba 3.0), (c) by 
Rainer Link, OpenAntiVirus.org
[2003/09/25 16:24:25, 2] lib/module.c:do_smb_load_module(64)
   Module '/usr/lib/samba/vfs/vscan-clamav.so.so' loaded
[2003/09/25 16:24:25, 0] smbd/vfs.c:vfs_init_custom(254)
2003/09/25 16:24:25, 3] smbd/service.c:make_connection_snum(536)
   Connect path is '/tmp/tmp' for service [vsca]
[2003/09/25 16:24:25, 4] rpc_server/srv_srvsvc_nt.c:get_share_security(217)
   get_share_security: using default secdesc for vsca
[2003/09/25 16:24:25, 10] lib/util_seaccess.c:se_map_generic(192)
   se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2003/09/25 16:24:25, 10] lib/util_seaccess.c:se_access_check(250)
   se_access_check: requested access 0x00000002, for NT token with 5 
entries and first sid S-1-5-21-3968575222-3366934837-2531978602-2004.
[2003/09/25 16:24:25, 3] lib/util_seaccess.c:se_access_check(267)
[2003/09/25 16:24:25, 3] lib/util_seaccess.c:se_access_check(268)
   se_access_check: user sid is 
S-1-5-21-3968575222-3366934837-2531978602-2004
   se_access_check: also S-1-5-21-3968575222-3366934837-2531978602-3001
   se_access_check: also S-1-1-0
   se_access_check: also S-1-5-2
   se_access_check: also S-1-5-11
   se_access_check: ACE 0: type 0, flags = 0x00, SID = S-1-1-0 mask = 
101f01ff, current desired = 2
[2003/09/25 16:24:25, 5] lib/util_seaccess.c:se_access_check(325)
   se_access_check: access (2) granted.
[2003/09/25 16:24:25, 3] smbd/vfs.c:vfs_init_default(201)
   Initialising default vfs hooks
[2003/09/25 16:24:25, 3] smbd/vfs.c:vfs_init_custom(227)
   Initialising custom vfs hooks from [vscan-clamav.so]
[2003/09/25 16:24:25, 5] lib/module.c:smb_probe_module(102)
   Probing module 'vscan-clamav.so'
[2003/09/25 16:24:25, 5] lib/module.c:smb_probe_module(113)
   Probing module 'vscan-clamav.so': Trying to load from 
/usr/lib/samba/vfs/vscan-clamav.so.so
[2003/09/25 16:24:25, 0] smbd/vfs.c:smb_register_vfs(182)
   VFS module vscan-clamav already loaded!
[2003/09/25 16:24:25, 5] clamav/vscan-clamav.c:init_module(509)
   samba-vscan (vscan-clamav 0.3.4) registered (Samba 3.0), (c) by 
Rainer Link, OpenAntiVirus.org
[2003/09/25 16:24:25, 2] lib/module.c:do_smb_load_module(64)
   Module '/usr/lib/samba/vfs/vscan-clamav.so.so' loaded
[2003/09/25 16:24:25, 0] smbd/vfs.c:vfs_init_custom(254)
  Can't find a vfs module [vscan-clamav.so]
[2003/09/25 16:24:25, 0] smbd/vfs.c:smbd_vfs_init(317)
   smbd_vfs_init: vfs_init_custom failed for vscan-clamav.so
[2003/09/25 16:24:25, 0] smbd/service.c:make_connection_snum(581)
   vfs_init failed for service vsca
[2003/09/25 16:24:25, 3] smbd/error.c:error_packet(129)
   error packet at smbd/reply.c(274) cmd=117 (SMBtconX) eclass=1 ecode=67
[2003/09/25 16:24:25, 5] lib/util.c:show_msg(456)
[2003/09/25 16:24:25, 5] lib/util.c:show_msg(466)
   size=35

I nie wiem o co mu biega...

2. Przy pakietowaniu zostaje kilka plików:

Szukanie niespakietowanych plików: /usr/lib/rpm/check-files 
/home/users/zawada/tmp/samba-3.0.0-root-zawada
ostrzeżenie: Znaleziono zainstalowane (ale niespakietowane) pliki:
    /usr/lib/libsmbclient.a
    /usr/lib/libsmbclient.so
    /usr/lib/samba/charset/CP437.so
    /usr/lib/samba/charset/CP850.so
    /usr/lib/samba/vfs/cap.so
    /usr/share/man/man1/log2pcap.1.gz
    /usr/share/man/man8/mount.cifs.8.gz

3. Co z obsługą stron kodowych w sambie-3? Czy wszystko po UTF-ie 
chodzi? Bo sypie mi logami o braku możliwości konwersji...

-- 
Andrzej Zawadzki




Więcej informacji o liście dyskusyjnej pld-devel-pl