SQLStmt = "SELECT distinguishedName FROM " & _
"'LDAP://Domaindc55:389/DC=location,DC=company,DC=com' " & _
"WHERE objectClass = '*' AND type='Printers'"
I am not sure if I should be setting some type of Object Class, or some type of ou, or dn.
I am very new at this, and trying to fight my way around ldap commands.
Using the above syntax, I am able to retreive end user information, including phone numbers, and email addresses.
Now I need to focus on what printers are on the system.
Any help would be greatly appreciated.