<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>20395</bug_id>
          
          <creation_ts>2009-06-09 19:58:19 +0400</creation_ts>
          <short_desc>Не работает конфигурация прокси-сервера Обычный-PAM</short_desc>
          <delta_ts>2009-07-02 18:06:27 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>squid-helpers</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20665</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>distro-blocker</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>19564</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>aen</cc>
    
    <cc>egori</cc>
    
    <cc>inger</cc>
    
    <cc>shaba</cc>
    
    <cc>slazav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92817</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-06-09 19:58:19 +0400</bug_when>
    <thetext>Выставил Обычный-PAM. Ожидаю запроса имени пользователя (с проверкой в LDAP) и пароля. Ничего нет. Прокси-сервер работает без запросов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92825</commentid>
    <comment_count>1</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2009-06-09 21:28:25 +0400</bug_when>
    <thetext>А у меня работает. ;)
Буду пробовать сделать так, чтобы не работало. :)

Ещё интересно было бы узнать, что видно в /var/log/squid/cache.log.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92843</commentid>
    <comment_count>2</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2009-06-10 10:04:43 +0400</bug_when>
    <thetext>alterator-1.0-alt10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92845</commentid>
    <comment_count>3</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2009-06-10 10:05:49 +0400</bug_when>
    <thetext>Я имел в виду alterator-squid-1.0-alt10

:))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92847</commentid>
    <comment_count>4</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2009-06-10 10:09:29 +0400</bug_when>
    <thetext>Есть один нюанс:

# ls -l /usr/lib/squid/pam_auth 
-rws--s--x 1 root auth 13748 May 18 16:17 /usr/lib/squid/pam_auth

# cat /etc/pam.d/squid 
#%PAM-1.0
auth     include	system-auth
account  include        system-auth
#password include        system-auth
#session include        system-auth

Подозреваю, что всем этим должен заниматься пакет `rpm -qf /usr/lib/squid/pam_auth`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92858</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-06-10 15:32:07 +0400</bug_when>
    <thetext>[root@ham1 alterator-mirror]# l /usr/lib/squid/pam_auth
-rwx--s--x 1 root auth 13748 May 18 16:17 /usr/lib/squid/pam_auth
[root@ham1 alterator-mirror]# cat /etc/pam.d/squid
cat: /etc/pam.d/squid: No such file or directory

Как бы вот.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92920</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-06-11 13:38:15 +0400</bug_when>
    <thetext>Перевешиваю на squid-helpers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92926</commentid>
    <comment_count>7</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2009-06-11 14:57:43 +0400</bug_when>
    <thetext>Что-то не понял. Вам нужно /etc/pam.d/squid в squid-helper включить?
Опишите подробно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92938</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-06-11 16:24:12 +0400</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; Что-то не понял. Вам нужно /etc/pam.d/squid в squid-helper включить?
&gt; Опишите подробно.
Нет, вот такие права для файла:

-rws--s--x 1 root auth 13748 May 18 16:17 /usr/lib/squid/pam_auth</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92939</commentid>
    <comment_count>9</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2009-06-11 16:39:45 +0400</bug_when>
    <thetext>А предыстория, test case? Как я догадываюсь, нужно авторизовать на прокси системных пользователей.

Права-то я могу исправить и в пакете, но быстрее было бы написать хук в инсталляторе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94099</commentid>
    <comment_count>10</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2009-07-02 18:06:27 +0400</bug_when>
    <thetext>Добавлю /etc/pam.d/squid

*** This bug has been marked as a duplicate of bug 20665 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>