summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 10:55:14 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 10:55:14 +0100
commit221a2a9a5f974fd428e83753af1b70f37332e184 (patch)
treee8d190644d504b22f73ddfa980307feba8f06a9d /source3/rpc_server
parent48d2990d8c9bfb0037ee2b5386271398ee1492be (diff)
downloadsamba-221a2a9a5f974fd428e83753af1b70f37332e184.tar.gz
samba-221a2a9a5f974fd428e83753af1b70f37332e184.tar.bz2
samba-221a2a9a5f974fd428e83753af1b70f37332e184.zip
Copy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.
Guenther (This used to be commit 26eadadbf628f4d3aa4cd0ab4b55d47dc79c80ba)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_eventlog_nt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c
index 9250c0fa4f..1d9925a555 100644
--- a/source3/rpc_server/srv_eventlog_nt.c
+++ b/source3/rpc_server/srv_eventlog_nt.c
@@ -662,6 +662,19 @@ NTSTATUS _eventlog_open_eventlog( pipes_struct * p,
_eventlog_ClearEventLogW
This call still needs some work
********************************************************************/
+/** The windows client seems to be doing something funny with the file name
+ A call like
+ ClearEventLog(handle, "backup_file")
+ on the client side will result in the backup file name looking like this on the
+ server side:
+ \??\${CWD of client}\backup_file
+ If an absolute path gets specified, such as
+ ClearEventLog(handle, "C:\\temp\\backup_file")
+ then it is still mangled by the client into this:
+ \??\C:\temp\backup_file
+ when it is on the wire.
+ I'm not sure where the \?? is coming from, or why the ${CWD} of the client process
+ would be added in given that the backup file gets written on the server side. */
NTSTATUS _eventlog_ClearEventLogW(pipes_struct *p,
struct eventlog_ClearEventLogW *r)