http://unxutils.sourceforge.net/

On 8/15/06, WATSON, BEN <[EMAIL PROTECTED]> wrote:



I'm familiar with grep on *nix, but didn't realize it was available on
Windows.  Where did you get your port of grep for Windows at?


________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
joe
Sent: Monday, August 14, 2006 6:16 PM

To: [email protected]
Subject: RE: [ActiveDir] ADFind Query



To: [email protected]
Subject: RE: [ActiveDir] ADFind Query






Yeah something like



adfind -sc s:* ldapdisplayname attributeid -csv |grep -i 1.3.6.1.4.1.14376



would work fine.



But still... the OP is hopefully prefixing schema attributes and classes
with a corporate value... Otherwise they could run into collisions with
vendors with bad schema practices.



--

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







________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dean Wells
Sent: Monday, August 14, 2006 6:17 PM
To: Send - AD mailing list
Subject: RE: [ActiveDir] ADFind Query

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: [email protected]
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: [email protected]
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