client.c clientutil.c proto.h
authorLuke Leighton <lkcl@samba.org>
Sat, 1 Nov 1997 19:20:29 +0000 (19:20 +0000)
committerLuke Leighton <lkcl@samba.org>
Sat, 1 Nov 1997 19:20:29 +0000 (19:20 +0000)
commitc533c0755398219036360cf4131251a146995731
treecb0765835de67d41449e53f40fd7db1fb33c9efa
parent9b1b14155b88d97e8351f28b875126513d6aa566
client.c clientutil.c proto.h
rpc_pipes/ntclientlsa.c rpc_pipes/ntclientnet.c
rpc_pipes/ntclientpipe.c :

added extra argument to cli_call_api() to allow specifying the length of
the \PIPE\ name.  it appears that, like when the name of the pipe is NULL
and OS-2 requires two extra bytes _after_ the NULL name, that NT requires
two bytes after the NULL-terminated name "\PIPE\".  these two bytes vary,
but values seen so far are: 0x72 0x70; 0x63 0x65; 0x44 0x65; 0x4E 0x00.

there appears not to be much logic to this.  purpose unknown.

ntclient.c:

put Set Named Pipe Handle State call directly after SMBopenX call.
(This used to be commit 54c245be152e5fa8f5b535c93f8d11c5f591e23f)
source3/client/client.c
source3/client/clientutil.c
source3/client/ntclient.c
source3/include/proto.h