[Samba] Samba -> PANIC: sys_setgroups failed

Jamen McGranahan
Tue, 23 Jun 2009 14:29:58 -0000

Environment: SunOS lib240 5.9 Generic_122300-41 sun4u sparc
SUNW,Sun-Fire-V240
Samba version: 3.3.3

I am hoping someone on here can help. I'm running out of ideas. Samba acts
like it works, giving me data with wbinfo -u and wbinfo -g AND it returns
users in my Active Directory with getent passwd & getent group. However, if
I try to connect to this server (either from itself or from another samba
server), it fails and gives me the following error in the log file:

lib240.log
[2009/06/22 09:31:44,  0] lib/util.c:smb_panic(1673)
  PANIC (pid 5473): sys_setgroups failed
[2009/06/22 09:31:44,  0] lib/util.c:log_stack_trace(1827)
  unable to produce a stack trace on this platform
[2009/06/22 09:31:44,  0] lib/fault.c:dump_core(231)
  dumping core in /usr/local/samba/var/cores/smbd

At first, I thought my idmap uid/gid ranges were too large, so I put them at
10000-20000 (was set to 10000-200000). However, there has been no change
after restarting samba. Here is my smb.conf file:

[global]

        workgroup = VANDERBILT
        netbios name = lib240
        server string = lib240
        security = ADS
        realm = DS.VANDERBILT.EDU
        encrypt passwords = yes
        log file = /opt/samba/var/%m.log
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = no
        domain master = no
        preferred master = no
        dns proxy = no
       winbind use default domain = yes
       template shell = /bin/false
       template homedir = /home/%U
       idmap uid = 10000-20000
       idmap gid = 10000-20000
       name resolve order = wins lmhosts host bcast
       wins server = 129.59.1.15
       winbind enum users = Yes
       winbind enum groups = Yes

Please advise. Thank you!

Jamen McGranahan