svn commit: samba r11761 - branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/rpc_server branches/SAMBA_3_0/source/script trunk/source/include trunk/source/rpc_server trunk/source/script

jerry at samba.org jerry at samba.org
Thu Nov 17 20:09:00 GMT 2005


Author: jerry
Date: 2005-11-17 20:08:59 +0000 (Thu, 17 Nov 2005)
New Revision: 11761

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11761

Log:
* fix clearing of event logs by truncating the tdb.
  This feature got broken in some of the other updates.
  Now each open handle stores an pointer to an open tdb
  data structure (not the tdb pointer itself).
  Clearing can be done with a simple elog_close_tdb( elog, True )
  to force a close and then calling elog_open_tdb( logname, True )
  to force an tdb truncate.  Permissions on existing tdbs are
  maintained which is important.

* We don't currently handle backup.  Haven't looked at the
  format of a backuped up eventlog to know what the deal is.



Modified:
   branches/SAMBA_3_0/source/include/rpc_eventlog.h
   branches/SAMBA_3_0/source/rpc_server/srv_eventlog_lib.c
   branches/SAMBA_3_0/source/rpc_server/srv_eventlog_nt.c
   branches/SAMBA_3_0/source/script/mkproto.awk
   trunk/source/include/rpc_eventlog.h
   trunk/source/rpc_server/srv_eventlog_lib.c
   trunk/source/rpc_server/srv_eventlog_nt.c
   trunk/source/script/mkproto.awk


Changeset:
Sorry, the patch is too large (783 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11761


More information about the samba-cvs mailing list