CVS update: samba/source/lib
Andrew Bartlett
abartlet at samba.org
Thu Feb 12 11:47:58 GMT 2004
On Thu, 2004-02-12 at 16:24, jerry at samba.org wrote:
> Date: Thu Feb 12 05:24:02 2004
> Author: jerry
>
> Update of /data/cvs/samba/source/lib
> In directory dp.samba.org:/tmp/cvs-serv31267/lib
>
> 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 pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- 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 : http://lists.samba.org/archive/samba-technical/attachments/20040212/288799e3/attachment.bin
More information about the samba-technical
mailing list