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-----
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical