[asterisk-bugs] [JIRA] (ASTERISK-20886) LDAP configuration and documentation updates

ismail yenigul (JIRA) noreply at issues.asterisk.org
Fri Jan 4 14:53:46 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201133#comment-201133 ] 

ismail yenigul commented on ASTERISK-20886:
-------------------------------------------

Here is the full ldap ldiff entry that login to lda successfully 

dn: uid=ismail at surgatelabs.com, ou=surgatelabs.com, o=mail, dc=surmail
objectClass: top
objectClass: AsteriskAccount
objectClass: AsteriskExtension
objectClass: AsteriskSIPUser
objectClass: inetOrgPerson
objectClass: person
uid: ismail at surgatelabs.com
mail: ismail at surgatelabs.com
cn: ismail yenigul
sn: ismail
AstExtension: 110
AstAccountContext: surgate
AstAccountRegistrationServer: 0
AstAccountRealmedPassword: {md5}db1babff1100b174e90f1c35cef12497
AstAccountName: 110
AstAccountExpirationTimestamp: 1357147457
AstAccountFullContact: sip:110 at 10.41.255.17:5060;rinstance=0058bdbe4c550e26
AstAccountType: friend
AstAccountIPAddress: 10.41.255.17
AstAccountDefaultUser: 0
AstAccountPort: 5060
AstAccountHost: dynamic
AstAccountLastQualifyMilliseconds: 0
AstAccountUserAgent: X-Lite release 5.0.0 stamp 67284



Note: "surgate" context is not in ldap yet. I configured it in config file righ now.
Note 2:AstAccountFullContact format is very imported. You have to use the same format above. You can't just enter some text. It is AstAccountFullContact attribute requirement.

Note 3: Your ldap connection user must have a "write" permission on the following attributes:
AstAccountIPAddress AstAccountPort AstAccountExpirationTimestamp AstAccountDefaultUser AstAccountUserAgent AstAccountLastQualifyMilliseconds AstAccountFullContact
Because these attr are modified on every successful sip login.
                
> LDAP configuration and documentation updates
> --------------------------------------------
>
>                 Key: ASTERISK-20886
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20886
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_config_ldap
>    Affects Versions: SVN
>         Environment: LInux with LDAP service.
>            Reporter: Andrew Latham
>            Assignee: Andrew Latham
>            Severity: Minor
>
> Ismail Yenigul added several notes related to issuse with LDAP Realtime to the wiki.  This ticket is to track and update the documentation for these discoveries.  Testing with various LDAP servers would be needed before commit.
> https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list