refuse the bind. */
status = auth_generic_server_check_flags(gensec_security,
- (auth_level ==
- DCERPC_AUTH_LEVEL_INTEGRITY),
+ (auth_level >=
+ DCERPC_AUTH_LEVEL_PACKET),
(auth_level ==
DCERPC_AUTH_LEVEL_PRIVACY));
if (!NT_STATUS_IS_OK(status)) {
switch (p->auth.auth_level) {
case DCERPC_AUTH_LEVEL_NONE:
+ case DCERPC_AUTH_LEVEL_PACKET:
case DCERPC_AUTH_LEVEL_INTEGRITY:
case DCERPC_AUTH_LEVEL_PRIVACY:
break;