CVS update: samba/source/lib

Andrew Bartlett abartlet at
Thu Feb 12 11:47:58 GMT 2004

On Thu, 2004-02-12 at 16:24, jerry at wrote:
> Date:	Thu Feb 12 05:24:02 2004
> Author:	jerry
> Update of /data/cvs/samba/source/lib
> In directory
> Modified Files:
>       Tag: SAMBA_3_0
> 	util.c 
> Added Files:
>       Tag: SAMBA_3_0
> 	dummysmbd.c 
> Log Message:
> merge from old APP_HEAD
> * remove corrupt tdb and shutdown (only for printing tdbs, connections, 
>   sessionid & locking)
> * decrement smbd counter in connections.tdb in smb_panic()

This scares me.  In a signal handler, we are going to open a tdb, and
complete various manipultations of our core databases?

I realise we need a way to reset the process count, but this seems like
any easy way to get all sorts of mess in our tdbs.  

Can we safely manipulate a tdb in this case, or am I missing something?

I would prefer a scheme were we 'validate' that number, against
currently alive pids and their records in the connections.tdb.  (But I
realise that has race problems and other complexity).

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list