mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
Copy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.
Guenther (This used to be commit 26eadadbf628f4d3aa4cd0ab4b55d47dc79c80ba)
This commit is contained in:
parent
48d2990d8c
commit
221a2a9a5f
@ -262,20 +262,6 @@ bool eventlog_io_r_read_eventlog(const char *desc,
|
||||
return True;
|
||||
}
|
||||
|
||||
/** 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. */
|
||||
|
||||
bool eventlog_io_q_clear_eventlog(const char *desc, EVENTLOG_Q_CLEAR_EVENTLOG *q_u,
|
||||
prs_struct *ps, int depth)
|
||||
{
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user