[Samba] obtaining information like swat

Pupeno pupeno at pupeno.com.ar
Sat Feb 9 01:29:05 GMT 2002


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

Hi, I'm making a program to see samba's status from KDE, I have to do it at 
my job, but it will be opensource obviously...
I wanted to obtain all the information that swat obtains (Active conection 
list, active share list, open file list) and then make a tree show or 
something, I didn't know how to obtain the active conection list, so I 
started looking at swat code but I've found that it uses samba code to do it, 
to open that .tdb files that I imagine is a particular type of 'binary' file 
for samba.
So, do you know how can my program obtain that information (not having to 
reimplemente half of samba functions) ? and any information about obtaining 
status of samba to make my program better would be nice.
Thank you.
- -- 
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8ZOpXWhjnmGRO4vQRArYOAKC7vlVXvQiLYjQKgvVKQL7afPkoGgCfcGCl
zTf0GMI20VkKQE+DZZ6L3Xk=
=L74G
-----END PGP SIGNATURE-----




More information about the samba mailing list