[Samba] smbd daemon crash when connect to shared folder

2012-11-02 Thread Le, Anh
Hi Jeremy,

I have a few Solaris 8 machines. They all have exactly the same Samba version 
installed and configurations,  and they are working fine. I have no problem to 
connect to their shared locations from the Windows machines. However, somehow 
it does not work on this machine. I checked everything and they all the same 
setup, but it works on others and not on this machine. Would you have any idea? 
I appreciate it.

By the way, I appreciate very much for you quick response.

Thanks
Anh.

-Original Message-
From: Jeremy Allison [mailto:j...@samba.org]
Sent: Thursday, November 01, 2012 5:35 PM
To: Le, Anh
Cc: samba@lists.samba.org
Subject: Re: [Samba] smbd daemon crash when connect to shared folder

On Thu, Nov 01, 2012 at 03:40:52PM -0400, Le, Anh wrote:
 Hi All,
 
 I've installed and configured Samba 3.5.11 on a Solaris 8 machine. I 
 was able to join it to the 2008 R2 AD. However, its smbd daemon is 
 crashed everytime I connect to its shared folder from the windows 
 machine, so I'm not able to connect to its shared folders. Below is 
 its log from smb.log file. Is there anyone has any idea what cause the 
 problem? I appreciate very much
 
 Regards,
 
 Anh
 
 [2012/11/01 14:38:29.737077,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1515): sys_setgroups failed
 [2012/11/01 14:38:29.737982,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.738879,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd
 [2012/11/01 14:38:29.907709,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1516): sys_setgroups failed
 [2012/11/01 14:38:29.908671,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.909428,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd

Almost certainly too many groups for your poor Solaris 8 machine (which has a 
limit of 16 groups per process I believe).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] smbd daemon crash when connect to shared folder

2012-11-01 Thread Le, Anh
Hi All,

I've installed and configured Samba 3.5.11 on a Solaris 8 machine. I was able 
to join it to the 2008 R2 AD. However, its smbd daemon is crashed everytime I 
connect to its shared folder from the windows machine, so I'm not able to 
connect to its shared folders. Below is its log from smb.log file. Is there 
anyone has any idea what cause the problem? I appreciate very much

Regards,

Anh

[2012/11/01 14:38:29.737077,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 1515): sys_setgroups failed
[2012/11/01 14:38:29.737982,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2012/11/01 14:38:29.738879,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd
[2012/11/01 14:38:29.907709,  0] lib/util.c:1468(smb_panic)
  PANIC (pid 1516): sys_setgroups failed
[2012/11/01 14:38:29.908671,  0] lib/util.c:1622(log_stack_trace)
  unable to produce a stack trace on this platform
[2012/11/01 14:38:29.909428,  0] lib/fault.c:326(dump_core)
  dumping core in /usr/local/samba/var/cores/smbd

Here is my krb5.conf file

# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident @(#)krb5.conf  1.4 07/11/14 SMI
#

# krb5.conf template
# In order to complete this configuration file
# you will need to replace the __name__ placeholders
# with appropriate values for your network and uncomment the
# appropriate entries.
#
[libdefaults]
default_realm = DOMAIN.COM
default_tgs_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5 
des3-hmac-sha1
default_tkt_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5 
des3-hmac-sha1
#   dns_lookup_kdc = true
#   verify_ap_req_nofail = false
clockskew = 300

[realms]
DOMAIN.COM = {
kdc = kdc1.domain.com
 kdc = kdc2.domain.com
  kdc = kdc3.domain.com
admin_server = kdc1.domain.com
default_domain = domain.com
}


[domain_realm]
   .kerberos.server = DOMAIN.COM
   domain.com = DOMAIN.COM
   .domain.com = DOMAIN.COM

[logging]
default = FILE:/var/krb5/kdc.log
kdc = FILE:/var/log/kdc.log
kdc_rotate = {

# How often to rotate kdc.log. Logs will get rotated no more
# often than the period, and less often if the KDC is not used
# frequently.

period = 1d

# how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...)

versions = 10
}

[appdefaults]
#   kinit = {
#   renewable = true
#   forwardable= true
kinit = {
debug = false
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 500
try_first_pass = true
}
gkadmin = {
help_url = 
http://docs.sun.com:80/ab2/coll.384.1/SEAM/@AB2PageView/1195

Here is my smb.conf file

# Samba config file created using SWAT
# Date: 2005/03/19 12:43:32

# Global parameters
[global]
workgroup = DOMAIN.COM
realm = DOMAIN.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 = yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind nested groups = Yes
winbind separator = +
;template primary group = Domain Users

#   idmap domains = DOMAIN
idmap config DOMAIN:backend = ad
idmap config DOMAIN:default = yes
idmap config DOMAIN:readonly = yes
idmap config DOMAIN:range = 8000-5
idmap config DOMAIN:schema = rfc2307
idmap alloc backend = tdb
idmap alloc config:range = 2000-3000

load printers = No
disable spoolss = Yes
printcap name = /dev/null

[mu]
comment = Mu lock views
path = /home/mu
   read only = No
create mask = 0775
directory mask = 0775

[vbstor]
comment = Mu lock vob
path = /vobstor
read only = No
create mask = 0775
directory mask = 0775
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] smbd daemon crash when connect to shared folder

2012-11-01 Thread Jeremy Allison
On Thu, Nov 01, 2012 at 03:40:52PM -0400, Le, Anh wrote:
 Hi All,
 
 I've installed and configured Samba 3.5.11 on a Solaris 8 machine. I was able 
 to join it to the 2008 R2 AD. However, its smbd daemon is crashed everytime I 
 connect to its shared folder from the windows machine, so I'm not able to 
 connect to its shared folders. Below is its log from smb.log file. Is there 
 anyone has any idea what cause the problem? I appreciate very much
 
 Regards,
 
 Anh
 
 [2012/11/01 14:38:29.737077,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1515): sys_setgroups failed
 [2012/11/01 14:38:29.737982,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.738879,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd
 [2012/11/01 14:38:29.907709,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1516): sys_setgroups failed
 [2012/11/01 14:38:29.908671,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.909428,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd

Almost certainly too many groups for your poor Solaris 8 machine
(which has a limit of 16 groups per process I believe).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba