Storing pipe opens in the share_mode db ?

Gerald (Jerry) Carter jerry at samba.org
Wed Jun 7 23:02:46 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>  Lendecke wrote:

> No, that does not sound weird at all. If we 
> really need that information for completeness, I think
> the opendb is the place to store it. It might
> put even more load on it which might hit us
> in the cluster case (yet to be defined...) but
> for the pure local tdb case it sounds ok. As long 
> as we don't get share mode conflicts here :-)

:-)  NetFileEnum() has to include share connections,
file, directories and pipe opens.

btw..I don't want to change the in-memory list of
pipe handles.  Just log them to the tdb.  Similar
to how we use the 'struct connection_data' for
'max connections' or 'max smbd processes'.

> Device/Inode? Good question. Is 0xfffffff a valid 
> device number? Inodes are simple: Entry# in the
> samba3 pipe table.

ok.  I'll try that.  The harder part might be
NetFileClose().  Would have to be an admin msg
telling the owning process to close the file.


Thanks.



cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEh1sWIR7qMdg1EfYRAiZGAKDcyQdPaqONKCwKtUJaAacqXzmsUACg6ipZ
7BxjZJIjtL5qdP/kRt5xWJw=
=9axK
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list