smb.conf
Код: Выделить всё
[global]
workgroup = punct3.net
server string = сервер
security = share
hosts allow = 192.168.3. 127.
create mask = 0777
directory mask = 0777
log file = /var/log/samba/log.%m
max log size = 50
log level = 9
interfaces = 192.168.3.18/24
display charset = koi8-r
unix charset = koi8-r
dos charset = cp866
[ConsultantPlus]
path = /usr/local/etc/samba/ConsultantPlus
public = yes
only guest = yes
writable = yes
printable = no
И все вроде бы казалось замечтательно, машина с фрей в сетевом окружении появилась.С винды (Windows XP sp2) на нее захожу свободно.Но если начинаю на шару копировать файлы, то винда не долго думая показывает сообщение об ошибке
Код: Выделить всё
Не удалось сохранить все данные.Часть данных поряна.Эта ошибка может быть вызвана отказом оборудования компьютера или сетевого подключения.Попытайтесь сохранить файл в другом месте.
Код: Выделить всё
Источник MRxSmb
Категория Отсутствует
Код 50
Описание
{Ошибка отложенной записи} Не удалось сохранить все данные файла \Device\LanmanRedirector. Часть данных потеряна Эта ошибка может быть вызвана отказом оборудования компьютера или сетевого подключения.Попытайтесь сохранить файл в другом месте.
log.smbd
Код: Выделить всё
..................................
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option TCP_NODELAY = 4
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option IPTOS_LOWDELAY = 0
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option IPTOS_THROUGHPUT = 0
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_REUSEPORT = 512
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDBUF = 33580
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVBUF = 65700
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDLOWAT = 2048
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVLOWAT = 1
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDTIMEO = 0
[2007/12/07 19:40:14, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVTIMEO = 0
log.192.168.3.8
Код: Выделить всё
[2007/12/07 19:50:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:50:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:50:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:50:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:50:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:50:00, 3] smbd/service.c:close_cnum(1230)
192.168.3.8 (192.168.3.8) closed connection to service IPC$
[2007/12/07 19:50:00, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2007/12/07 19:50:00, 4] smbd/vfs.c:vfs_ChDir(665)
vfs_ChDir to /
[2007/12/07 19:50:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:50:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:50:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:50:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:50:00, 5] lib/util.c:show_msg(484)
[2007/12/07 19:50:00, 5] lib/util.c:show_msg(494)
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=2
smb_pid=65279
smb_uid=0
smb_mid=28224
smt_wct=0
smb_bcc=0
[2007/12/07 19:51:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:51:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:51:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:51:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:52:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:52:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:52:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:52:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:52:00, 6] param/loadparm.c:lp_file_list_changed(3077)
lp_file_list_changed()
file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf last mod_time: Fri Dec 7 19:15:52 2007
[2007/12/07 19:53:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:53:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:53:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:53:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:53:00, 3] smbd/process.c:check_reload(1309)
Printcap cache time expired.
[2007/12/07 19:53:00, 7] param/loadparm.c:lp_servicenumber(5200)
lp_servicenumber: couldn't find printers
[2007/12/07 19:53:00, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2007/12/07 19:53:00, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2007/12/07 19:53:00, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2007/12/07 19:53:00, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2007/12/07 19:53:00, 7] param/loadparm.c:lp_servicenumber(5200)
lp_servicenumber: couldn't find printers
[2007/12/07 19:53:00, 7] param/loadparm.c:lp_servicenumber(5200)
lp_servicenumber: couldn't find printers
[2007/12/07 19:54:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:54:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:54:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:54:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:55:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:55:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:55:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:55:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:55:00, 6] param/loadparm.c:lp_file_list_changed(3077)
lp_file_list_changed()
file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf last mod_time: Fri Dec 7 19:15:52 2007
[2007/12/07 19:56:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:56:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:56:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:56:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:57:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:57:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:57:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:57:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:58:00, 3] smbd/sec_ctx.c:set_sec_ctx(307)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/12/07 19:58:00, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/12/07 19:58:00, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/12/07 19:58:00, 5] smbd/uid.c:change_to_root_user(288)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/12/07 19:58:00, 6] param/loadparm.c:lp_file_list_changed(3077)
lp_file_list_changed()
file /usr/local/etc/smb.conf -> /usr/local/etc/smb
Знакомы ГУРУ говорит, что я что то накосячил с настройкой самбы.Но помоему там вообще все просто до безобразия.Может у кого есть какие идеи?