<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&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=22085978#comment-22085978">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 is changing the following ldap attr.<br/>
So you must define this attrs while you are creating a user account on LDAP. If you dont define this attrs you will get a log message about updating account info in asterisk logs.</p>
<p>attr=AstAccountIPAddress AstAccountPort AstAccountExpirationTimestamp AstAccountDefaultUser AstAccountUserAgent AstAccountLastQualifyMilliseconds AstAccountFullContact</p>
<p>Another problem is with default res_ldap.conf You have to disable fullcontact = gecos line<br/>
and add useragent ldap mapping like following.</p>
<p>fullcontact = AstAccountFullContact<br/>
<font color="#ff0000"><b>;fullcontact = gecos</b></font><br/>
<font color="#339966"><b>useragent = AstAccountUserAgent</b></font></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=22085978#comment-22085978">View Online</a>
|
<a id="reply-22085978" href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver?replyToComment=22085978#comment-22085978">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>