summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-23 15:00:17 +0100
committerGünther Deschner <gd@samba.org>2009-02-04 19:01:31 +0100
commit21d23bf7e893aa8afc128af419135f4d37b080f9 (patch)
tree6862d138fb81432ec1edf64f49ef5a4e08e2aead /source3/utils/net.c
parent65200328eea3ab2179796ecf88a7ef276f8e2c9c (diff)
downloadsamba-21d23bf7e893aa8afc128af419135f4d37b080f9.tar.gz
samba-21d23bf7e893aa8afc128af419135f4d37b080f9.tar.bz2
samba-21d23bf7e893aa8afc128af419135f4d37b080f9.zip
s3-net: add "net eventlog dump".
This allows to dump a native (non-wrapped) win32 *.evt eventlog file. Guenther
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index c9525ab2eb..d483198a9e 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -589,6 +589,14 @@ static struct functable net_func[] = {
" Use 'net help lua' to get more information about 'net "
"lua' commands."
},
+ { "eventlog",
+ net_eventlog,
+ NET_TRANSPORT_LOCAL,
+ "Dump Win32 *.evt eventlog files",
+ " Use 'net help eventlog' to get more information about 'net "
+ "eventlog' commands."
+ },
+
#ifdef WITH_FAKE_KASERVER
{ "afs",
net_afs,