Displaying 2 results from an estimated 2 matches for "rap_error".
Did you mean:
hap_error
2004 Jun 03
0
ERROR: cli_session_request() failed...
......\n", stderr);
> cli_shutdown(c);
> return (NULL);
> }
On closer inspection, this function is failing on this line:
> if (CVAL(cli->inbuf,0) != 0x82) { <----- error occuring here
> /* This is the wrong place to put the error... JRA. */
> cli->rap_error = CVAL(cli->inbuf,4);
> return False;
> }
The value for cli->inbuf is 0x80d4f28 "\203". My knowledge on C is a bit
limited (admittedly). I am not sure what CVAL does (not in the man
pages). I am also not sure what "inbuf" is in the cli structure, nor
what hex...
2003 Dec 01
0
No subject
...piling libsmb/clifile.c
"libsmb/clifile.c", line 246: warning: argument #1 is incompatible with prototyp
e:
prototype: pointer to struct cli_state {int port, int fd, unsigned short
cnum, unsigned short pid, unsigned short mid, unsigned short vuid, int protocol
, int sec_mode, int rap_error, int privileges, array[256] of char eff_name, arra
y[256] of char desthost, array[256] of char user_name, array[256] of char domain
, array[256] of char server_type, array[256] of char server_os, array[256] of ch
ar server_domain, array[256] of char share, array[256] of char dev, struct nmb_n
ame {...