[Samba] Invalid key 0 given to dptr_close

Joe Cammisa jcammisa at haverford.edu
Wed Apr 27 12:28:50 MDT 2011


can anyone tell me what these sorts of errors in log.smbd mean?  my searches
thus far haven't uncovered anything at all recent

[2011/04/25 23:19:43,  0] smbd/dir.c:292(dptr_close)
  Invalid key 0 given to dptr_close

we have samba 3.4.8 running under solaris10; the number of clients ranges
between 30-100 at any given time.  all works flawlessly for months at a
time, yet every few months or so, smb connection attempts are no longer
answered, current connections begin to die off and system resources appear
starved enough that, eg, nfs exports go unresponsive and incoming ssh
connections time out (though existing shell sessions behave as normal).

though the system logs show nothing wrong, netstat indicates significantly
more connections over port 139 than actual smbd processes (never the case
under normal circumstances).  as everything begins to spiral down the
toilet, log.smbd begins to record more and more error messages like the one
mentioned above before it too craps out.  stopping the parent smbd process &
killing (-14) it's remaining children is not enough to get the system
functional again (eg, it still times out on incoming ssh connections,
etc)--only a full restart seems sufficient.

immediately before the other night's crash, log.smbd appears to record a mac
user (can tell by all the resource forks) dropping off a few hundred file
system objects at once; not 100% sure this is the problem, but all else
looks normal.  has anyone else seen such a problem before?  anyone have any
ideas on how to go about nailing down the problem or finding a solution?

smb.conf looks like this:

[global]
workgroup = WORKGROUP
netbios name = STORAGE
server string = STORAGE
bind interfaces only = True
interfaces = bge0 999.999.999.999
deadtime = 20
debug level = 2
security = user
password level = 8
encrypt passwords = yes
socket options = TCP_NODELAY
follow symlinks = yes
wide links = yes
unix extensions = no
[user_partition]
comment = user_partition...
path = /samba_vol/users
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = permissions

thanks, everyone for your attention and (hopefully) ideas...

-joe



---------- Forwarded message ----------
From: Joe Cammisa <jcammisa at haverford.edu>
Date: Fri, Aug 20, 2010 at 1:44 PM
Subject: samba mailing list post fyi..
To: rhinojos at haverford.edu




---------------------------- Original Message ----------------------------
Subject: [Samba] samba 3.4.8 / solaris / unix secondary groups
From:    "Joe Cammisa" <jcammisa at haverford.edu>
Date:    Fri, August 20, 2010 12:40 pm
To:      samba at lists.samba.org
--------------------------------------------------------------------------


samba-3.4.8 built under solaris_10 (--with-krb5=/usr/local/lib --with-ads
--with-ldap); on my test server it runs flawlessly; however on the
production server, there is a big exception:  users' secondary group
memberships are not honored.

relevant portions of smb.conf (the same on both servers, save for the ip
addys) are as follows:

[global]
workgroup = WORKGROUP
netbios name = BLABLA
server string = SAMBA
bind interfaces only = True
interfaces = bge0 199.99.99.99
deadtime = 20
debug level = 2
security = user
password level = 8
encrypt passwords = yes
socket options = TCP_NODELAY
follow symlinks = yes
wide links = yes
unix extensions = no
[stuff]
comment = stuff...
path = /vol1/stuff
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
map acl inherit = Yes
map archive = No
map readonly = permissions

again, same samba version, built against the same libraries in the same
way with the same config file in both cases.  any one with an idea how i
might make this work?  many thanks in advance!!

-joe

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



--

 Joe Cammisa
 Networking & Systems
 College Information Resources
 Haverford College

 phone:  1-610-896-4239
 email:  jcammisa at haverford.edu


More information about the samba mailing list