I'm doing a label LDAP but not returns me the correct data.
This is the query. Return me equipment that is not in that OU

Base DN:
OU=Finance,OU=Computers,OU=ART,OU=France,DC=fr,DC=it,DC=local
Advanced Search:
(&(name=KBOX_COMPUTER_NAME)(distinguishedName=CN=KBOX_COMPUTER_NAME,OU=Finance,OU=Computers,OU=ART,OU=France,DC=fr,DC=it,DC=local))

Note: distinguishedName=OU=Finance,OU=Computers,OU=ART,OU=France,DC=fr,DC=it,DC=local
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
Are you sure the 3 DC are correct?
I believe local, but I expect ether fr.local or it.local not fr.it.local as a domain.

You can try the search part by part to see where it breaks.
Answered 10/13/2015 by: dedenker
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share