Thanks Guys
Still can't seem to get it working. Had no problem on Snom and Yealink but finding information and documentation for Polycom limited and quite unhelpful. Also the fact you can't do anything like this via the gui does not help with quick changes and testing. This is what I see with ref the ldap search in the logs that I have put in to debug
0123162230|ldap |1|00|ldapQueryNoSort::setQLimits:1::<UP> m_curSubset=<0/1>
0123162230|ldap |1|00|ldapEntry::show:setQLimits 1::top <0>
0123162230|ldap |1|00|ldapEntry::show:setQLimits 1::bot <zz>
0123162245|ldap |1|00|ldapQueryNoSort::setQLimits:1::<UP> m_curSubset=<0/1>
0123162245|ldap |1|00|ldapEntry::show:setQLimits 1::top <0>
0123162245|ldap |1|00|ldapEntry::show:setQLimits 1::bot <zz>
0123162245|ldap |1|00|ldapQueryNoSort::assmCondition:...1
0123162245|ldap |1|00|ldapQueryNoSort::fillQuery:qDepth=<1> same=<0> incl=<Yes>
0123162245|ldap |1|00|ldapEntry::show:fillQuery:
revTop <0>
0123162245|ldap |1|00|ldapEntry::show:fillQuery:
revBot <zz>
0123162245|ldap |1|00|ldapEntry::show:fillQuery::top <>
0123162245|ldap |1|00|ldapEntry::show:fillQuery::bot <>
0123162245|ldap |1|00|ldapQueryNoSort::isQueryValid:status=<1> top=<0> bot=<zz> sel=<>
0123162245|ldap |1|00|cDynamicData::getData:get enabled - filter OK <(&(sn=*)(sn%3E=0)(sn%3C=zz)(|(sn=Glen*)(telephoneNumber=Glen*)))>
0123162245|ldap |0|00|ldapData::newFilter:baseRequest=ldap://xxx.xxx.xxx.xxx/o=mycompany,dc=directory,dc=mydomain,dc=co,dc=uk?sn,telephoneNumber?sub
0123162245|ldap |3|00|ldapData::runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(sn=*)(sn>=0)(sn<=zz)(|(sn=Glen*)(telephoneNumber=Glen*)))>
0123162245|ldap |0|00|ldapData::runSearch:ldap_search_ext_s: rc=0, state=3, m_last=0, bDone=1
0123162245|ldap |1|00|cDynamicData::dataReady:total=0-restart
0123162245|ldap |1|00|ldapQueryNoSort::getNewLimits:status=<0>
0123162245|ldap |1|00|ldapQueryNoSort::assmCondition:cannot create query=<(&(sn=*)> <DOWN>
0123162245|ldap |0|00|ldapQuery::assmQuery:assmCondition error numC=<-1>
0123162245|ldap |0|00|ldapQuery::assmQuery:query cleared & released
0123162245|ldap |1|00|cDynamicData::getData:get enabled - filter NOK <>
0123162246|ldap |1|00|ldapQueryNoSort::setQLimits:1::<UP> m_curSubset=<0/1>
0123162246|ldap |1|00|ldapEntry::show:setQLimits 1::top <0>
0123162246|ldap |1|00|ldapEntry::show:setQLimits 1::bot <zz>
0123162246|ldap |1|00|ldapQueryNoSort::assmCondition:...1
0123162246|ldap |1|00|ldapQueryNoSort::fillQuery:qDepth=<1> same=<0> incl=<Yes>
0123162246|ldap |1|00|ldapEntry::show:fillQuery:
revTop <0>
0123162246|ldap |1|00|ldapEntry::show:fillQuery:
revBot <zz>
0123162246|ldap |1|00|ldapEntry::show:fillQuery::top <>
0123162246|ldap |1|00|ldapEntry::show:fillQuery::bot <>
0123162246|ldap |1|00|ldapQueryNoSort::isQueryValid:status=<1> top=<0> bot=<zz> sel=<>
0123162246|ldap |1|00|cDynamicData::getData:get enabled - filter OK <(&(sn=*)(sn%3E=0)(sn%3C=zz)(|(sn=Glen*)(telephoneNumber=Glen*)))>
0123162246|ldap |0|00|ldapData::newFilter:baseRequest=ldap://xxx.xxx.xxx.xxx/o=mycompany,dc=directory,dc=mydomain,dc=co,dc=uk?sn,telephoneNumber?sub
0123162246|ldap |3|00|ldapData::runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(sn=*)(sn>=0)(sn<=zz)(|(sn=Glen*)(telephoneNumber=Glen*)))>
0123162246|ldap |0|00|ldapData::runSearch:ldap_search_ext_s: rc=0, state=3, m_last=0, bDone=1
0123162246|ldap |1|00|cDynamicData::dataReady:total=0-restart
0123162246|ldap |1|00|ldapQueryNoSort::getNewLimits:status=<0>
0123162246|ldap |1|00|ldapQueryNoSort::assmCondition:cannot create query=<(&(sn=*)> <DOWN>
0123162246|ldap |0|00|ldapQuery::assmQuery:assmCondition error numC=<-1>
0123162246|ldap |0|00|ldapQuery::assmQuery:query cleared & released
0123162246|ldap |1|00|cDynamicData::getData:get enabled - filter NOK <>