If not, though less efficient, dump them all and pipe it through find …

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Monday, August 14, 2006 5:53 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] ADFind Query

 

You shouldn't be getting that error with that command... Even if the attribute name was incorrect you wouldn't get that error, you would get 0 objects returned as the query processor doesn't output errors because of incorrect attributes being specified.

 

However, that being said, this isn't going to work. You can't wildcard OIDs (or more accurately 2.5.5.2/6 data types).

 

Hopefully you guys prefixes all of the classes and attributes you added with a company prefix so you can search on that like so

 

adfind -schema -f name=joeware* ldapdisplayname -sl

 

or the shortcut

 

adfind -sc sl:joeware*

 

 

 

--

O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of WATSON, BEN
Sent: Monday, August 14, 2006 5:29 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] ADFind Query

Hey guys,

 

Simple question.  I’m trying to perform a search to locate all the schema extensions that have been added in by our company.

 

I thought some simple syntax like this would work to find all schema attributes with an attrbituteID prefixed with our OID.

 

adfind -schema -f attributeID=1.3.6.1.4.1.14376.*

ldap_get_next_page_s: [appsig-ad.appsig.com] Error 0x10 (16) - No Such Attribute

 

I’m obviously missing something, any thoughts?

 

Thanks,

~Ben

Reply via email to