Yeah, I just checked again to make sure, and the OUs are correct
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Almeida Pinto, Jorge de Sent: Friday, January 06, 2006 9:15 AM To: [email protected] Subject: RE: [ActiveDir] OT: adfind syntax are you sure the OUs are correct? it works for me when I try it... (see below) Jorge D:\TOOLS>adfind -default -rb "ou=computers,ou=org" -f "(objectcategory=computer)" AdFind V01.28.00cpp Joe Richards ([EMAIL PROTECTED]) December 2005 Using server: rootdc001.ADCORP.LAN:389 Directory: Windows Server 2003 Base DN: ou=computers,ou=org,DC=ADCORP,DC=LAN dn:CN=QQQQQ,OU=Computers,OU=ORG,DC=ADCORP,DC=LAN >objectClass: top >objectClass: person >objectClass: organizationalPerson >objectClass: user >objectClass: computer >cn: QQQQQ >distinguishedName: CN=QQQQQ,OU=Computers,OU=ORG,DC=ADCORP,DC=LAN >instanceType: 4 >whenCreated: 20060106141415.0Z >whenChanged: 20060106141416.0Z >uSNCreated: 21026 >uSNChanged: 21030 >name: QQQQQ >objectGUID: {1384E2F1-3B6F-4B70-86DC-894E41695519} >userAccountControl: 4128 >badPwdCount: 0 >codePage: 0 >countryCode: 0 >badPasswordTime: 0 >lastLogoff: 0 >lastLogon: 0 >localPolicyFlags: 0 >pwdLastSet: 127810304566038750 >primaryGroupID: 515 >objectSid: S-1-5-21-1101212110-1107115918-200167750-1110 >accountExpires: 9223372036854775807 >logonCount: 0 >sAMAccountName: QQQQQ$ >sAMAccountType: 805306369 >objectCategory: CN=Computer,CN=Schema,CN=Configuration,DC=ADCORP,DC=LAN >isCriticalSystemObject: FALSE 1 Objects returned D:\TOOLS> _____ From: [EMAIL PROTECTED] on behalf of Douglas M. Long Sent: Fri 2006-01-06 15:05 To: [email protected] Subject: [ActiveDir] OT: adfind syntax Man, can someone tell me what I am doing wrong here. I just cannot figure this out. Don't laugh; I am sure it is something stupid. adfind -default -rb "ou=wsusclients,ou=xpclients" -f "(objectcategory=computer)" I assume this should search for all computer objects on ou=wsusclients,ou=xpclients,dc=domain,dc=com I am getting ldap_get_next_page_s: [dc1.domain.com] Error 0x20 (32) - No Such Object This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
<<attachment: winmail.dat>>
