cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2539
Views
0
Helpful
2
Replies

spa504g LDAP directory not working

After provisioning the LDAP attibutes are not taken in account, the directory is not displayed on the phone.

LDAP parameters are all prefixed by LDAP_ that it is not the case with spa525g phones.

<!-- LDAP -->
<LDAP_Dir_Enable  ua="na"> Yes
</LDAP_Dir_Enable>
<LDAP_Corp_Dir_Name  ua="na"> Annuaire entreprise
</LDAP_Corp_Dir_Name>
<LDAP_Server  ua="na"> 172.20.20.1
</LDAP_Server>
<LDAP_Auth_Method ua="na"> Simple
</LDAP_Auth_Method>
<LDAP_Username  ua="na"> Username
</LDAP_Username>
<LDAP_Password  ua="na"> Password
</LDAP_Password>
<LDAP_Search_Base  ua="na"> dc=cv2bu,dc=com
</LDAP_Search_Base>
<LDAP_Client_DN  ua="na"> cn=manager,dc=cv2bu,dc=com
</LDAP_Client_DN>

<LDAP_Last_Name_Filter  ua="na"> sn:(sn=$VALUE*)
</LDAP_Last_Name_Filter>
<LDAP_First_Name_Filter  ua="na"> cn:(cn=$VALUE*)
</LDAP_First_Name_Filter>
<LDAP_Display_Attr  ua="na"> a=cn;a=telephoneNumber,t=p
</LDAP_Display_Attr>
<LDAP_Number_Mapping  ua="na">
</LDAP_Number_Mapping>

2 Replies 2

Alberto Montilla
Cisco Employee
Cisco Employee

dear Philippe;

Did you make it work or still with issues?

regards
Alberto

I found the problen it is a syntax issue with LDAP attributes :

With a SPA525 Attributes look like this :


Yes

Annuaire entreprise

172.20.20.1

Simple

cn=Manager,dc=asterisk,dc=local

secret

ou=Phones,dc=asterisk,dc=local

cn=manager,dc=asterisk,dc=local

cn:(cn=$VALUE*)

sn:(sn=$VALUE*)

Attr  ua="na"> a=cn;a=telephoneNumber,t=p
Attr>

With spa404g the is a lot of differences


Yes

Annuaireentreprise

172.20.20.1

Simple

cn=Manager,dc=asterisk,dc=local

secret

ou=Phones,dc=asterisk,dc=local

cn=manager,dc=asterisk,dc=local

cn:(cn=$VALUE*)

sn:(sn=$VALUE*)

Attrs  ua="na"> a=cn;a=telephoneNumber,t=p

Attrs>


My problem was with the attribute : LDAP_Display_Attrs who is a little bit different.


Now it works except for the localization as explained here

https://www.myciscocommunity.com/thread/11145?tstart=0

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: