[Samba] gp_log

David Mulder dmulder at samba.org
Thu Oct 27 15:41:43 UTC 2022


On 10/27/22 9:14 AM, Peter Carlson via samba wrote:
> Is there a way to dump the contents of gp_log?
tdbdump /var/lib/samba/gpo.tdb
>
> what is the location of gp_log?
>
> is there a way to delete individual items, or purge the log - during 
> testing of course?

To purge the entire log:

tdbtool /var/lib/samba/gpo.tdb erase

There isn't an easy way to delete individual items. You'll have to 
modify the individual keys, and you'll notice there is xml stored inside 
the tdb values.

-- 
David Mulder
Labs Software Engineer, Samba
SUSE
1221 S Valley Grove Way, Suite 500
Pleasant Grove, UT 84062
(P)+1 385.208.2989
dmulder at suse.com
http://www.suse.com




More information about the samba mailing list