Found the source in locking.c - no idea why it is finding returning this as
true. The log entries I am getting don't seem to be the same - eg:
PANIC: share_modes_identical: share_mode missmatch (e1 = 18, e2 = 32832).
Logic error.
PANIC: PANIC: share_modes_identical logic error.
PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64). Logic
error.
PANIC: PANIC: share_modes_identical logic error.
But they are consistently these values. I have backed out to 2.2.3a to get
the users on line for the moment.
Noel
/*******************************************************************
Check if two share mode entries are identical, ignoring oplock
and port info and desired_access.
********************************************************************/
BOOL share_modes_identical( share_mode_entry *e1, share_mode_entry *e2)
{
#if 1 /* JRA PARANOIA TEST - REMOVE LATER */
if (e1->pid == e2->pid &&
e1->share_file_id == e2->share_file_id &&
e1->dev == e2->dev &&
e1->inode == e2->inode &&
(e1->share_mode & ~DELETE_ON_CLOSE_FLAG) !=
(e2->share_mode
& ~DELETE_ON_CLOSE_FLAG)) {
DEBUG(0,("PANIC: share_modes_identical: share_mode
missmatch (e1 = %u, e2 = %u). Logic error.\n",
(unsigned int)(e1->share_mode &
~DELETE_ON_CLOSE_FLAG),
(unsigned int)(e2->share_mode &
~DELETE_ON_CLOSE_FLAG) ));
smb_panic("PANIC: share_modes_identical logic
error.\n");
}
#endif
-----Original Message-----
From: Noel Kelly
Sent: 07 May 2002 08:55
To: 'samba@lists.samba.org'
Cc: samba-technical@lists.samba.org
Subject: [Samba] Problems - 2.2.4
Hi,
Just got my 2.2.3a system upgraded to 2.2.4 on 2.2.20 kernel with ACL
patches. Users are getting bombed when accessing their shares and in the
logs I am getting this:
[2002/05/07 08:48:22, 0] locking/locking.c:share_modes_identical(560)
PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64).
Logic error.
[2002/05/07 08:48:22, 0] lib/util.c:smb_panic(1092)
PANIC: PANIC: share_modes_identical logic error.
I have tried searching for this and can only find Jeremy's original source
code. Anyone have any ideas what is going on here ?
Thanks
Noel Kelly
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba