![]() |
YL-T2x : ldap search - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: Phone specific topic (/forumdisplay.php?fid=12) +---- Forum: T2xP Series (/forumdisplay.php?fid=21) +---- Thread: YL-T2x : ldap search (/showthread.php?tid=840) |
YL-T2x : ldap search - jonaskellens - 09-24-2013 06:26 PM Hello, I have configured LDAP for Yealink T-26P : LDAP name filter : (&(telephoneNumber=*)(sn=%)) LDAP number filter : (&(telephoneNumber=%)(sn=*)) Server Address : myserver Port : 389 Base : dc=domain Username : cn=Utest,ou=test,dc=domain Password : *** LDAP name attributes : cn sn LDAP number attributes : telephoneNumber LDAP display name : %cn LDAP lookup for incoming call : enabled LDAP Sorting Results : enabled I notice that in the logs of my LDAP-server, there is an unknown filter "type=ipPhone" and also a filter "(|(telephoneNumber=*)(mobile=*)(?=false))" : Sep 24 12:11:12 myserver slapd[1739]: conn=25 fd=14 ACCEPT from IP=my.ip.add.ress:4322 (IP=0.0.0.0:389) Sep 24 12:11:12 myserver slapd[1739]: conn=25 op=0 BIND dn="cn=Utest,ou=test,dc=domain" method=128 Sep 24 12:11:12 myserver slapd[1739]: conn=25 op=0 BIND dn="cn=Utest,ou=test,dc=domain" mech=SIMPLE ssf=0 Sep 24 12:11:12 myserver slapd[1739]: conn=25 op=0 RESULT tag=97 err=0 text= Sep 24 12:11:12 myserver slapd[1739]: get_filter: conn 25 unknown attribute type=ipPhone (17) Sep 24 12:11:12 myserver slapd[1739]: conn=25 op=1 SRCH base="dc=domain" scope=2 deref=0 filter="(|(telephoneNumber=*)(mobile=*)(?=false))" Sep 24 12:11:12 myserver slapd[1739]: conn=25 op=1 SRCH attr=cn sn telephoneNumber Sep 24 12:11:13 myserver slapd[1739]: conn=25 op=2 ABANDON msg=2 Sep 24 12:11:13 myserver slapd[1739]: conn=25 op=3 ABANDON msg=2 Sep 24 12:11:13 myserver slapd[1739]: conn=25 op=4 UNBIND Where are these settings in the Yealink IP-phone and how can I change them ?? I don't want this filter "type=ipPhone". Thanks. RE: YL-T2x : ldap search - Yealink Support - 09-27-2013 05:05 PM Hi Jonaskellens, It seems the setup information is some different from the setting in your phone. Could you try these default setting, and check again? LDAP Name Filter: (|(cn=%)(sn=%)) LDAP Number Filter: (|(telephoneNumber=%)(Mobile=%)(ipPhone=%)) Server Address: 10.2.8.16 Port: 389 Base: dc=yealink,dc=cn UserName: cn=manager,dc=yealink,dc=cn Password: secret Max.Hits(1~32000): 50 LDAP Name Attributes: cn sn LDAP Number Attributes: Mobile telephoneNumber ipPhone LDAP Display Name: %cn Protocol: Version 3 Search Delay(ms)(0~2000): 0 Match Incoming Calls: Enabled LDAP Sorting Results: Enabled LDAP Lookup For PreDial/Dial: Enabled Thanks. RE: YL-T2x : ldap search - jonaskellens - 09-27-2013 05:13 PM Thanks for your supply. I do not want an attribute "Mobile" and "ipPhone" on my LDAP-server (too much work to create them). I only want to use the attributes cn, sn and telephoneNumber. Therefore my search strings are : (&(telephoneNumber=*)(sn=%)) Works perfect when performing an openldap search form commandline. So why, when telling the Yealink IP-phone about cn, sn and telephoneNumber, does the Yealink still uses the attributes "Mobile" and "ipPhone" ?? Works perfect on other phones (Snom, Grandstream, Polycom, Cisco) Why can't the Yealink IP-phone just look at the values in the fields "LDAP Name Filter" and "LDAP Number Filter" and use these values for search ?? I don't understand. Jonas. RE: YL-T2x : ldap search - Yealink Support - 09-30-2013 10:10 AM Hi Jonas, Is there any problems when you search on the phone, except the LDAP-server log shows these unknown filter ? I am afraid we need your phone logs to find out the problem. So could you provide PCAP trace, syslog(level 6) and config.bin file to us, so we can analyze? Before you export the syslog, please set log level as 6, and reboot the phone, then click Start,and reproduce the issue, then click Stop,and export the trace, syslog, config,bin to us. (About where to export these files, please refer to attached screenshot.) These three files are very important for us, hope you can kindly understand. Thanks. RE: YL-T2x : ldap search - jonaskellens - 09-30-2013 08:11 PM The problem with search on the phone is that there are no results shown on the screen. There are no results because the search string is wrong off course. I will provide syslog. Where do I send it to ? support@yealink.com never gives any answer. RE: YL-T2x : ldap search - jonaskellens - 10-10-2013 05:05 PM Where do I send it to ? support@yealink.com never gives any answer. RE: YL-T2x : ldap search - Yealink Support - 10-11-2013 02:55 PM Hi Jonaskellens, We checked with our support@yealink.com email, but didn't find your email. Could you try again? And also send to support.usa@yealink.com, we will check whether we receive the email. Thanks and sorry. |