first stab at SSPI leaving gss calls in
This commit is contained in:
parent
32f9fa9334
commit
b9494c3ccc
17 changed files with 1380 additions and 677 deletions
|
|
@ -330,10 +330,10 @@ xdrrec_getpos(xdrs)
|
|||
XDR *xdrs;
|
||||
{
|
||||
RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
|
||||
off_t pos;
|
||||
off_t pos = 0;
|
||||
|
||||
//pos = lseek((int)(u_long)rstrm->tcp_handle, (off_t)0, 1);
|
||||
pos = _lseek((int)PtrToUlong(rstrm->tcp_handle), (off_t)0, 1);
|
||||
//pos = _lseek((int)PtrToUlong(rstrm->tcp_handle), (off_t)0, 1);
|
||||
if (pos != -1)
|
||||
switch (xdrs->x_op) {
|
||||
|
||||
|
|
@ -391,6 +391,28 @@ xdrrec_setpos(xdrs, pos)
|
|||
return (FALSE);
|
||||
}
|
||||
|
||||
int32_t *
|
||||
xdrrec_getoutbase(xdrs)
|
||||
XDR *xdrs;
|
||||
{
|
||||
RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
|
||||
int32_t *buf = NULL;
|
||||
|
||||
switch (xdrs->x_op) {
|
||||
|
||||
case XDR_ENCODE:
|
||||
buf = rstrm->out_base;
|
||||
break;
|
||||
|
||||
case XDR_DECODE:
|
||||
break;
|
||||
|
||||
case XDR_FREE:
|
||||
break;
|
||||
}
|
||||
return (buf);
|
||||
}
|
||||
|
||||
static int32_t *
|
||||
xdrrec_inline(xdrs, len)
|
||||
XDR *xdrs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue