<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?focusedCommentId=22086229#comment-22086229">LDAP Realtime Driver</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~ismail.yenigul">ismail yenigul</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>Andrew,</p>

<p>Don't forget to -n at echo password.<br/>
Otherwise you will get a different md5.</p>

<p>By the way, is it possible to define </p>
<div class="error"><span class="error">Unknown macro: {SSHA}</span> </div>
<p> hash instead of </p>
<div class="error"><span class="error">Unknown macro: {md5}</span> </div>
<p> as a value of AstMD5secret </p>

<p>Thanks.</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~ismail.yenigul"
                          class="url fn confluence-userlink" data-username="ismail.yenigul"
                   >ismail yenigul</a>:</strong><br/>
        <p>echo "&lt;secret goes here&gt;" | md5sum <br/>
must be</p>

<p>echo -n "$username:$realm:$password" | md5sum</p>

<p>otherwise you will not able to login LDAP.</p>

<p>Also, If you do not use cnc=config OpenLDAP feature, you do not have to issue the following command:</p>

<p>sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ./asterisk.ldif</p>

<p>Instead add include path/to/schema/asterisk.ldap-schema<br/>
to your slapd.conf</p>

        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?focusedCommentId=22086229#comment-22086229">View Online</a>
              |
       <a id="reply-22086229" href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?replyToComment=22086229#comment-22086229">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>