Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-11-04 Thread Peter Wu
On Monday 03 November 2014 13:22:19 Peter Wu wrote: > On Friday 24 October 2014 18:55:07 Jan Kiszka wrote: > > writing to you as you provided a fix for the last related issue: > > > > I just noticed that the samba-based share is broken again with smbd > > version 4.1.11. Tried to look briefly at i

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-11-03 Thread Michael Tokarev
03.11.2014 15:22, Peter Wu wrote: [] > As an aside, would it be possible to override the samba binary at runtime, > without compiling? Either an envvar (SMBD) or an option (-net > user,smb=...,smbd=...). The whole thing needs to be rewritten to use a shell script to create smb.conf and to call smb

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-11-03 Thread Peter Wu
Hi, On Friday 24 October 2014 18:55:07 Jan Kiszka wrote: > writing to you as you provided a fix for the last related issue: > > I just noticed that the samba-based share is broken again with smbd > version 4.1.11. Tried to look briefly at it, realized that it is a > permission thing (different er

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-10-25 Thread Jan Kiszka
On 2014-10-24 22:43, Michael Tokarev wrote: > But I really wonder if we should run a helper script to set things > up instead of hardcoding it all into qemu binary... It is so much > easier to modify and debug the script. Yes, seems reasonable. I would review and test a patch if you like to look

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-10-24 Thread Michael Tokarev
On 10/24/2014 11:58 PM, Michael Tokarev wrote: > My 4.1.11 version tries to open /var/log/samba/log.smbd.bin file and > gives up. After I created that file and chowned it to me it works. (that .bin comes from /me renaming smbd to smbd.bin to run it under strace from a tiny shell wrapper under or

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-10-24 Thread Michael Tokarev
On 10/24/2014 10:29 PM, Michael Tokarev wrote: > On 10/24/2014 08:55 PM, Jan Kiszka wrote: >> Hi Michael, >> >> writing to you as you provided a fix for the last related issue: >> >> I just noticed that the samba-based share is broken again with smbd >> version 4.1.11. Tried to look briefly at it,

Re: [Qemu-devel] slirp-smb broken with Samba 4.1

2014-10-24 Thread Michael Tokarev
On 10/24/2014 08:55 PM, Jan Kiszka wrote: > Hi Michael, > > writing to you as you provided a fix for the last related issue: > > I just noticed that the samba-based share is broken again with smbd > version 4.1.11. Tried to look briefly at it, realized that it is a > permission thing (different e

[Qemu-devel] slirp-smb broken with Samba 4.1

2014-10-24 Thread Jan Kiszka
Hi Michael, writing to you as you provided a fix for the last related issue: I just noticed that the samba-based share is broken again with smbd version 4.1.11. Tried to look briefly at it, realized that it is a permission thing (different error when qemu runs as root) but also some more nasty pr