[asterisk-bugs] [Asterisk 0013660]: Provide working demo users for ldap/realtime backend.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 20 18:36:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13660 
====================================================================== 
Reported By:                shrift
Assigned To:                suretec
====================================================================== 
Project:                    Asterisk
Issue ID:                   13660
Category:                   Resources/res_config_ldap
Reproducibility:            N/A
Severity:                   text
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-09 16:22 CDT
Last Modified:              2009-05-20 18:36 CDT
====================================================================== 
Summary:                    Provide working demo users for ldap/realtime
backend.
Description: 
The distributed file doc/ldap.txt does not have accurate information
according to the schema distributed in
contrib/scripts/asterisk.ldap-schema. For instance in the doc/ldap.txt file
a "objectClass: AstAccountSIP" is specified, but it does not exist in the
schema!

It would be good to include a working ldif that we can apply to our
openldap that would create a few test users to help us get started with
configuring the ldap backend users.

I have successfully imported the schema, but I can't seem to successfully
create the user trees similar to below. (using the correct objects as
defined in the schema of course.)

Excerpt from doc/ldap.txt:
# Base SIP Phones Entry
dn: uid=phone-base,dc=myDomain,dc=myDomainExt
objectClass: top 
objectClass: AstAccount
objectClass: AstAccountSIP
uid: phone-base
AstAccountAccountingCode: baseacccode
AstAccountHost: dynamic
preferredLanguage: FR
AstAccountAMAFlags: billing
AstAccountContext: ldaptest


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013861 ERROR[23999]: res_config_ldap.c:1292 up...
====================================================================== 

---------------------------------------------------------------------- 
 (0105168) suretec (developer) - 2009-05-20 18:36
 https://issues.asterisk.org/view.php?id=13660#c105168 
---------------------------------------------------------------------- 
Is this still needed, as I just saw
https://issues.asterisk.org/view.php?id=13861

Didn't know about that. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-20 18:36 suretec        Note Added: 0105168                          
======================================================================




More information about the asterisk-bugs mailing list