<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=22085967#comment-22085967">LDAP Realtime Driver</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~lathama">Andrew Latham</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>Thanks, I will try to wrap my head around this and update it later today. Yeah holidays...</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>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 <b>AUXILIARY</b><br/>
MUST ( AstExtension ) )</p>

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

<p>objectClass (<br/>
AsteriskMailbox<br/>
NAME 'AsteriskMailbox'<br/>
DESC 'Asterisk Mailbox Information'<br/>
SUP top <b>AUXILIARY</b><br/>
MUST ( AstVoicemailMailbox ) )</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=22085967#comment-22085967">View Online</a>
              |
       <a id="reply-22085967" href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?replyToComment=22085967#comment-22085967">Reply To This</a>
           </div>

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