|
|
|||||||
I am trying to use the Function ComputerInGroup. I have the following structure in AD. Domain Computers with OU's under that by location. EX. Under Domain Computers I have an OU with the name "Phoenix" I can get the function to match if I use "Domain Computers", but not "Phoenix". What can I do to make it see the OU's in different levels? |
||||||||
|
|
|||||||
Show some code and the real LDAP strings, not bogus crap. |
||||||||
|
|
|||||||
What bogus crap? Why don't you lose the attitude. If you don't have any useful info, then don't bother to respond. FYI I am using the following code: INCLUDE "Function_ComputerInGroup.kix" If ComputerInGroup('PHOENIX')=1 MESSAGEBOX ("Matched", "OU Membership", 48, 60) else MESSAGEBOX (@hostname + " Not a member", "OU Membership", 48, 60) endif Which is exactly how I stated. |
||||||||
|
|
|||||||
Who has the attitude? I didn't say you posted crap, I simply asked you not to. Many feel the need to obfuscate by posting bogus info in place of the real code and it can complicate things. Now, you say: Quote: Under Domain Computers I have an OU with the name "Phoenix" If you are looking to see if a computer is in a container such as an OU, you should be using the InContainer() UDF. http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=83022 |