Доброго времени суток!
Вертится все на
[size=2][font=Segoe UI, Helvetica Neue, Nimbus Sans L, Arial, Liberation Sans, sans-serif][root@squid squid]# uname -a[/font][/size]
[size=2][font=Segoe UI, Helvetica Neue, Nimbus Sans L, Arial, Liberation Sans, sans-serif]Linux squid 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux[/font][/size]
сам сквид :
[root@squid squid]# squid -v
Squid Cache: Version 3.3.8
configure options: '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-strict-error-checking'
'--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid'
'--with-logdir=$(localstatedir)/log/squid' '--with-pidfile=$(localstatedir)/run/squid.pid' '--disable-dependency-tracking' '--enable-eui'
'--enable-follow-x-forwarded-for' '--enable-auth' '--enable-auth-basic=DB,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB,getpwnam'
'--enable-auth-ntlm=smb_lm,fake' '--enable-auth-digest=file,LDAP,eDirectory' '--enable-auth-negotiate=kerberos'
'--enable-external-acl-helpers=file_userip,LDAP_group,time_quota,session,unix_group,wbinfo_group' '--enable-cache-digests'
'--enable-cachemgr-hostname=localhost' '--enable-delay-pools' '--enable-epoll' '--enable-icap-client' '--enable-ident-lookups'
'--enable-linux-netfilter' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl' '--enable-ssl-crtd'
'--enable-storeio=aufs,diskd,ufs' '--enable-wccpv2' '--enable-esi' '--enable-ecap' '--with-aio' '--with-default-user=squid'
'--with-filedescriptors=16384' '--with-dl' '--with-openssl' '--with-pthreads' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu'
'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -fpie' 'LDFLAGS=-Wl,-z,relro -pie -Wl,-z,relro -Wl,-z,now' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fpie'
'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
squid.conf раздел отвечающий за аутентификацию и авторизацию
auth_param negotiate program /usr/lib64/squid/negotiate_kerberos_auth -d -s HTTP/squid.ya.local
auth_param negotiate children 1000 startup=900 idle=900
auth_param negotiate keep_alive on
external_acl_type ldap_group children-max=1000 children-startup=900 %LOGIN /usr/lib64/squid/ext_ldap_group_acl -b dc=yar,dc=local -f
"(&(sAMAccountType=805306368)(sAMAccountName=%v)(memberOf=cn=%a,ou=proxy,dc=ya,dc=local))" -D ldap@YA.LOCAL -w "pass" -R -K -d -h s76-dc01.ya.local
s76-dc02.ya.local
Вижу в логах что вместо имени пользователя подставляется имя пк в sAMAccountname
Причем все работает....(но есть проблема такая что ИНОГДА не проходит авторизация, то есть человек попадает под последнее запрещающее правило)
Очень надеюсь на вашу помощь! Линуксом и вообще прокси занимаюсь недавно поэтому хотелось бы детально получить ответ
Всем заранее спасибо!
Приложил скрин логов