active directory - PHP LDAP Distinguish user from computer -


is there way query ldap , leave out computers in result?

there users , computers inside ou, , want display users cn, title,address etc...

thanks!

you need add following ldap filter (!(objectclass=computer)). exclude computer objects.

you can read more on ldap filters in ldap filter syntax article.


Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -