[Bug 341816] Re: samba PANIC: failed to set uid

2009-03-30 Thread Jan Schneider
Sorry, as I said before, I can't try the package because it is a
productive environment...

-- 
samba PANIC: failed to set uid
https://bugs.launchpad.net/bugs/341816
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 341816] Re: samba PANIC: failed to set uid

2009-03-16 Thread Jan Schneider
Yes, i have seen a lot of similar bug reports too, but all of them were
unresolved.

When the problem appeared we checked a lot of configuration issues.
The problem seems NOT to be user or client specific.
The users where the PANIC appeared:
 - had a unix account
 - a samba account with the same uid
 - no special ulimits set
 - no group membership which seems to be responsible for the problem
 - su user did work, opening files as this user did work, no messages like: 
to many open files...

# getent passwd 11789
diehl:x:11789:11700::/home/diehl:/bin/bash

# pdbedit -L -u diehl
diehl:11789:

# su - diehl -c 'ulimit -u'
30720

# getent group 11700
groupname:x:11700:

# net groupmap list | grep groupname
groupname (SID) - groupname

Samba worked without any problems if there were less than about 100
clients/users connected.

Volker Lendecke from SerNet proposed to set change notify = no as a
workaround, which we did not really test.

If you need more information, please let me know, but since this server
acts as a domain controller in an productive environment I cannot
reproduce the bug.

-- 
samba PANIC: failed to set uid
https://bugs.launchpad.net/bugs/341816
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 341816] [NEW] samba PANIC: failed to set uid

2009-03-12 Thread Jan Schneider
Public bug reported:

Binary package hint: samba

Samba crashes with the following backtrace:

[2009/02/27 10:30:21, 0] lib/util_sec.c:assert_uid(101) 
  Failed to set uid privileges to (11789,11789) now set to (0,0) 
[2009/02/27 10:30:21, 0] lib/util.c:smb_panic(1633) 
  PANIC (pid 27857): failed to set uid 
   
[2009/02/27 10:30:21, 0] lib/util.c:log_stack_trace(1737) 
  BACKTRACE: 15 stack frames: 
   #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x613b4c] 
   #1 /usr/sbin/smbd(smb_panic+0x43) [0x613c33] 
   #2 /usr/sbin/smbd [0x618cf1] 
   #3 /usr/sbin/smbd [0x61b8ab] 
   #4 /usr/sbin/smbd [0x61] 
   #5 /usr/sbin/smbd(messaging_send+0x20) [0x61bfd0] 
   #6 /usr/sbin/smbd(notify_trigger+0x2a1) [0x64a0e1] 
   #7 /usr/sbin/smbd(notify_fname+0x50) [0x648440] 
   #8 /usr/sbin/smbd(rename_internals+0xdca) [0x48f3ea] 
   #9 /usr/sbin/smbd(reply_mv+0x239) [0x4966c9] 
   #10 /usr/sbin/smbd [0x4c87ce] 
   #11 /usr/sbin/smbd(smbd_process+0x7e2) [0x4c9bc2] 
   #12 /usr/sbin/smbd(main+0x8cd) [0x6c5fad] 
   #13 /lib/libc.so.6(__libc_start_main+0xf4) [0x7fae3332f1c4] 
   #14 /usr/sbin/smbd [0x45a899] 
[2009/02/27 10:30:21, 0] lib/fault.c:dump_core(181) 
  dumping core in /var/log/samba/cores/smbd 


Seems not to be client-specific.
Occures only with more than about 100 clients connected.

Ubuntu version: 8.04.2 (amd64)
Samba version: 3.0.28a-1ubuntu4.7

FIX:
Build the sernet samba packages from source (3.0.34):
http://ftp.sernet.de/pub/samba/old/src/debian/3.0.34

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

-- 
samba PANIC: failed to set uid
https://bugs.launchpad.net/bugs/341816
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