Samba ошибка сегментирования


0

2

Здравствуйте. Прошу помощи в решении проблемы. Стоит такая задача: нужно чтобы вход на локальный компьютер осуществлялся через учётные записи пользователей домена, сервер samba(версия 3.6.6). Для данной задачи на локальном компьютере (использую Debian 9 amd64) использовал исходники samba v3.6.6; v3.6.7; v4.0.1. К домену присоединяюсь, id пользователя выдаёт, а вот wbinfo пишет «Ошибка сегментирования». Если пытаюсь в окне входа в систему ввести логин и пароль пользователя домена, то ничего не происходит. В логах winbind по этому поводу ничего нет, при этом ядро ругается на туже ошибку сегментирования, но уже для модуля pam_winbind.so.

При этом компьютеры под Debian 8 (i386) к серверу подключаются и прекрасно работают.

Как заставить wbinfo выдавать нужную мне информацию. И почему не отрабатывает модуль pam_winbind.so??

# wbinfo -u
Ошибка сегментирования

#wbinfo -g
Ошибка сегментирования

#/var/log/auth.log
Feb  5 13:22:34 l116-13 lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Feb  5 13:22:34 l116-13 systemd-logind[511]: New session c1 of user lightdm.
Feb  5 13:22:34 l116-13 systemd: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
Feb  5 13:22:47 l116-13 lightdm: pam_winbind(lightdm:auth): getting password (0x00000200)
Feb  5 13:22:49 l116-13 lightdm: pam_winbind(lightdm:auth): getting password (0x00000200)
Feb  5 13:22:53 l116-13 lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm

#/var/log/messages
kernel: [ 4629.067368] wbinfo[1486]: segfault at 12 ip 00005602b78b0d28 sp 00007ffcae66bd10 error 6 in wbinfo[5602b7774000+214000]

kernel: [   27.774809] lightdm[660]: segfault at d ip 00007fa2dcdb51a2 sp 00007ffcf4abad80 error 6 in pam_winbind.so[7fa2dcdab000+16000]


Description


Vera Blagoveschenskaya



2022-03-21 17:04:57 MSK

samba-client-4.14.12-alt2.x86_64

Стенд: p10 server x86_64

1) Выполнить команду
smbpasswd -a user_samba
2) Ввести пароль 2 раза

Результат: Ошибка сегментирования


Comment 1


Andrey Cherepanov



2022-03-21 17:51:43 MSK

Создайте такого пользователя и запустите с gdb smbpasswd -a user_samba, пожалуйста.

У меня не воспроизводится:
cas ~ # smbpasswd -a cas
New SMB password:
Retype new SMB password:
cas ~ #


Comment 2


Evgeny Sinelnikov



2022-03-22 03:25:07 MSK

Выполняется ли предусловие?
Локальный пользователь, для которого задаётся samba-пароль, должен быть уже создан.

Если утилита "падает" только в том случае когда пользователя не существует, это неприятно, то не критично. Непонятно ещё почему раньше на это не обращали внимание. Или это недавняя регрессия?


Comment 3


Vera Blagoveschenskaya



2022-03-22 11:58:54 MSK

(Ответ для Evgeny Sinelnikov на комментарий #2)
> Выполняется ли предусловие?
> Локальный пользователь, для которого задаётся samba-пароль, должен быть уже
> создан.
> 
> Если утилита "падает" только в том случае когда пользователя не существует,
> это неприятно, то не критично. Непонятно ещё почему раньше на это не
> обращали внимание. Или это недавняя регрессия?

# useradd user_samba
# smbpasswd -a user_samba
New SMB password:
Retype new SMB password:
Ошибка сегментирования

Отмечу, что тест выполнялся на p10 server x86_64 (сервер выступает в роли контроллера домена)
Проверила для p10 workstation x86_64 - ошибки нет.

gdb-лог в аттаче


Comment 5


Andrey Cherepanov



2022-03-23 12:39:33 MSK

Подтверждаю сегфолт на samba-dc из Sisyphus:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff34bb104 in der_free_general_string (str=0x555a0dcb6758) at ../../source4/heimdal/lib/asn1/der_free.c:43
43          free(*str);
(gdb) bt
#0  0x00007ffff34bb104 in der_free_general_string (str=0x555a0dcb6758)
    at ../../source4/heimdal/lib/asn1/der_free.c:43
#1  0x00007ffff34e8470 in free_PrincipalName (data=data@entry=0x5555558576e0)
    at source4/heimdal/lib/asn1/asn1_krb5_asn1.c:962
#2  0x00007ffff34e88c9 in free_Principal (data=0x5555558576e0) at source4/heimdal/lib/asn1/asn1_krb5_asn1.c:1123
#3  0x00007ffff35c2741 in krb5_free_principal (context=<optimized out>, p=0x5555558576e0)
    at ../../source4/heimdal/lib/krb5/principal.c:84
#4  krb5_free_principal (context=<optimized out>, p=0x5555558576e0) at ../../source4/heimdal/lib/krb5/principal.c:80
#5  0x00007ffff3329230 in setup_kerberos_keys (io=0x7fffffffd870)
    at ../../source4/dsdb/samdb/ldb_modules/password_hash.c:734
#6  setup_password_fields (io=0x7fffffffd870) at ../../source4/dsdb/samdb/ldb_modules/password_hash.c:2566
#7  0x00007ffff332bd50 in password_hash_mod_do_mod (ac=ac@entry=0x555556270580)
    at ../../source4/dsdb/samdb/ldb_modules/password_hash.c:4851
#8  0x00007ffff332c568 in get_domain_data_callback (req=<optimized out>, ares=<optimized out>)
    at ../../source4/dsdb/samdb/ldb_modules/password_hash.c:4240
#9  0x00007ffff368027f in ldb_kv_callback (ev=<optimized out>, te=<optimized out>, t=..., 
    private_data=<optimized out>) at ../../ldb_key_value/ldb_kv.c:1995
#10 0x00007ffff6e1d8f9 in tevent_common_invoke_timer_handler (te=te@entry=0x555555969800, current_time=..., 
    removed=removed@entry=0x0) at ../../tevent_timed.c:370
#11 0x00007ffff6e1da9c in tevent_common_loop_timer_delay (ev=ev@entry=0x5555555bab00) at ../../tevent_timed.c:442
#12 0x00007ffff6e1e288 in epoll_event_loop_once (ev=0x5555555bab00, location=<optimized out>)
    at ../../tevent_epoll.c:922
#13 0x00007ffff6e16f47 in std_event_loop_once (ev=0x5555555bab00, location=0x7ffff6640b3d "../../common/ldb.c:653")
    at ../../tevent_standard.c:110
#14 0x00007ffff6e1a3d4 in _tevent_loop_once (ev=ev@entry=0x5555555bab00, 
    location=location@entry=0x7ffff6640b3d "../../common/ldb.c:653") at ../../tevent.c:772
#15 0x00007ffff6639c8b in ldb_wait (handle=0x55555591b870, type=<optimized out>) at ../../common/ldb.c:653
#16 0x00007ffff6683d43 in dsdb_autotransaction_request () from /usr/lib64/samba/libsamdb-common-samba4.so
#17 0x00007ffff6686ec7 in dsdb_modify () from /usr/lib64/samba/libsamdb-common-samba4.so
#18 0x00007ffff7d2053c in ?? () from /usr/lib64/libsamba-passdb.so.0
#19 0x00007ffff7d210a8 in ?? () from /usr/lib64/libsamba-passdb.so.0
#20 0x00007ffff7d09353 in local_password_change () from /usr/lib64/libsamba-passdb.so.0
#21 0x0000555555559679 in ?? ()
#22 0x0000555555557fe7 in main ()

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

JD50



Sep 4, 2005


11,483


1,632


126


  • #1

I’m trying to configure samba for the first time and I’m running into this error when I use the «smbtree» command. I’m running CentOS5 on VMware workstation 6 and I’m trying to connect to my host OS, vista home premium. When I go into the «network» window in vista I can see my linux box, and I can even get to the linux share that I created. My problem is getting to my windows box from the linux box. Can anyone help me out here?

  • #2

Does your Windows machine login have a username/password on the Linux VM? I don’t remember that error but I know when I configure Samba I add the username I want to allow to the Linux box then from the command line do an ‘smbpasswd -a username‘ and give the password I used for the user I added

**Note/Warning: I’m not sure this is the correct way but it works for me. ;)

  • #3

Originally posted by: Robor
Does your Windows machine login have a username/password on the Linux VM? I don’t remember that error but I know when I configure Samba I add the username I want to allow to the Linux box then from the command line do an ‘smbpasswd -a username‘ and give the password I used for the user I added

**Note/Warning: I’m not sure this is the correct way but it works for me. ;)

his problem is with browsing the windows share via the smbtree command from linux
not browsing the linux share from windows

i also have CentOS 5 in a vmware virtual machine

when i run smbtree i get no errors (and i do get the expected output from my LAN), are you using any switches on it or is it simply not working *at all*?

JD50



Sep 4, 2005


11,483


1,632


126


  • #4

Nope, no switches and its not working at all. I can’t even get in through the GUI in Gnome. When I click on the «Windows network» icon it says «The folder contents could not be displayed». And yes I have set the correct username and password in the smbusers and smbpasswd files.

I’m guessing this has something to do with the installation of Samba, or some settings that I need to change. When I use other vmware images that I downloaded from the virtual appliance store all of my shares work fine, windows to linux and linux to windows. I just wanted to configure everything myself with a brand new CentOS ISO, and a new vmware image.

Its probably just a total noob mistake. This is the first time I’ve attempted to join a linux box to a windows workgroup or access shares. I can’t ping the windows box from the linux box by hostname, only by IP, if that helps at all. Like I said, the preconfigured vmware images work fine, its just this one that I’m trying to do by myself. I’m also trying to stay away from the GUI, I’d like to do it all from the terminal.

  • #5

the image im using had smbtree installed already; im not using a gui so i cant see if anything else works or not as far as thats concerned.

have you tried reinstalling the samba packages?

redhat just released an update to 5.0 so perhaps cent will have everything soon and that will help *shrug*?

  • #6

I’m sorry I don’t have an answer for this problem, but thanks to the OP for giving me a new (previously unknown) command!

THANKS!

Joe

JD50



Sep 4, 2005


11,483


1,632


126


  • #7

Originally posted by: xSauronx
the image im using had smbtree installed already; im not using a gui so i cant see if anything else works or not as far as thats concerned.

have you tried reinstalling the samba packages?

redhat just released an update to 5.0 so perhaps cent will have everything soon and that will help *shrug*?

I havent tried reinstalling it, but I think I am going to. I started with a fresh Fedora core 5 image, went into add/remove software in the GUI, then added the windows file sharing box, which installed Samba. Everything works fine. But, like I said, I’m trying to do this without using the GUI.

So, I’m guessing that I just botched the Samba install when I tried to do it through the command line on my CentOS image. I’ll have to find a good tutorial on installing Samba through the command line. I’ll also have to figure out how to uninstall it through the command line. Thanks for all your help everyone.

  • #8

Originally posted by: JD50

Originally posted by: xSauronx
the image im using had smbtree installed already; im not using a gui so i cant see if anything else works or not as far as thats concerned.

have you tried reinstalling the samba packages?

redhat just released an update to 5.0 so perhaps cent will have everything soon and that will help *shrug*?

I havent tried reinstalling it, but I think I am going to. I started with a fresh Fedora core 5 image, went into add/remove software in the GUI, then added the windows file sharing box, which installed Samba. Everything works fine. But, like I said, I’m trying to do this without using the GUI.

So, I’m guessing that I just botched the Samba install when I tried to do it through the command line on my CentOS image. I’ll have to find a good tutorial on installing Samba through the command line. I’ll also have to figure out how to uninstall it through the command line. Thanks for all your help everyone.

on centos 5 you should do this to remove:

yum remove samba samba-common samba-client

then

yum -y install samba samba-common samba-client

the -y switch assumes «yes» to anything that may be asked during this time.

that *should* be all you need to do just to remove and install it.

really if smbtree is the only thing with a problem, its part of the samba package and you can just start with that and see if it works once its installed again.

JD50



Sep 4, 2005


11,483


1,632


126


  • #9

Originally posted by: xSauronx

Originally posted by: JD50

Originally posted by: xSauronx
the image im using had smbtree installed already; im not using a gui so i cant see if anything else works or not as far as thats concerned.

have you tried reinstalling the samba packages?

redhat just released an update to 5.0 so perhaps cent will have everything soon and that will help *shrug*?

I havent tried reinstalling it, but I think I am going to. I started with a fresh Fedora core 5 image, went into add/remove software in the GUI, then added the windows file sharing box, which installed Samba. Everything works fine. But, like I said, I’m trying to do this without using the GUI.

So, I’m guessing that I just botched the Samba install when I tried to do it through the command line on my CentOS image. I’ll have to find a good tutorial on installing Samba through the command line. I’ll also have to figure out how to uninstall it through the command line. Thanks for all your help everyone.

on centos 5 you should do this to remove:

yum remove samba samba-common samba-client

then

yum -y install samba samba-common samba-client

the -y switch assumes «yes» to anything that may be asked during this time.

that *should* be all you need to do just to remove and install it.

really if smbtree is the only thing with a problem, its part of the samba package and you can just start with that and see if it works once its installed again.

Thanks for your help! I did the above, and now I can mount linux shares just fine. I have two CentOS images running in VMware, and I have no problem mounting the shares. However, I still cannot mount a windows share. It must have something to do with my windows configuration. Its Vista home premium 64 bit, if that makes any difference.

edit — and I still get the «segmentation fault» error when I use the «smbtree» command, but the shares work so I’m not too worried about it.

JD50



Sep 4, 2005


11,483


1,632


126


  • #10

Ok, I have all of my shares working, windows and linux. I still get the segmentation fault error but I guess its no big deal since everything works. Although, if anyone knows what it is please post, I’m still curious as to why its doing that. Thanks everyone for your help.

Similar threads

  • Advertising
  • Cookies Policies
  • Privacy
  • Term & Conditions

  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.

Debian Bug report logs —
#688059
samba: files not deleted, smbstatus segfaults

version graph

Toggle useless messages


Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Tue, 18 Sep 2012 19:21:04 GMT) (full text, mbox, link).


Acknowledgement sent
to "Mc.Sim" <mc-sim85@mail.ru>:
New Bug report received and forwarded. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Tue, 18 Sep 2012 19:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

Package: samba
Version: 2:3.6.6-3
Severity: important

Dear Maintainer,

I sorted the files in a samba network share using Total Commander 8.01 x64 (2012-08-03) for Windows 7 HP.
Some of the files are moved, copied some files on the same network share, some files copied to another network resource on the same server. Some files are deleted.
After deleting some files - files are displayed in the list and can not be removed through TC.
As well, the command smbstatus end output error is displayed. After restarting the service - the error disappeared.

output of smbstatus:
=========================================================
MEDIA ~ # smbstatus

Samba version 3.6.6
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------
Видео   15650   father        Tue Sep 18 22:24:18 2012
Хлам     15650   father        Tue Sep 18 21:59:37 2012

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
15650        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   .   Tue Sep 18 21:59:37 2012
15650        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   .   Tue Sep 18 22:42:13 2012
15650        65534      DENY_NONE  0x12019f    RDWR       BATCH            /disk1/video   Документальное/Полиглот. Английский за 16 часов - Nokia/_FFTemp_1C58_.aac   Tue Sep 18 22:53:30 2012
15650        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk1/video   .   Tue Sep 18 22:24:18 2012
Ошибка сегментирования
MEDIA ~ # service samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.
MEDIA ~ # smbstatus

Samba version 3.6.6
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------

No locked files

MEDIA ~ # smbstatus

Samba version 3.6.6
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------

No locked files

MEDIA ~ # smbstatus

Samba version 3.6.6
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------
Хлам     16201   father        Tue Sep 18 23:06:08 2012

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
16201        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   .   Tue Sep 18 23:06:08 2012
16201        65534      DENY_NONE  0x120089    RDONLY     BATCH            /disk15/hlam   5/DCIM/147_1310/IMG_1316.JPG   Tue Sep 18 23:06:44 2012
16201        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   5/DCIM/147_1310   Tue Sep 18 23:06:42 2012
16201        65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   5/DCIM/147_1310   Tue Sep 18 23:06:46 2012

MEDIA ~ #
===============================================================
This problem has been a few times.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  libacl1                2.2.51-8
ii  libattr1               1:2.4.46-8
ii  libc6                  2.13-35
ii  libcap2                1:2.22-1
ii  libcomerr2             1.42.5-1
ii  libcups2               1.5.3-1
ii  libgssapi-krb5-2       1.10.1+dfsg-2
ii  libk5crypto3           1.10.1+dfsg-2
ii  libkrb5-3              1.10.1+dfsg-2
ii  libldap-2.4-2          2.4.31-1
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.6-3
ii  lsb-base               4.1+Debian7
ii  procps                 1:3.3.3-2
ii  samba-common           2:3.6.6-3
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.1-4
ii  tdb-tools  1.2.10-2

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
pn  openbsd-inetd | inet-superserver  <none>
pn  smbldap-tools                     <none>

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true
  samba-common/title:



Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sat, 22 Sep 2012 17:36:03 GMT) (full text, mbox, link).


Acknowledgement sent
to Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sat, 22 Sep 2012 17:36:03 GMT) (full text, mbox, link).


Message #10 received at 688059@bugs.debian.org (full text, mbox, reply):

tags 688059 + patch
retitle 688059 samba: files not deleted, smbstatus segfaults
thanks

Hi,

I also experience this bug using 3.6.6. Not only makes it smbstatus 
segfault, it also makes deleting files impossible. It seems to be upstream 
bug 9058 (https://bugzilla.samba.org/show_bug.cgi?id=9058).

Judging from the upstream bug report this has been a regression since 3.6.5, 
which affects servers with max protocol = SMB2, and is mostly triggered by 
Microsoft Office.

I can confirm that this bug is fixed with version 3.6.8 from experimental. 
Please fix this bug in wheezy.



Added tag(s) patch.
Request was from Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
to control@bugs.debian.org.
(Sat, 22 Sep 2012 17:36:05 GMT) (full text, mbox, link).


Changed Bug title to ‘samba: files not deleted, smbstatus segfaults’ from ‘samba: smbstatus show message «Ошибка сегментирования»‘
Request was from Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
to control@bugs.debian.org.
(Sat, 22 Sep 2012 17:36:05 GMT) (full text, mbox, link).


Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sun, 30 Sep 2012 12:21:05 GMT) (full text, mbox, link).


Acknowledgement sent
to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sun, 30 Sep 2012 12:21:05 GMT) (full text, mbox, link).


Message #19 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
Quoting Oxan van Leeuwen (oxan@oxanvanleeuwen.nl):
> tags 688059 + patch
> retitle 688059 samba: files not deleted, smbstatus segfaults
> thanks
> 
> Hi,
> 
> I also experience this bug using 3.6.6. Not only makes it smbstatus
> segfault, it also makes deleting files impossible. It seems to be
> upstream bug 9058 (https://bugzilla.samba.org/show_bug.cgi?id=9058).

My only problem is that upstream bug #9058 seems to have two different
fixes:

https://attachments.samba.org/attachment.cgi?id=7809
https://attachments.samba.org/attachment.cgi?id=7817

Both are unrelated and I suspect both are needed. Nut I'm having hard
times just describing them.


[signature.asc (application/pgp-signature, inline)]

Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Mon, 01 Oct 2012 16:51:03 GMT) (full text, mbox, link).


Acknowledgement sent
to Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Mon, 01 Oct 2012 16:51:03 GMT) (full text, mbox, link).


Message #24 received at 688059@bugs.debian.org (full text, mbox, reply):

On 30-09-12 14:16, Christian PERRIER wrote:
> My only problem is that upstream bug #9058 seems to have two different
> fixes:
>
> https://attachments.samba.org/attachment.cgi?id=7809
> https://attachments.samba.org/attachment.cgi?id=7817
>
> Both are unrelated and I suspect both are needed. Nut I'm having hard
> times just describing them.

I think it are actually two related bugs, instead of one. The second patch 
seems to fix the inability to delete files, and the first patch fixes the 
smbstatus segfault caused by that. If it would help to get this into wheezy, 
I can create and test a samba 3.6.6-3 package with these two patches applied?



Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Tue, 02 Oct 2012 06:09:05 GMT) (full text, mbox, link).


Acknowledgement sent
to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Tue, 02 Oct 2012 06:09:05 GMT) (full text, mbox, link).


Message #29 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
Quoting Oxan van Leeuwen (oxan@oxanvanleeuwen.nl):
> On 30-09-12 14:16, Christian PERRIER wrote:
> >My only problem is that upstream bug #9058 seems to have two different
> >fixes:
> >
> >https://attachments.samba.org/attachment.cgi?id=7809
> >https://attachments.samba.org/attachment.cgi?id=7817
> >
> >Both are unrelated and I suspect both are needed. Nut I'm having hard
> >times just describing them.
> 
> I think it are actually two related bugs, instead of one. The second
> patch seems to fix the inability to delete files, and the first
> patch fixes the smbstatus segfault caused by that. If it would help
> to get this into wheezy, I can create and test a samba 3.6.6-3
> package with these two patches applied?

If you have a testcase, I would really appreciate your help, yes. I
have timetoworkon preparing a new package, but much less for testing
andreviewing  the  possible patches.

-- 



[signature.asc (application/pgp-signature, inline)]

Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sat, 06 Oct 2012 15:33:06 GMT) (full text, mbox, link).


Acknowledgement sent
to Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sat, 06 Oct 2012 15:33:06 GMT) (full text, mbox, link).


Message #34 received at 688059@bugs.debian.org (full text, mbox, reply):

On 02-10-12 06:50, Christian PERRIER wrote:
> Quoting Oxan van Leeuwen (oxan@oxanvanleeuwen.nl):
>> On 30-09-12 14:16, Christian PERRIER wrote:
>> I think it are actually two related bugs, instead of one. The second
>> patch seems to fix the inability to delete files, and the first
>> patch fixes the smbstatus segfault caused by that. If it would help
>> to get this into wheezy, I can create and test a samba 3.6.6-3
>> package with these two patches applied?
>
> If you have a testcase, I would really appreciate your help, yes. I
> have timetoworkon preparing a new package, but much less for testing
> andreviewing  the  possible patches.
>

I've been running a modified 3.6.6-3 with the two patches applied for a few 
days now, and it looks like it solves the problem. Files can be deleted 
without problems and I don't get any smbstatus segfaults.



Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sun, 07 Oct 2012 12:51:06 GMT) (full text, mbox, link).


Acknowledgement sent
to "Mc.Sim" <mc-sim85@mail.ru>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sun, 07 Oct 2012 12:51:06 GMT) (full text, mbox, link).


Message #39 received at 688059@bugs.debian.org (full text, mbox, reply):

Package: samba
Version: 2:3.6.6-3
Followup-For: Bug #688059

Dear Maintainer,
some information about this bug:
My config samba:
MEDIA ~ # testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[rTorrent]"
Processing section "[Хлам$]"
Processing section "[Видео]"
Processing section "[Аудио]"
Processing section "[Учебные материалы]"
Processing section "[Soft]"
Processing section "[Образы]"
Processing section "[Любимкина]"
Processing section "[pron$]"
Processing section "[foto$]"
Processing section "[Картинки]"
Processing section "[Журналы]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
[global]
        server string = Медиа помойка
        interfaces = eth0, wlan0, lo
        bind interfaces only = Yes
        map to guest = Bad User
        log file = /var/log/samba/log.%m
        smb ports = 139
        max protocol = SMB2
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        printcap name = /dev/null
        disable spoolss = Yes
        show add printer wizard = No
        os level = 165
        preferred master = Yes
        wins support = Yes
        remote announce = 192.168.1.255
        recycle:touch = yes
        recycle:maxsize = 104805760
        recycle:exclude = ?~$*,~$*,*.tmp,index*.pl,index*.htm*,*.temp,*.TMP
        recycle:versions = yes
        recycle:keeptree = yes
        recycle:repository = .recycler/%m-%T
        recycle:subdir_mode = 0720
        recycle:directory_mode = 0777
        idmap config * : backend = tdb
        create mask = 0766
        directory mask = 0777
        vfs objects = recycle
<...>

[Хлам$]
        comment = Общая папка медиа
        path = /disk15/hlam
        read only = No
        guest ok = Yes
<...>

I have some directory in share Хлам$ with unix access rights:
-----------------------------------------------------------------
MEDIA ~ # ls -la /disk15/hlam/ | grep torr
drwxrwxrwx 22 root   root          4096 Окт  7 14:52 torrent
MEDIA ~ # ls -la /disk15/hlam/torrent/ | grep LinuxS
drwxrwxrwx  2 root root 4096 Апр 18  2011 LinuxSecurity_DIVX_[NNM-Club]
drwxrwxrwx  3 root root 4096 Янв  1  1970 LinuxSecurity_[NNM-Club]
MEDIA ~ # ls -la /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/
итого 12
drwxrwxrwx  3 root root 4096 Янв  1  1970 .
drwxrwxrwx 22 root root 4096 Окт  7 14:52 ..
drwxrwxrwx  2 root root 4096 Янв  1  1970 Codec_Lagarith_1322
MEDIA ~ # ls -la /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/
итого 8
drwxrwxrwx 2 root root 4096 Янв  1  1970 .
drwxrwxrwx 3 root root 4096 Янв  1  1970 ..
------------------------------------------------------------------
As we see, the permission on directory LinuxSecurity_DIVX_[NNM-Club] will allow to delete this folder.
I wanted to delete this directory from windows-host and get error 
http://www.k-max.name/wp-content/uploads/2012/10/samba-error.png


In log (with log level = 2) I am get next message:
-----------------------------------------
[2012/10/07 14:30:33.505644,  2] lib/interface.c:341(add_interface)
  added interface eth0 ip=192.168.1.100 bcast=192.168.1.255 netmask=255.255.255.0
[2012/10/07 14:30:33.506640,  2] lib/interface.c:390(interpret_interface)
  interpret_interface: Can't find address for wlan0
[2012/10/07 14:30:33.507056,  2] lib/interface.c:341(add_interface)
  added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
[2012/10/07 14:30:49.935477,  2] smbd/trans2.c:5587(smb_set_file_dosmode)
  smb_set_file_dosmode: file_set_dosmode of torrent/LinuxSecurity_[NNM-Club] failed (Операция не позволяется)
[2012/10/07 14:30:50.074276,  2] smbd/trans2.c:5587(smb_set_file_dosmode)
  smb_set_file_dosmode: file_set_dosmode of torrent/LinuxSecurity_[NNM-Club] failed (Операция не позволяется)
[2012/10/07 14:30:56.456229,  2] smbd/trans2.c:5587(smb_set_file_dosmode)
  smb_set_file_dosmode: file_set_dosmode of torrent/LinuxSecurity_[NNM-Club] failed (Операция не позволяется)
[2012/10/07 14:32:09.271375,  2] smbd/open.c:704(open_file)
------------------------------------------

smbstatus show:
--------------------------------------------
MEDIA ~ # smbstatus


Samba version 3.6.6
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------
Видео   7553   nout          Sun Oct  7 11:05:43 2012
rTorrent     9132   father        Sun Oct  7 14:06:12 2012
Хлам$    9132   father        Sun Oct  7 12:11:30 2012

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
9132         65534      DENY_NONE  0x100081    RDONLY     NONE             /disk15/hlam   .   Sun Oct  7 12:11:30 2012
Ошибка сегментирования
------------------------------------------------------------------------

Then, I set log level = 9, clear log and reload samba:
MEDIA ~ # echo > /var/log/samba/log.father
MEDIA ~ # vim /etc/samba/smb.conf # < log level = 9
MEDIA ~ # service samba reload
[ ok ] Reloading /etc/samba/smb.conf: smbd only.

And I try to delete directory LinuxSecurity_DIVX_[NNM-Club] step by step:
1. I open directory \MEDIAХлам$torrent and select directory LinuxSecurity_[NNM-Club] and i get next message in samba-log:
======================================================================
[2012/10/07 15:53:45.002058,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:45.002194,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:53:45.002503,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:53:45.002668,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:53:45.002746,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /disk15/hlam
[2012/10/07 15:53:45.002835,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/desktop.ini"
[2012/10/07 15:53:45.002926,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = torrent/LinuxSecurity_[NNM-Club]/desktop.ini, dirpath = torrent/LinuxSecurity_[NNM-Club], start = desktop.ini
[2012/10/07 15:53:45.003009,  5] smbd/filename.c:184(check_parent_exists)
  check_parent_exists: name = torrent/LinuxSecurity_[NNM-Club]/desktop.ini, dirpath = torrent/LinuxSecurity_[NNM-Club], start = desktop.ini
[2012/10/07 15:53:45.003122,  5] smbd/filename.c:781(unix_convert)
  New file desktop.ini
[2012/10/07 15:53:45.003200,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/desktop.ini] [/disk15/hlam]
[2012/10/07 15:53:45.003293,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/desktop.ini reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/desktop.ini
[2012/10/07 15:53:45.003370,  5] smbd/files.c:140(file_new)
  allocated file structure 11671, fnum = 15767 (9 used)
[2012/10/07 15:53:45.003451,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/desktop.ini) returning 0766
[2012/10/07 15:53:45.003525,  5] smbd/open.c:1690(open_file_ntcreate)
  open_file_ntcreate: FILE_OPEN requested for file torrent/LinuxSecurity_[NNM-Club]/desktop.ini and file doesn't exist.
[2012/10/07 15:53:45.003637,  5] smbd/files.c:482(file_free)
  freed files structure 15767 (8 used)
[2012/10/07 15:53:45.123768,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:45.123896,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:53:45.123968,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:53:45.124073,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:53:45.124189,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.1.180 (192.168.1.180)
[2012/10/07 15:53:45.124285,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user nobody
[2012/10/07 15:53:45.124359,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is nobody
[2012/10/07 15:53:45.124443,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [nobody]!
[2012/10/07 15:53:45.124527,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]
[2012/10/07 15:53:45.124630,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2012/10/07 15:53:45.124704,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2012/10/07 15:53:45.124801,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [recycle]
  Successfully loaded vfs module [recycle] with the new modules system
[2012/10/07 15:53:45.124902,  5] smbd/connection.c:134(claim_connection)
  claiming [IPC$]
[2012/10/07 15:53:45.125039,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:45.125130,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:53:45.125442,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:53:45.125549,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:53:45.125629,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:45.125697,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:53:45.125760,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:53:45.125855,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:53:45.125943,  3] smbd/service.c:1114(make_connection_snum)
  father (192.168.1.180) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 9132)
[2012/10/07 15:53:45.129746,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:45.129870,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:53:45.130190,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:53:45.130297,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:53:45.130373,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2012/10/07 15:53:45.132106,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:53:45.135325,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:53:45.136808,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:53:58.563694,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:53:58.563839,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:58.563912,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:53:58.563978,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:53:58.564095,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:53:58.564175,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:58.564242,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:53:58.564303,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:53:58.564392,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:53:58.564457,  3] smbd/service.c:1378(close_cnum)
  father (192.168.1.180) closed connection to service IPC$
[2012/10/07 15:53:58.564533,  3] smbd/connection.c:35(yield_connection)
  Yielding connection to IPC$
[2012/10/07 15:53:58.564630,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /
[2012/10/07 15:53:58.564709,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:53:58.564774,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:53:58.564834,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:53:58.564925,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
======================================================================

2. I press key Delete and i get next messages in log:
======================================================================
[2012/10/07 15:54:36.158590,  5] smbd/process.c:2474(housekeeping_fn)
  housekeeping
[2012/10/07 15:54:36.158732,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:54:36.158802,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:54:36.158866,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:54:36.158964,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:54:36.159101,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Oct  7 15:28:41 2012

[2012/10/07 15:54:38.266668,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:54:38.266809,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:54:38.267120,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:54:38.267226,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:54:38.267301,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /disk15/hlam
[2012/10/07 15:54:38.267389,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent"
[2012/10/07 15:54:38.267477,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent] [/disk15/hlam]
[2012/10/07 15:54:38.267555,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent reduced to /disk15/hlam/torrent
[2012/10/07 15:54:38.267630,  5] smbd/files.c:140(file_new)
  allocated file structure 11672, fnum = 15768 (9 used)
[2012/10/07 15:54:38.267711,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent) returning 0766
[2012/10/07 15:54:38.267782,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent
[2012/10/07 15:54:38.267848,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:54:38.267914,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:54:38.268015,  4] smbd/open.c:2069(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask = 0x100081, open_access_mask = 0x100081
[2012/10/07 15:54:38.268133,  5] smbd/files.c:482(file_free)
  freed files structure 15768 (8 used)
[2012/10/07 15:54:38.268211,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory torrent, access_mask = 0x100081, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:54:38.268336,  5] smbd/files.c:140(file_new)
  allocated file structure 11673, fnum = 15769 (9 used)
[2012/10/07 15:54:38.268492,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent
[2012/10/07 15:54:38.268581,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:54:38.268650,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:54:38.270562,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:54:38.270992,  5] smbd/files.c:482(file_free)
  freed files structure 15769 (8 used)
======================================================================
..... and i het wondows-message "Yes" or "No"

3. I press Yes and I get next message in log:
======================================================================
[2012/10/07 15:55:27.613244,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.613410,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]"
[2012/10/07 15:55:27.613508,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]] [/disk15/hlam]
[2012/10/07 15:55:27.613593,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club] reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.613673,  5] smbd/files.c:140(file_new)
  allocated file structure 11674, fnum = 15770 (9 used)
[2012/10/07 15:55:27.613757,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]) returning 0766
[2012/10/07 15:55:27.613831,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.613900,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.613968,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.614064,  4] smbd/open.c:2069(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask = 0x100081, open_access_mask = 0x100081
[2012/10/07 15:55:27.614165,  5] smbd/files.c:482(file_free)
  freed files structure 15770 (8 used)
[2012/10/07 15:55:27.614242,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory torrent/LinuxSecurity_[NNM-Club], access_mask = 0x100081, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:55:27.614374,  5] smbd/files.c:140(file_new)
  allocated file structure 11675, fnum = 15771 (9 used)
[2012/10/07 15:55:27.614587,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.614690,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.614761,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.616992,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.617394,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.617725,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 0 for path torrent/LinuxSecurity_[NNM-Club], expect_close = 0
[2012/10/07 15:55:27.618041,  8] smbd/smb2_find.c:369(smbd_smb2_find_send)
  smbd_smb2_find_send: dirpath=<torrent/LinuxSecurity_[NNM-Club]> dontdescend=<>, in_output_buffer_length = 65528
[2012/10/07 15:55:27.618390,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0xb9391868 now at offset 0
[2012/10/07 15:55:27.618785,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/.
[2012/10/07 15:55:27.619103,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.619490,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.619777,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found torrent/LinuxSecurity_[NNM-Club]/. fname=. (.)
[2012/10/07 15:55:27.620178,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0xb9391868 now at offset -2147483648
[2012/10/07 15:55:27.620479,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/..
[2012/10/07 15:55:27.620740,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.621118,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.621449,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found torrent/LinuxSecurity_[NNM-Club]/.. fname=.. (..)
[2012/10/07 15:55:27.621803,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0xb9391868 now at offset 2147483647
[2012/10/07 15:55:27.622136,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.622443,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.622789,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.623094,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 fname=Codec_Lagarith_1322 (Codec_Lagarith_1322)
[2012/10/07 15:55:27.623400,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0xb9391868 now at offset -1
[2012/10/07 15:55:27.623847,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.624223,  8] smbd/smb2_find.c:369(smbd_smb2_find_send)
  smbd_smb2_find_send: dirpath=<torrent/LinuxSecurity_[NNM-Club]> dontdescend=<>, in_output_buffer_length = 120
[2012/10/07 15:55:27.624598,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0xb9391868 now at offset -1
[2012/10/07 15:55:27.628614,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.629008,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 0
[2012/10/07 15:55:27.629343,  5] smbd/files.c:482(file_free)
  freed files structure 15771 (8 used)
[2012/10/07 15:55:27.632254,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.632624,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.632966,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.633302,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.633630,  5] smbd/files.c:140(file_new)
  allocated file structure 11676, fnum = 15772 (9 used)
[2012/10/07 15:55:27.633991,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:55:27.634310,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.634662,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.635006,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.635367,  5] smbd/files.c:482(file_free)
  freed files structure 15772 (8 used)
[2012/10/07 15:55:27.638400,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.638793,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.639133,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.639467,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.639810,  5] smbd/files.c:140(file_new)
  allocated file structure 11677, fnum = 15773 (9 used)
[2012/10/07 15:55:27.640172,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:55:27.640526,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.640839,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.641147,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.641510,  5] smbd/files.c:482(file_free)
  freed files structure 15773 (8 used)
[2012/10/07 15:55:27.645611,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.646025,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2012/10/07 15:55:27.646355,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2012/10/07 15:55:27.646706,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [.] [/disk15/hlam]
[2012/10/07 15:55:27.647035,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: . reduced to /disk15/hlam
[2012/10/07 15:55:27.647352,  5] smbd/files.c:140(file_new)
  allocated file structure 11678, fnum = 15774 (9 used)
[2012/10/07 15:55:27.647675,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0766
[2012/10/07 15:55:27.647989,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2012/10/07 15:55:27.648320,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.648630,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.648976,  4] smbd/open.c:2069(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask = 0x120089, open_access_mask = 0x120089
[2012/10/07 15:55:27.649311,  5] smbd/files.c:482(file_free)
  freed files structure 15774 (8 used)
[2012/10/07 15:55:27.649577,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory ., access_mask = 0x120089, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:55:27.649906,  5] smbd/files.c:140(file_new)
  allocated file structure 11679, fnum = 15775 (9 used)
[2012/10/07 15:55:27.650382,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2012/10/07 15:55:27.650748,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.651058,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.657057,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.657644,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1001
[2012/10/07 15:55:27.657991,  5] smbd/trans2.c:3093(smbd_do_qfsinfo)
  smbd_do_qfsinfo : SMB_QUERY_FS_VOLUME_INFO namelen = 9, vol=Хлам$ serv=Хлам$
[2012/10/07 15:55:27.658360,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.658756,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2012/10/07 15:55:27.664006,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.664377,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2012/10/07 15:55:27.664905,  3] lib/sysquotas.c:432(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/disk15] bdev[/dev/sdb1] qtype[2] id[65534]: Операция не позволяется
[2012/10/07 15:55:27.665431,  3] lib/sysquotas.c:432(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/disk15] bdev[/dev/sdb1] qtype[4] id[65534]: Операция не позволяется
[2012/10/07 15:55:27.665778,  5] smbd/trans2.c:3153(smbd_do_qfsinfo)
  smbd_do_qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024, cSectorUnit=2, cBytesSector=512, cUnitTotal=1463714252, cUnitAvail=1027759820
[2012/10/07 15:55:27.669044,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.669493,  5] smbd/files.c:482(file_free)
  freed files structure 15775 (8 used)
[2012/10/07 15:55:27.672518,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:55:27.672871,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:55:27.673174,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:55:27.673629,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/10/07 15:55:27.677726,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:55:27.678118,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:55:27.679772,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:55:27.680256,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:55:27.680606,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]"
[2012/10/07 15:55:27.680959,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]] [/disk15/hlam]
[2012/10/07 15:55:27.681297,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club] reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.681724,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory torrent/LinuxSecurity_[NNM-Club], access_mask = 0x110080, share_access = 0x7 create_options = 0x200001, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:55:27.682133,  5] smbd/files.c:140(file_new)
  allocated file structure 11680, fnum = 15776 (9 used)
[2012/10/07 15:55:27.682613,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.682965,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.683299,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.683799,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.684212,  5] smbd/files.c:482(file_free)
  freed files structure 15764 (8 used)
[2012/10/07 15:55:27.687521,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.707299,  3] smbd/trans2.c:7627(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: torrent/LinuxSecurity_[NNM-Club] (fnum 15776) info_level=1013 totdata=1
[2012/10/07 15:55:27.707772,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]
[2012/10/07 15:55:27.708091,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.708401,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.710652,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.711047,  5] smbd/files.c:482(file_free)
  freed files structure 15776 (7 used)
[2012/10/07 15:55:27.714918,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.715288,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.715626,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.715959,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.716357,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322, access_mask = 0x110080, share_access = 0x7 create_options = 0x200001, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:55:27.716764,  5] smbd/files.c:140(file_new)
  allocated file structure 11681, fnum = 15777 (8 used)
[2012/10/07 15:55:27.717164,  5] smbd/files.c:482(file_free)
  freed files structure 15777 (7 used)
[2012/10/07 15:55:27.721262,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.721634,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.721980,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.722317,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.722752,  5] smbd/files.c:140(file_new)
  allocated file structure 11682, fnum = 15778 (8 used)
[2012/10/07 15:55:27.723104,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:55:27.723423,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.723736,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.724044,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.724440,  5] smbd/files.c:482(file_free)
  freed files structure 15778 (7 used)
[2012/10/07 15:55:27.729209,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.729583,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini"
[2012/10/07 15:55:27.729930,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini, dirpath = torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322, start = desktop.ini
[2012/10/07 15:55:27.730273,  5] smbd/filename.c:184(check_parent_exists)
  check_parent_exists: name = torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini, dirpath = torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322, start = desktop.ini
[2012/10/07 15:55:27.730657,  5] smbd/filename.c:781(unix_convert)
  New file desktop.ini
[2012/10/07 15:55:27.730983,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini] [/disk15/hlam]
[2012/10/07 15:55:27.731367,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini
[2012/10/07 15:55:27.731697,  5] smbd/files.c:140(file_new)
  allocated file structure 11683, fnum = 15779 (8 used)
[2012/10/07 15:55:27.732025,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini) returning 0766
[2012/10/07 15:55:27.732346,  5] smbd/open.c:1690(open_file_ntcreate)
  open_file_ntcreate: FILE_OPEN requested for file torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322/desktop.ini and file doesn't exist.
[2012/10/07 15:55:27.732697,  5] smbd/files.c:482(file_free)
  freed files structure 15779 (7 used)
[2012/10/07 15:55:27.736343,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.736746,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.737089,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.737441,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.737795,  5] smbd/files.c:140(file_new)
  allocated file structure 11684, fnum = 15780 (8 used)
[2012/10/07 15:55:27.738125,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:55:27.738464,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.738808,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.739116,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.739509,  5] smbd/files.c:482(file_free)
  freed files structure 15780 (7 used)
[2012/10/07 15:55:27.742238,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:55:27.742621,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:55:27.742972,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:55:27.743309,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.743635,  5] smbd/files.c:140(file_new)
  allocated file structure 11685, fnum = 15781 (8 used)
[2012/10/07 15:55:27.743986,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:55:27.744310,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:55:27.744625,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:55:27.744962,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:55:27.745356,  5] smbd/files.c:482(file_free)
  freed files structure 15781 (7 used)
  housekeeping
[2012/10/07 15:55:36.167409,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/10/07 15:55:36.167479,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/10/07 15:55:36.167566,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/10/07 15:55:36.167675,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
======================================================================
...... and i get error message
http://www.k-max.name/wp-content/uploads/2012/10/samba-error.png

4. I try input to directory \MEDIAХлам$torrentLinuxSecurity_[NNM-Club]Codec_Lagarith_1322 and I get error message
http://www.k-max.name/wp-content/uploads/2012/10/samba-error2.png
and in log
=======================================================================
[2012/10/07 15:59:47.191733,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2012/10/07 15:59:47.191878,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (7):
    SID[  0]: S-1-5-21-4247409455-2685806330-4099132636-501
    SID[  1]: S-1-5-21-4247409455-2685806330-4099132636-513
    SID[  2]: S-1-5-21-4247409455-2685806330-4099132636-546
    SID[  3]: S-1-1-0
    SID[  4]: S-1-5-2
    SID[  5]: S-1-5-32-546
    SID[  6]: S-1-22-1-65534
   Privileges (0x               0):
   Rights (0x               0):
[2012/10/07 15:59:47.192195,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 65534
  Primary group is 65534 and contains 0 supplementary groups
[2012/10/07 15:59:47.192300,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,65534), gid=(0,65534)
[2012/10/07 15:59:47.192373,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /disk15/hlam
[2012/10/07 15:59:47.192461,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:59:47.192547,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:59:47.192630,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.192701,  5] smbd/open.c:2599(open_directory)
  open_directory: opening directory torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322, access_mask = 0x100081, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2012/10/07 15:59:47.192832,  5] smbd/files.c:140(file_new)
  allocated file structure 11697, fnum = 15793 (10 used)
[2012/10/07 15:59:47.192980,  5] smbd/files.c:482(file_free)
  freed files structure 15793 (9 used)
[2012/10/07 15:59:47.202039,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:59:47.202414,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:59:47.202779,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:59:47.203115,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.203465,  5] smbd/files.c:140(file_new)
  allocated file structure 11698, fnum = 15794 (10 used)
[2012/10/07 15:59:47.203794,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:59:47.204108,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.204405,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:59:47.204752,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:59:47.205074,  5] smbd/files.c:482(file_free)
  freed files structure 15794 (9 used)
[2012/10/07 15:59:47.208779,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:59:47.209155,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:59:47.209556,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:59:47.209910,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.210235,  5] smbd/files.c:140(file_new)
  allocated file structure 11699, fnum = 15795 (10 used)
[2012/10/07 15:59:47.210606,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:59:47.210934,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.211274,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:59:47.211580,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:59:47.211983,  5] smbd/files.c:482(file_free)
  freed files structure 15795 (9 used)
[2012/10/07 15:59:47.216002,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2012/10/07 15:59:47.216380,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322"
[2012/10/07 15:59:47.216723,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322] [/disk15/hlam]
[2012/10/07 15:59:47.217058,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322 reduced to /disk15/hlam/torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.217464,  5] smbd/files.c:140(file_new)
  allocated file structure 11700, fnum = 15796 (10 used)
[2012/10/07 15:59:47.217809,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322) returning 0766
[2012/10/07 15:59:47.218151,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: torrent/LinuxSecurity_[NNM-Club]/Codec_Lagarith_1322
[2012/10/07 15:59:47.218465,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2012/10/07 15:59:47.218797,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2012/10/07 15:59:47.219190,  5] smbd/files.c:482(file_free)
  freed files structure 15796 (9 used)
=======================================================================

5. I restart samba, directory Codec_Lagarith_1322 was disappeared and directory LinuxSecurity_[NNM-Club] was successfully removed.
And in log i get next message:
=======================================================================
=======================================================================



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  libacl1                2.2.51-8
ii  libattr1               1:2.4.46-8
ii  libc6                  2.13-35
ii  libcap2                1:2.22-1.2
ii  libcomerr2             1.42.5-1
ii  libcups2               1.5.3-1
ii  libgssapi-krb5-2       1.10.1+dfsg-2
ii  libk5crypto3           1.10.1+dfsg-2
ii  libkrb5-3              1.10.1+dfsg-2
ii  libldap-2.4-2          2.4.31-1
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.6-3
ii  lsb-base               4.1+Debian7
ii  procps                 1:3.3.3-2
ii  samba-common           2:3.6.6-3
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.1-4
ii  tdb-tools  1.2.10-2

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
pn  openbsd-inetd | inet-superserver  <none>
pn  smbldap-tools                     <none>

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true
  samba-common/title:



Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sun, 07 Oct 2012 15:21:07 GMT) (full text, mbox, link).


Acknowledgement sent
to Максим Крамаренко <mc-sim85@mail.ru>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sun, 07 Oct 2012 15:21:07 GMT) (full text, mbox, link).


Message #44 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
Last full log for 5 step's (delete after restart) is here 
http://www.k-max.name/wp-content/uploads/2012/10/log.father.zip

line 21240
[2012/10/07 16:20:00.776710,  5] smbd/close.c:1067(close_directory)
  close_directory: torrent/LinuxSecurity_[NNM-Club]. Delete on close was set - deleting directory returned NT_STATUS_OK.



-- 

[Message part 2 (text/html, inline)]

Marked as fixed in versions samba/2:3.6.8-1.
Request was from Ivo De Decker <ivo.dedecker@ugent.be>
to control@bugs.debian.org.
(Sun, 17 Feb 2013 13:12:04 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream.
Request was from bts-link-upstream@lists.alioth.debian.org
to control@bugs.debian.org.
(Thu, 21 Feb 2013 16:42:19 GMT) (full text, mbox, link).


Marked as found in versions 3.6.6-5.
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(Fri, 19 Apr 2013 05:39:12 GMT) (full text, mbox, link).


Merged 688059 704761
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(Fri, 19 Apr 2013 05:39:16 GMT) (full text, mbox, link).


Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Fri, 02 May 2014 16:45:05 GMT) (full text, mbox, link).


Acknowledgement sent
to "Ki'Sak" <kisak42@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Fri, 02 May 2014 16:45:05 GMT) (full text, mbox, link).


Message #59 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
I can confirm this affects my wheezy server. Can the fix be reviewed for
inclusion in an upcoming point release?
[Message part 2 (text/html, inline)]

Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sat, 03 May 2014 06:06:05 GMT) (full text, mbox, link).


Acknowledgement sent
to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sat, 03 May 2014 06:06:05 GMT) (full text, mbox, link).


Message #64 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
Quoting Ki'Sak (kisak42@gmail.com):
> I can confirm this affects my wheezy server. Can the fix be reviewed for
> inclusion in an upcoming point release?

Updates to samba in stable are often to be considered with great care.

Still, atfer re-reading the bug, it might be relevant to include the
patch in 3.6.6 for wheezy: in the past, I happened to fix such
important bugs in a stable release update, after talking with the
Stable Release Team.

Still, I leave that decision up to Ivo, who is now the main maintainer
of samba, as we're talking about his time....and properly collecting
the needed patches (it seems there are two patches for this issue),
then isolating them from other fixes, then forwarding them to the
Stable Release Team then arguing with them is......a significant
amount of work and only him can tell he's OK to do it....


[signature.asc (application/pgp-signature, inline)]

Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sat, 03 May 2014 12:21:05 GMT) (full text, mbox, link).


Acknowledgement sent
to "Ki'Sak" <kisak42@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sat, 03 May 2014 12:21:05 GMT) (full text, mbox, link).


Message #69 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
Mr. Perrier,

Thank you for iterating the review process as I was not familiar with it.
For the little it's worth, I'm only interested in getting the 7817 patch
aimed at fixing the network behaviour of samba with SMB2 moved through the
review process. I should be able to test that patch on the server in
question on Monday and have some initial usage data of samba with patch
7817 by Friday.


--Ki'Sak
[Message part 2 (text/html, inline)]

Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Sun, 04 May 2014 08:48:05 GMT) (full text, mbox, link).


Acknowledgement sent
to Andrew Bartlett <abartlet@samba.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Sun, 04 May 2014 08:48:05 GMT) (full text, mbox, link).


Message #74 received at 688059@bugs.debian.org (full text, mbox, reply):

On Sat, 2014-05-03 at 08:17 -0400, Ki'Sak wrote:
> Mr. Perrier,
> 
> 
> Thank you for iterating the review process as I was not familiar with
> it. For the little it's worth, I'm only interested in getting the 7817
> patch aimed at fixing the network behaviour of samba with SMB2 moved
> through the review process. I should be able to test that patch on the
> server in question on Monday and have some initial usage data of samba
> with patch 7817 by Friday.

I would note that while Samba 3.6 was the first release to officially
support SMB2, it was not on be default until Samba 4.0.

This may make it much harder to justify as SMB2-specific fix into
stable.

A backport of Samba 4.x might give you a fix faster.

All that said, there was a point I thought when new Samba versions were
being allowed into Stable fairly easily, due to the Samba Team's policy
of fixes only, if that was the case and is no longer the case, that's
unfortunate.  A lot of important fixes made it into Samba after 3.6.6. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#688059; Package samba.
(Mon, 16 Jun 2014 14:12:05 GMT) (full text, mbox, link).


Acknowledgement sent
to "Ki'Sak" <kisak42@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>.
(Mon, 16 Jun 2014 14:12:05 GMT) (full text, mbox, link).


Message #79 received at 688059@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]
After a minimum of 3 weeks of the samba server running without restart and
has patch 7817 applied against the debian package, my client has reported
no problems with the file server behavior.


On Fri, May 2, 2014 at 12:45 PM, Debian Bug Tracking System <
owner@bugs.debian.org> wrote:

> Thank you for the additional information you have supplied regarding
> this Bug report.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 688059@bugs.debian.org.
>
> Please do not send mail to owner@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 688059: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688059
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
[Message part 2 (text/html, inline)]

Reply sent
to Mathieu Parent <math.parent@gmail.com>:
You have taken responsibility.
(Sat, 02 Apr 2016 12:57:09 GMT) (full text, mbox, link).


Notification sent
to "Mc.Sim" <mc-sim85@mail.ru>:
Bug acknowledged by developer.
(Sat, 02 Apr 2016 12:57:10 GMT) (full text, mbox, link).


Message #84 received at 688059-done@bugs.debian.org (full text, mbox, reply):

Marking as done, as stated in the comments

Regards
-- 
Mathieu Parent



Reply sent
to Mathieu Parent <math.parent@gmail.com>:
You have taken responsibility.
(Sat, 02 Apr 2016 12:57:10 GMT) (full text, mbox, link).


Notification sent
to Adi Kriegisch <adi@kriegisch.at>:
Bug acknowledged by developer.
(Sat, 02 Apr 2016 12:57:10 GMT) (full text, mbox, link).


Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 01 May 2016 07:44:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jun 7 05:35:30 2023;
Machine Name:
buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Ошибка сегментирвоания

Модератор: Bizdelnick

Аватара пользователя

malamba

Сообщения: 86
ОС: Mandriva 2008.0

Ошибка сегментирвоания

Начал глючить rpmdrake. Пробовал обновить один пакет ( workrave), rpmdrake начал вылететь.
В консоли при удалении оного появляется «ошибка сегментирвоания».

Удалил rm -f /var/lib/rpm/_*db*
Сделал rpm —rebuilddb
yum clean all

Ошибка не исчезает.
Запустил fsck, проверка прошла без ошибок.

Пробую удалить пакет снова — ошибка сегментирования.

Странно, что dmseg среди всего прочего дает вот такую бяку:
» kernel BUG at fs/cifs/cifs_dfs_ref.c:274!
invalid opcode: 0000 [#8] SMP»

Ядро последнее стабильное, 19-ка, кажется, ставилась при очерденом обновлении. Мандрива 2009 KDE 4.1.2

Куда рыть?

Аватара пользователя

omerta13

Сообщения: 206
ОС: Arch Linux, Mageia Linux

Re: Ошибка сегментирвоания

Сообщение

omerta13 » 21.04.2009 19:38

malamba писал(а): ↑

21.04.2009 17:15

Удалил rm -f /var/lib/rpm/_*db*
Сделал rpm —rebuilddb
yum clean all

Yum — это от Федоры и Yellow Dog Linux. В Mandriva — urpmi. Пакет удаляется командой: urpme имя_пакета

Аватара пользователя

malamba

Сообщения: 86
ОС: Mandriva 2008.0

Re: Ошибка сегментирвоания

Сообщение

malamba » 22.04.2009 10:22

omerta13 писал(а): ↑

21.04.2009 19:38

malamba писал(а): ↑

21.04.2009 17:15

Удалил rm -f /var/lib/rpm/_*db*
Сделал rpm —rebuilddb
yum clean all

Yum — это от Федоры и Yellow Dog Linux. В Mandriva — urpmi. Пакет удаляется командой: urpme имя_пакета

Да yum машинально влезло. ТО есть, у меня в моих заметках была эта строчка, ну я заодно и ее забил — хуже не будет ;)
urpme не удаляет, я написал — ошибка сегментирования.

Аватара пользователя

malamba

Сообщения: 86
ОС: Mandriva 2008.0

Re: Ошибка сегментирвоания

Сообщение

malamba » 22.04.2009 12:16

Рассказываю.
Во всем виновата samba с CIFS.
Обнаружил это, задав поиск по диску. Дойдя до подмонтированных самбовских дисков, find дал мне ошибку сегментирования. При перезагрузке CIFS-совские файловые системы отваливались с ошибкой.
Перезагрузился, не монтировал диски самбы, сделал urpmi — пошло как по маслу.

Всем посочувствующим — спасибо.

Понравилась статья? Поделить с друзьями:
  • Samsung 2015 ошибка горит красным
  • Saeco lirika ремонт ошибка 1
  • Samsung 1610 индикация ошибок
  • Saeco aulika e07 ошибка
  • S1x 46 g2 amp k164c коды ошибок