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

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

    <bug>
          <bug_id>11722</bug_id>
          
          <creation_ts>2007-05-08 15:16:53 +0400</creation_ts>
          <short_desc>don&apos;t work auth with ldap</short_desc>
          <delta_ts>2007-11-12 00:56:33 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ejabberd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Klimov Denis">kliden</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50018</commentid>
    <comment_count>0</comment_count>
    <who name="Klimov Denis">kliden</who>
    <bug_when>2007-05-08 15:16:55 +0400</bug_when>
    <thetext>The ejabberd server v 1.1.3 starts happily, but I can&apos;t authenticate. This is 
what I see in the configuration of the LDAP server:

Feb 17 22:43:08 ldap2 slapd[11213]: conn=74265 fd=12 ACCEPT from 
IP=202.83.178.90:63303 (IP=0.0.0.0:389)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74266 fd=13 ACCEPT from 
IP=202.83.178.90:49558 (IP=0.0.0.0:389)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74265 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; method=128
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74265 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; mech=SIMPLE ssf=0
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74265 op=0 RESULT tag=97 err=0 text=
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74267 fd=14 ACCEPT from 
IP=202.83.178.90:59782 (IP=0.0.0.0:389)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74266 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; method=128
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74266 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; mech=SIMPLE ssf=0
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74266 op=0 RESULT tag=97 err=0 text=
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74268 fd=16 ACCEPT from 
IP=202.83.178.90:61577 (IP=0.0.0.0:389)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74267 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; method=128
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74267 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; mech=SIMPLE ssf=0
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74267 op=0 RESULT tag=97 err=0 text=
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74265 fd=12 closed (connection lost)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74266 fd=13 closed (connection lost)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74267 fd=14 closed (connection lost)
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74268 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; method=128
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74268 op=0 BIND dn=&quot;uid=root,ou=BarNet 
Internal,o=BarNet,c=AU&quot; mech=SIMPLE ssf=0
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74268 op=0 RESULT tag=97 err=0 text=
Feb 17 22:43:08 ldap2 slapd[11213]: conn=74268 fd=16 closed (connection lost)

patch https://forge.process-one.net/browse/ejabberd/trunk/src/eldap/
eldap.erl?r1=621&amp;r2=680

it works

Actual Results:  
don&apos;t auth

Expected Results:  
auth</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50218</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Yakshin">greycat</who>
    <bug_when>2007-05-15 11:43:32 +0400</bug_when>
    <thetext>I have no LDAP server available to reproduce the bug.

What&apos;s the attached patch is for? Is it a fix for the problem? Have you tried 
it and have it fixed the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50223</commentid>
    <comment_count>2</comment_count>
    <who name="Klimov Denis">kliden</who>
    <bug_when>2007-05-15 12:22:32 +0400</bug_when>
    <thetext>Этот патч помог мне
https://forge.process-one.net/browse/ejabberd/trunk/src/eldap/
eldap.erl?r1=621&amp;r2=680

Дело в том, что ссылка на него отображается неверно на этом сайте, обратите 
внимание на ее конец, возможно Вы перешли из за этого не на ту страницу.

До применения патча ejabberd не авторизовал через ldap, после его применения, 
т.е. смены LDAPResult на BindResponse в файле eldap.erl (строка 716) все сразу 
заработало как надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50224</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Yakshin">greycat</who>
    <bug_when>2007-05-15 12:55:47 +0400</bug_when>
    <thetext>Все, понял, спасибо. Приложу в следующей сборке.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58041</commentid>
    <comment_count>4</comment_count>
    <who name="Mikhail Yakshin">greycat</who>
    <bug_when>2007-11-12 00:55:38 +0300</bug_when>
    <thetext>Я так понял, что это было
https://support.process-one.net/browse/EJAB-315

Fixed в 1.1.4, которая сейчас уходит в Сизиф.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58044</commentid>
    <comment_count>5</comment_count>
    <who name="Mikhail Yakshin">greycat</who>
    <bug_when>2007-11-12 00:56:32 +0300</bug_when>
    <thetext>Изменяю статус...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>