mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r18823: Fix some errors in the srsvc handling code and start running the RPC-SRVSVC
test against samba3.
(This used to be commit f0508ecb44
)
This commit is contained in:
parent
7fdd258c39
commit
387bfebfcf
@ -803,6 +803,7 @@ static void init_srv_sess_info_1(pipes_struct *p, struct srvsvc_NetSessCtr1 *ss1
|
||||
}
|
||||
|
||||
if (ss1 == NULL) {
|
||||
if (snum != NULL)
|
||||
(*snum) = 0;
|
||||
return;
|
||||
}
|
||||
@ -867,6 +868,7 @@ static WERROR init_srv_sess_info_ctr(pipes_struct *p, union srvsvc_NetSessCtr *c
|
||||
break;
|
||||
default:
|
||||
DEBUG(5,("init_srv_sess_info_ctr: unsupported switch value %d\n", switch_value));
|
||||
if (resume_hnd != NULL)
|
||||
(*resume_hnd) = 0;
|
||||
(*total_entries) = 0;
|
||||
ctr->ctr0 = NULL;
|
||||
@ -887,6 +889,7 @@ static void init_srv_conn_info_0(pipes_struct *p, struct srvsvc_NetConnCtr0 *ss0
|
||||
(*stot) = 1;
|
||||
|
||||
if (ss0 == NULL) {
|
||||
if (snum != NULL)
|
||||
(*snum) = 0;
|
||||
return;
|
||||
}
|
||||
@ -928,6 +931,7 @@ static void init_srv_conn_info_1(pipes_struct *p, struct srvsvc_NetConnCtr1 *ss1
|
||||
(*stot) = 1;
|
||||
|
||||
if (ss1 == NULL) {
|
||||
if (snum != NULL)
|
||||
(*snum) = 0;
|
||||
return;
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ raw="$raw RAW-QFILEINFO RAW-QFSINFO RAW-READ RAW-RENAME RAW-SEARCH RAW-SEEK"
|
||||
raw="$raw RAW-SFILEINFO RAW-SFILEINFO-BUG RAW-STREAMS RAW-UNLINK RAW-WRITE"
|
||||
raw="$raw RAW-SAMBA3HIDE RAW-SAMBA3BADPATH"
|
||||
|
||||
rpc="RPC-AUTHCONTEXT RPC-BINDSAMBA3 RPC-SAMBA3-SRVSVC RPC-SAMBA3-SHARESEC RPC-UNIXINFO"
|
||||
rpc="RPC-AUTHCONTEXT RPC-BINDSAMBA3 RPC-SAMBA3-SRVSVC RPC-SAMBA3-SHARESEC RPC-UNIXINFO RPC_SRVSVC"
|
||||
|
||||
if test x$RUN_FROM_BUILD_FARM = xyes; then
|
||||
rpc="$rpc RPC-NETLOGSAMBA3 RPC-SAMBA3SESSIONKEY RPC-SAMBA3-GETUSERNAME"
|
||||
|
Loading…
Reference in New Issue
Block a user