[Samba] Samba -> PANIC: sys_setgroups failed

Le, Anh anh.le at cognex.com
Tue Jul 19 12:53:38 MDT 2011


Hi,

Hope someone out there can help me on this Samba issue. I'm running out of ideas, I spent days on Google but still have not find any solution yet. Finally, I got Samba 3.5.9 acts like it works, giving me data with wbinfo -u and wbinfo -g AND it returnsusers in my Active Directory with getent passwd & getent group. However, if I try to connect to samba server from windows machines,  it fails and gives me the following error in the log file:


[2011/07/19 14:46:34.402200,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3901): sys_setgroups failed
[2011/07/19 14:46:34.402441,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:34.402593,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2011/07/19 14:46:34.464079,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3902): sys_setgroups failed
[2011/07/19 14:46:34.464311,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:34.464495,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2011/07/19 14:46:35.544332,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3903): sys_setgroups failed
[2011/07/19 14:46:35.544566,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:35.544719,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2011/07/19 14:46:43.749545,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3904): sys_setgroups failed
[2011/07/19 14:46:43.749784,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:43.749939,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2011/07/19 14:46:43.812804,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3905): sys_setgroups failed
[2011/07/19 14:46:43.813037,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:43.813217,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2011/07/19 14:46:43.874345,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 3906): sys_setgroups failed
[2011/07/19 14:46:43.874577,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2011/07/19 14:46:43.874732,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd

Here is my smb.conf...

[global]
        workgroup = MYDOMAIN
        realm = MYDOMAIN.COM
        preferred master = no
        server string = Samba %v - %h
        security = ADS
        encrypt passwords = yes

        inherit acls = Yes
        debug level = 0
        log file = /var/log/smb.log

        winbind enum users = no
        winbind enum groups = no
        winbind use default domain = Yes
        winbind nested groups = Yes
        winbind separator = +
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        ;template primary group = "Domain Users"

Please help. Thanks a lot in advance.

Anh.


More information about the samba mailing list