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

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

    <bug>
          <bug_id>28618</bug_id>
          
          <creation_ts>2013-03-01 13:48:46 +0400</creation_ts>
          <short_desc>Не прописывается contexts для аутентификации в LDAP.</short_desc>
          <delta_ts>2013-03-01 13:49:49 +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>moodle-plugins-tools</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>138274</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2013-03-01 13:48:46 +0400</bug_when>
    <thetext>Запускаем 
DOMAIN=ou=People,`cat /etc/openldap/ldap.conf | grep &quot;^base&quot; | sed &apos;s/^base //&apos;`
mt-install-auto --install=no --lang=ru --plugins-setparams  --wwwrootnew --wwwrootsitename=$(hostname) --ldaphosturl=ldap://localhost --ldapcontexts=&quot;$DOMAIN&quot; --authinsert=&apos;ldap&apos;

Ожидаемо, что в /etc/sysconfig/mt-plugins будут прописаны (скриптом /usr/sbin/mt-plugins-setparams) параметры host_url и contexts. Первый прописывается, второй - нет. Как следствие, аутентификация Moodle через LDAP не работает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>