Yealink Forums
LDAP showing disabled users from AD - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: LDAP showing disabled users from AD (/showthread.php?tid=1490)



LDAP showing disabled users from AD - argh - 03-28-2014 02:42 AM

I'm using the following filter:

Code:
LDAP Name Filter      (&(sn=%)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
LDAP Number Filter    (&(telephoneNumber=%)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

However, for some reason it is showing disabled users from active directory even though I have included the exclusion.


RE: LDAP showing disabled users from AD - CWR - 03-28-2014 05:49 AM

Can you convince someone (whoever controls the AD Schema) to move the disabled users to another OU? That is what we do.


RE: LDAP showing disabled users from AD - argh - 03-28-2014 06:50 AM

Forgot to mention that disabled users are in an OU called "Disabled Users".


RE: LDAP showing disabled users from AD - CWR - 03-28-2014 01:02 PM

(03-28-2014 06:50 AM)argh Wrote:  Forgot to mention that disabled users are in an OU called "Disabled Users".

I have my main OU with the sub-OU regions within. The disabled OU is outside of my main OU. Hope that makes sense...
So I search in the main OU which will not see the disabled OU