[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
YL-T2x : ldap search
Author Message
jonaskellens Offline
Junior Member
**

Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #1
YL-T2x : ldap search
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.
09-24-2013 06:26 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #2
RE: YL-T2x : ldap search
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.
09-27-2013 05:05 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jonaskellens Offline
Junior Member
**

Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #3
RE: YL-T2x : ldap search
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.
(This post was last modified: 09-27-2013 05:15 PM by jonaskellens.)
09-27-2013 05:13 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #4
RE: YL-T2x : ldap search
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.


Attached File(s) Thumbnail(s)
   
09-30-2013 10:10 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jonaskellens Offline
Junior Member
**

Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #5
RE: YL-T2x : ldap search
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.
(This post was last modified: 09-30-2013 08:12 PM by jonaskellens.)
09-30-2013 08:11 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jonaskellens Offline
Junior Member
**

Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #6
RE: YL-T2x : ldap search
Where do I send it to ? support@yealink.com never gives any answer.
10-10-2013 05:05 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #7
RE: YL-T2x : ldap search
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.
10-11-2013 02:55 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T28P LDAP Problem oguzhan 1 8,471 06-10-2020 01:14 PM
Last Post: beldimon
  LDAP auto xml creation oguzhan 2 8,241 11-07-2019 12:53 PM
Last Post: oguzhan
  How to search on remote PhoneBook? crtg08 17 72,938 04-10-2014 04:39 PM
Last Post: Yealink Support
  LDAP Directory gregbis 1 9,597 09-17-2013 02:11 PM
Last Post: Yealink Support

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication