Does anyone know how to export the SID from AD?? I know you can use some AD
tools such as ldfide or csvide to export account information..but that
doesn't export the SID number associated w/ that object. thank you.
Does anyone know how to export the SID from AD?? I know you can use some AD
tools such as ldfide or csvide to export account information..but that
doesn't export the SID number associated w/ that object. thank you.
"chris16" <chris16@discussions.microsoft.com> wrote in message
news:E8C0B9A9-9C8D-454E-9D45-AE07D7CFBEDC@microsoft.com...
> Does anyone know how to export the SID from AD?? I know you can use some
> AD
> tools such as ldfide or csvide to export account information..but that
> doesn't export the SID number associated w/ that object. thank you.
Shouldn't be that hard with a script or something.
What good will it do you? What are you really trying to accomplish?
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Adfind does that quite nicely, but you'll need to lookup the correct syntax
unless someone has it handy.
--
/kj
"Herb Martin" <news@learnquick.com> wrote in message
news:%23klgvyWQHHA.4276@TK2MSFTNGP02.phx.gbl...
>
> "chris16" <chris16@discussions.microsoft.com> wrote in message
> news:E8C0B9A9-9C8D-454E-9D45-AE07D7CFBEDC@microsoft.com...
>> Does anyone know how to export the SID from AD?? I know you can use some
>> AD
>> tools such as ldfide or csvide to export account information..but that
>> doesn't export the SID number associated w/ that object. thank you.
>
> Shouldn't be that hard with a script or something.
>
> What good will it do you? What are you really trying to accomplish?
>
> --
> Herb Martin, MCSE, MVP
> http://www.LearnQuick.Com
> (phone on web site)
>
LDIFDE will do this too, but it will give you the data in Base64 (since it
is stored as binary in the directory), so it might not be so practical to
look it. Joe R. always tries to make the annoying stuff easier for us. :)
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"kj" <kj@nowhere.com> wrote in message
news:ubBwe7WQHHA.4692@TK2MSFTNGP05.phx.gbl...
> Adfind does that quite nicely, but you'll need to lookup the correct
> syntax unless someone has it handy.
>
> --
> /kj
> "Herb Martin" <news@learnquick.com> wrote in message
> news:%23klgvyWQHHA.4276@TK2MSFTNGP02.phx.gbl...
>>
>> "chris16" <chris16@discussions.microsoft.com> wrote in message
>> news:E8C0B9A9-9C8D-454E-9D45-AE07D7CFBEDC@microsoft.com...
>>> Does anyone know how to export the SID from AD?? I know you can use some
>>> AD
>>> tools such as ldfide or csvide to export account information..but that
>>> doesn't export the SID number associated w/ that object. thank you.
>>
>> Shouldn't be that hard with a script or something.
>>
>> What good will it do you? What are you really trying to accomplish?
>>
>> --
>> Herb Martin, MCSE, MVP
>> http://www.LearnQuick.Com
>> (phone on web site)
>>
>
>
>Joe R. always tries to make the annoying stuff easier for us. :)
Quite thankfully. <g>
--
/kj
"Joe Kaplan" <joseph.e.kaplan@removethis.accenture.com> wrote in message
news:%23%23dk2UXQHHA.5032@TK2MSFTNGP03.phx.gbl...
> LDIFDE will do this too, but it will give you the data in Base64 (since it
> is stored as binary in the directory), so it might not be so practical to
> look it. Joe R. always tries to make the annoying stuff easier for us.
> :)
>
> Joe K.
>
> --
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
> Programming"
> http://www.directoryprogramming.net
> --
> "kj" <kj@nowhere.com> wrote in message
> news:ubBwe7WQHHA.4692@TK2MSFTNGP05.phx.gbl...
>> Adfind does that quite nicely, but you'll need to lookup the correct
>> syntax unless someone has it handy.
>>
>> --
>> /kj
>> "Herb Martin" <news@learnquick.com> wrote in message
>> news:%23klgvyWQHHA.4276@TK2MSFTNGP02.phx.gbl...
>>>
>>> "chris16" <chris16@discussions.microsoft.com> wrote in message
>>> news:E8C0B9A9-9C8D-454E-9D45-AE07D7CFBEDC@microsoft.com...
>>>> Does anyone know how to export the SID from AD?? I know you can use
>>>> some AD
>>>> tools such as ldfide or csvide to export account information..but that
>>>> doesn't export the SID number associated w/ that object. thank you.
>>>
>>> Shouldn't be that hard with a script or something.
>>>
>>> What good will it do you? What are you really trying to accomplish?
>>>
>>> --
>>> Herb Martin, MCSE, MVP
>>> http://www.LearnQuick.Com
>>> (phone on web site)
>>>
>>
>>
>
>
LOL.
You guys are welcome
AdFind will decode SIDs by default. To get a dump of all SIDs in a
domain in CSV format something like the following should suffice
adfind -default -f objectsid=* objectsid -csv
If you want SAM Name too then something like
adfind -default -f objectsid=* samaccountname objectsid -csv
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
kj wrote:
> >Joe R. always tries to make the annoying stuff easier for us. :)
>
> Quite thankfully. <g>
>
Bookmarks