BUG: Incompatibility between Samba & Secure kernels (fwd)

Gerald Carter gcarter at valinux.com
Thu Jul 5 13:25:28 GMT 2001

Forwarded to samna-technical....

---------- Forwarded message ----------
Date: Thu, 5 Jul 2001 11:33:23 +0200 (CEST)
From: Xavier ROCHE <roche at serianet.com>
To: samba at lists.samba.org
Subject: BUG: Incompatibility between Samba & Secure kernels


There is an incompatibility between Samba (tested version: 2.0.8) and
secure kernels (2.2.28 with security patch, available at

The incompatibility seems to cause problems with shared memory, and
especially locks/sysv_shm_open

The diagnostic can be established in the smb logs:
  ERROR: Failed to initialise share modes
[2001/07/05 10:10:33, 0] locking/shmem_sysv.c:sysv_shm_open(667)

The problems are: random connection refused on port 139, causing the
server to appear "dead", and causing other network neighbourhood problems,
especially when samba is elected as browse master/domain master (the
whole network seems "down")

Once security disabled in the SECURITY section, everything seems to work
fine (no errors in the logs). I didn' have yet found exacly which
security option is causing this mess, but I can try to compile several
kernel releases and try to activate each option at time.

Is there a way to specify an option in smb.conf to disable shared memory,
or to disable shared memory automatically when secured kernels are being

Xavier Roche
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba-technical mailing list