Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 161942

Summary: SELinux blocks squid ntlm helper
Product: Red Hat Enterprise Linux 4 Reporter: Reggy Ekkebus <rekkebus>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: RHBA-2005-645 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 16:34:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 156322    

Description Reggy Ekkebus 2005-06-28 16:43:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Description of problem:
This is what i get when i start squid:

audit(1119976504.369:0): avc:  denied  { search } for  pid=3576 exe=/usr/bin/ntlm_auth name=samba dev=sda2 ino=145480 scontex
t=root:system_r:squid_t tcontext=system_u:object_r:samba_etc_t tclass=dir

This is propably due to enabling ntlm authentication in squid.


auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 30
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Put above config in your squid.conf
2.service squid start

Actual Results:  squid's ntlm helper is blocked

Expected Results:  squid's ntlm helper should not be blocked/denied

Additional info:

The error accurs a few times for every child.

Comment 1 Daniel Walsh 2005-07-11 18:21:56 UTC
Fixed in selinux-policy-targeted-1.25.1-7

Comment 2 Red Hat Bugzilla 2005-10-05 16:34:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.