1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-16 11:33:16 +03:00

s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data

This commit is contained in:
Simo Sorce
2010-07-20 13:26:36 -04:00
parent 1e915d231d
commit 2463a87177
11 changed files with 264 additions and 217 deletions

View File

@@ -321,7 +321,8 @@ bool pipe_access_check(struct pipes_struct *p)
if (lp_restrict_anonymous() > 0) {
/* schannel, so we must be ok */
if (p->pipe_bound && (p->auth.auth_type == PIPE_AUTH_TYPE_SCHANNEL)) {
if (p->pipe_bound &&
(p->auth.auth_type == DCERPC_AUTH_TYPE_SCHANNEL)) {
return True;
}