[Samba] gp_log

Peter Carlson peter at howudodat.com
Thu Oct 27 15:49:44 UTC 2022


On 10/27/22 08:41, David Mulder via samba wrote:
>
> 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.
>
perfect!  dumping revealed where my error in storing the policies was.  
purging is fine as this is all still just dev and test



More information about the samba mailing list