[Bug 1015935] Re: SWAT segfaults when trying to view full configuration

2012-06-25 Thread Kai Blin
Ok, this actually is a bug in libpam-smbpass, not in swat.

When recompiling the packages with debug info, the backtrace from swat
is:

#0  0xb7217600 in ?? ()
#1  0xb7d7923c in _talloc_free () from /usr/lib/i386-linux-gnu/libtalloc.so.2
#2  0x8027fae1 in smb_iconv_close (cd=0x8081f768) at 
../lib/util/charset/iconv.c:337
#3  0x8026ee61 in close_iconv_convenience (data=0x80812228) at 
../lib/util/charset/codepoints.c:203
#4  0x8026f08c in smb_iconv_convenience_reinit (mem_ctx=0x0, 
dos_charset=0x80816c08 CP850, unix_charset=0x80816bc8 UTF-8, 
display_charset=0xb745930c UTF-8, native_iconv=true, old_ic=0x80812228) 
at ../lib/util/charset/codepoints.c:265
#5  0x8025b037 in init_iconv () at lib/charcnv.c:78
#6  0x8025af8c in lazy_initialize_conv () at lib/charcnv.c:55
#7  0x8025bb59 in convert_string_talloc (ctx=0x80816b90, from=CH_UTF8, 
to=CH_UNIX, src=0x8081cd60, srclen=9, dst=0xb670, 
converted_size=0xb674, 
allow_bad_conv=true) at lib/charcnv.c:480
#8  0x8007207d in cgi_load_variables () at web/cgi.c:214
#9  0x80079c4c in main (argc=1, argv=0xb824) at web/swat.c:1581

Note the call to close_iconv_convenience() in frame 3.

Now, when looking at libpam-smbpass.so symbols with nm, this gives the
following iconv-related output:

0008fe20 t close_iconv_convenience
0008fd4c T get_iconv_convenience
00207a80 B global_iconv_convenience
 U iconv@@GLIBC_2.1
 U iconv_close@@GLIBC_2.1
000a111b t iconv_copy
 U iconv_open@@GLIBC_2.1
000a1057 t iconv_swab
0007c01a T init_iconv
000a0364 t lazy_initialize_iconv
000a03ff T smb_iconv
000a0af6 T smb_iconv_close
00090085 T smb_iconv_convenience_reinit
000a0abc T smb_iconv_open
000a0686 T smb_iconv_open_ex
000a0600 t smb_iconv_t_destructor
000a0389 t sys_iconv

Again, note the t close_iconv_convenience, which as far as I understand says 
that libpam-smbpass contains close_iconv_convenience in it's text section, so 
there's a copy of that call in libpam-smbpass.
Now, if libpam-smbpass is loaded, it seems like swat uses the wrong version of 
that call, and things go wrong.
If you comment out the libpam-smbpass line in /etc/pam.d/common-auth, The crash 
is gone.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1015935

Title:
  SWAT segfaults when trying to view full configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1015935/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1013471] Re: swat goes blank on button click and logs panic internal error

2012-06-25 Thread Kai Blin
*** This bug is a duplicate of bug 1015935 ***
https://bugs.launchpad.net/bugs/1015935

** This bug has been marked a duplicate of bug 1015935
   SWAT segfaults when trying to view full configuration

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1013471

Title:
  swat goes blank on button click and logs panic internal error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1013471/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1015935] Re: SWAT segfaults when trying to view full configuration

2012-06-23 Thread Kai Blin
Right, our bug reporter investigated this a bit further, and it turns out that 
removing libpam-smbpass fixes the crash, and reinstalling libpam-smbpass causes 
the crash to happen again.
This also explains why starting swat without the authentication check doesn't 
trigger the crash.
As a next step, I'll install libpam-smbpass for a from source build to see if 
_that_ reproduces the crash.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1015935

Title:
  SWAT segfaults when trying to view full configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1015935/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1015935] [NEW] SWAT segfaults when trying to view full configuration

2012-06-21 Thread Kai Blin
Public bug reported:

When running swat on a 32bit 12.04 install, swat segfaults when the user
clicks on the Full View button in the configuration menu. This only
happens on the 32bit install, the 64bit install seems fine.

This was reported to upstream under
https://bugzilla.samba.org/show_bug.cgi?id=8999 but can only be
reproduced with the distro packages.

swat crashes with the following backtrace (sorry for the missing debug
symbols, the samba-dbg package doesn't seem to help gdb getting debug
symbols for swat):

(gdb) bt
#0  0xb72340c0 in ?? ()
#1  0xb7d7923c in _talloc_free () from /usr/lib/i386-linux-gnu/libtalloc.so.2
#2  0x80215875 in smb_iconv_close ()
#3  0x80204d65 in ?? ()
#4  0x802051d8 in smb_iconv_convenience_reinit ()
#5  0x801f2bf5 in init_iconv ()
#6  0x801f2c32 in lazy_initialize_conv ()
#7  0x801f35e5 in convert_string_talloc ()
#8  0x80074c99 in cgi_load_variables ()
#9  0x80071e3c in main ()

A relatively straightforward way to reproduce the crash in gdb is running gdb 
swat, and then typing in
GET /viewconfig HTTP/1.1
Authorization: Basic base64 of user:pass

then grab the xsrf and xsrf_time values in the form displayed...

GET /viewconfig?full_view=Full+Viewxsrf=xsrfxsrf_time=xsrf_time HTTP/1.1
Authorization: Basic base64 of user:pass

and the segfault happens.
With the current v3-6-test git HEAD from the samba git, this doesn't happen. 
The last time this code was touched upstream was in 2009, so I'm not sure a 
code change caused this.

You cannot reproduce the crash if you start swat with -a to skip the
authentication logic, so you need to set up a root password for this to
work.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: swat 2:3.6.3-2ubuntu2.3
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic-pae 3.2.18
Uname: Linux 3.2.0-25-generic-pae i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Wed Jun 20 13:41:39 2012
InstallationMedia: Ubuntu-Server 12.04 LTS Precise Pangolin - Release i386 
(20120424.1)
NmbdLog:
 Packet send failed to 10.0.2.255(138) ERRNO=Invalid argument
   Packet send failed to 10.0.2.255(138) ERRNO=Invalid argument
OtherFailedConnect: Yes
ProcEnviron:
 LANGUAGE=en_IE:en
 TERM=linux
 PATH=(custom, no user)
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
SambaServerRegression: Yes
SmbConfIncluded: Yes
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: samba
 Importance: Unknown
 Status: Unknown

** Affects: samba (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1015935

Title:
  SWAT segfaults when trying to view full configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1015935/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1015935] Re: SWAT segfaults when trying to view full configuration

2012-06-21 Thread Kai Blin
** Bug watch added: Samba Bugzilla #8999
   https://bugzilla.samba.org/show_bug.cgi?id=8999

** Also affects: samba via
   https://bugzilla.samba.org/show_bug.cgi?id=8999
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1015935

Title:
  SWAT segfaults when trying to view full configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1015935/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 790863] Re: Unable to start lxc container after update to 2.6.32-32

2011-12-08 Thread Kai Blin
Ok, my containers do start up again and seem to behave ok. I'm happy to
test this for a more extended period of time.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in Ubuntu.
https://bugs.launchpad.net/bugs/790863

Title:
  Unable to start lxc container after update to 2.6.32-32

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/790863/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 623342] Re: ntlm_auth returns invalid NT_KEY

2010-11-28 Thread Kai Blin
As of 2010-11-16, this bug is not yet confirmed to be fixed. If you want
to help, please test the bugfix on the corresponding Samba bug and
report your results on the Samba bugzilla.

-- 
ntlm_auth returns invalid NT_KEY
https://bugs.launchpad.net/bugs/623342
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 268663] Re: files incoming through nautilus-share should be created with user ownership, instead of nobody

2010-03-10 Thread Kai Blin
See http://lists.samba.org/archive/samba/2006-September/124961.html for
an explanation of the option

-- 
files incoming through nautilus-share should be created with user ownership, 
instead of nobody
https://bugs.launchpad.net/bugs/268663
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 502149] Re: winbindd service and ntlm_auth

2010-01-04 Thread Kai Blin
Being the person responsible for the Wine dependency, here's my take on this:
ntlm_auth without winbindd is technically useless for about every use case 
besides the (still) limited way Wine uses it. Given that most package managers 
go and install recommends, you'd then get (at best) Wine recommending ntlm_auth 
recommending winbindd, which (for all my understanding of packaging) would 
still leave you with winbindd being installed.

In the future (depending on how soon I get around to work on this
again), the coupling between Wine and the Samba Authentication service
(aka winbindd) will increase. Given that most other distros also package
ntlm_auth with the winbind package, I'm not convinced Ubuntu should
deviate from the packaging single-handedly. Of course that's the Ubuntu
packager's decision, not mine. I'd say if winbindd starting up really
bothers you more than the fact that Wine is installed but never used,
I'd suggest you just update-rc.d -f winbindd remove (or however you do
the same with the new system).

-- 
winbindd service and ntlm_auth
https://bugs.launchpad.net/bugs/502149
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286119] Re: firefox 3.0.3 crashes (no SIG) on most pages w/ images when using nss_wins: 8.10beta AMD64

2009-05-01 Thread Kai Blin
Looks like the same bug. Does the patch from the upstream bugtracker fix
it for you?

-- 
firefox 3.0.3 crashes (no SIG) on most pages w/ images when using nss_wins: 
8.10beta AMD64
https://bugs.launchpad.net/bugs/286119
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286119] Re: firefox 3.0.3 crashes (no SIG) on most pages w/ images when using nss_wins: 8.10beta AMD64

2009-05-01 Thread Kai Blin
If you scroll up to the top of the page, you see an affects package
samba that links to the samba bugzilla (link is called samba-bugs). The
patch is in there.

-- 
firefox 3.0.3 crashes (no SIG) on most pages w/ images when using nss_wins: 
8.10beta AMD64
https://bugs.launchpad.net/bugs/286119
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 282298] Re: [SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more

2009-01-06 Thread Kai Blin
Grobot, your smbclient problem is fixed with the fix to bug #264943.

-- 
[SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more
https://bugs.launchpad.net/bugs/282298
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-29 Thread Kai Blin
As requested by Christian, here's a patch for the v3-2-stable tree,
applies to both 3.2.5 and 3.2.6 without any problems.

** Attachment added: Complete patch for segfault, visibility issue and write 
issue.
   http://launchpadlibrarian.net/20795250/bug_5953_complete.patch

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-23 Thread Kai Blin
This is a bit tricky to fix, as we're basically not doing anything
wrong. It seems like the TCP/IP stack and/or the SMB server on the NAS
box doesn't cope with fragmentation. But that's one layer below of our
control, and perfectly valid in TCP networking.

However, Samba developer Volker Lendecke has created a patch that should
fix this in a way we'd include into our code. Thierry, one more patch
for your PPA :)

** Attachment added: Volker's patch for NAS write errors
   http://launchpadlibrarian.net/20682229/bug_5953_iovec.patch

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 282298] Re: [SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more

2008-12-18 Thread Kai Blin
I have to admit that the Nautilus error is all but helpful. Could you
try with smbclient as described by the initial reporter and check if
that works or give the error output from smbclient?

-- 
[SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more
https://bugs.launchpad.net/bugs/282298
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-17 Thread Kai Blin
Thanks for the traces, I'll have a look at them first thing tomorrow.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-17 Thread Kai Blin
Ok, it seems like we're misreporting the byte count in the WriteAndX
request, looking at a fix.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-16 Thread Kai Blin
The ls command in smbclient works just as expected against a Samba
server.  I suspect that the server's handling of the list command is
broken, but I'd need a network trace of this. Ideally for a directory
that contains multiple files with multiple suffixes, running ls, ls
*.one of the suffixes ls filename.* and ls filename.suffix.

However, this is a separate issue as well, so how about you open a new
bug report for this? Feel free to subscribe me to that.

Cheers,
Kai

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-16 Thread Kai Blin
Well, you'd probably see the ERRHRD - 39 bug if you try to put a file
without doing an ls first, on a broken CIFS server. But anyway,
separate report for this, please. We can discuss if it's really
something that should be fixed in Samba that report ;)

A good way to get a working NAS box is to get one that's running a 3.x
version of Samba, in my biased opinion. At least in that case you won't
have any trouble convincing me that any CIFS issues you're seeing are a
Samba problem ;)

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-16 Thread Kai Blin
Ok, seems like we're also tracking the write problem in the same Samba bug, so 
I'd suggest we keep the discussion here after all. I can confirm that if this 
worked with Samba 3.0 and works with Windows, there's a Samba bug we need to 
fix. Could anyone get me a trace of Samba 3.2 trying to put a file onto the NAS 
and Samba 3.0 putting a file onto the NAS?
That's probably easier than working out how to make the NAS accessible from the 
network.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-16 Thread Kai Blin
As a short status update, especially for the Ubuntu packaging folks:
- A patch in Samba 3.2.6 fixes the crash bug, but does not correctly display 
all the directories.
- The patch I posted, which fixes the display problem, has been pushed to the 
v3-2-test branch and will be in the next 3.2. bugfix release.
- Not addressed so far is the smbclient put regression, still working on this.

Ross:
I very much doubt Iomega is shipping a Samba3 install. Samba3 replies to the 
list dir request with an info level 260 reply, info level 1 is _ancient_.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-15 Thread Kai Blin
Hm, our initial guess is that these NAS disks all run the same CIFS
server, which doesn't handle what our smbclient is sending and dies,
giving back a disk full error. It should be unrelated to the segfault
this bug is about, though. I'm still trying to contact the person who
initially added that OS/2 offset check my patch changes, just to make
sure I don't break smbclient for OS/2. Once that's sorted out, I can
push a patch for this issue. I think it would make sense to track the
write error in a separate bug report, as I'm not totally convinced it's
a Samba bug at all. :)

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-12 Thread Kai Blin
The pcap dump (i.e. the binary data, not the text file) was pretty much
what I needed. Thanks alot.

Could anyone try the attached patch on top of current v3-2-test git?

** Attachment added: Fix offset check in interpret_long_filename
   http://launchpadlibrarian.net/20398252/bug_5953_fix.patch

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-11 Thread Kai Blin
This is tracked in a different Samba bug.

** Changed in: samba
 Bugwatch: Samba Bugzilla #5942 = Samba Bugzilla #5953
   Status: Invalid = Unknown

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-11 Thread Kai Blin
Seems like Jeremy Allison pushed a fix for that to git on 2008-12-08
already.

However, the reporter of the samba bug is experiencing the same issues
as rossjenkins. I'll follow up on that.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-09 Thread Kai Blin
I would be wary to remove the offset check. I'm not really into that
code, but removing it will break offsets when there actually is no name
in that Info1 struct. Can anybody provide a tcpdump/wireshark capture
file of a smb connection that causes mentioned segfault?

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 264943] Re: gvfsd-smb crashed with SIGSEGV in strlen()

2008-12-09 Thread Kai Blin
I'll look into this some more tomorrow. This seems to be an issue
introduced in Samba 3.2.x. I should be able to write a test case using
the network trace.

-- 
gvfsd-smb crashed with SIGSEGV in strlen()
https://bugs.launchpad.net/bugs/264943
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 282298] Re: [SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more

2008-11-21 Thread Kai Blin
Yes, that's because Samba disabled the old, insecure lanman auth
authentication scheme per default a couple of versions back. As you
said, it's easy to turn on from the config file. :)

-- 
[SRU] Intrepid: No Access to NAS (samba=2.2.x) shares any more
https://bugs.launchpad.net/bugs/282298
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs