<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=22085964#comment-22085964">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>Asterisk 11.1.0<br/>
Centos 6.3 x86_64<br/>
OpenLDAP 2.4</p>

<p>If you want to use objectclass person/inetOrgPerson with Asterisk objectclasses(</p>

<p>You have to change objectclass types from STRUCTURAL to AUXILIARY like following.<br/>
Otherwise you will get " invalid structural object class chain &gt; (AsteriskAccount/person)" error message.</p>


<p>objectClass (<br/>
        AsteriskDialplan<br/>
        NAME 'AsteriskDialplan'<br/>
        DESC 'Asterisk Dialplan Information'<br/>
        SUP top AUXILIARY<br/>
        MUST ( AstExtension ) )</p>

<p>objectClass (<br/>
        AsteriskAccount<br/>
        NAME 'AsteriskAccount'<br/>
        DESC 'Asterisk Account Information'<br/>
        SUP top  AUXILIARY<br/>
        MUST ( AstAccountName ) )</p>

<p>objectClass (<br/>
        AsteriskMailbox<br/>
        NAME 'AsteriskMailbox'<br/>
        DESC 'Asterisk Mailbox Information'<br/>
        SUP top AUXILIARY<br/>
        MUST ( AstVoicemailMailbox ) )</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/~lathama"
                          class="url fn confluence-userlink" data-username="lathama"
                   >Andrew Latham</a>:</strong><br/>
        <p>Can you confirm the platforms that this applies to?</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=22085964#comment-22085964">View Online</a>
              |
       <a id="reply-22085964" href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?replyToComment=22085964#comment-22085964">Reply To This</a>
           </div>

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