reading locking.tdb file
Gerald (Jerry) Carter
jerry at samba.org
Sat May 28 19:03:38 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Julien Thomas wrote:
> Hi samba-internal,
>
> When reading the locking.tdb file, as smbstatus do, I can get the
> following informations :
> - process pid
> - time since locked by pid
> - filename
>
> Is there a plateform independant way to get the user uid or name (uid is
> good) from the pid ?
You should be able to open session.tdb and get the information.
See the 'smbstatus -u' details in Samba 3.
cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCmMCKIR7qMdg1EfYRAjjiAKCFYbsGodRZrvgexVfLlMtUlvd1LACfYhgw
DdRfRrHXF93KAFrglLf9uYU=
=P/iw
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list