spa504g LDAP directory not working

Unanswered Question
May 16th, 2010
User Badges:

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>

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Alberto Montilla Fri, 05/21/2010 - 05:01
User Badges:
  • Cisco Employee,

dear Philippe;


Did you make it work or still with issues?


regards
Alberto

philippe.blasut... Fri, 05/21/2010 - 06:38
User Badges:

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

Actions

This Discussion