Results 1 to 6 of 6

Thread: export SID number

  1. #1
    chris16 Guest

    export SID number

    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.

  2. #2
    Herb Martin Guest

    Re: export SID number


    "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)



  3. #3
    kj Guest

    Re: export SID number

    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)
    >




  4. #4
    Joe Kaplan Guest

    Re: export SID number

    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)
    >>

    >
    >




  5. #5
    kj Guest

    Re: export SID number

    >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)
    >>>

    >>
    >>

    >
    >




  6. #6
    Joe Richards [MVP] Guest

    Re: export SID number

    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>
    >


Similar Threads

  1. Replies: 3
    Last Post: 30-01-2012, 06:01 PM
  2. Replies: 3
    Last Post: 16-09-2011, 10:56 AM
  3. Replies: 6
    Last Post: 16-08-2011, 10:51 PM
  4. Replies: 5
    Last Post: 21-03-2011, 10:24 AM
  5. "My Number" in iPhone doesn't match my real number
    By TalinF in forum Portable Devices
    Replies: 6
    Last Post: 22-05-2010, 04:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,835,189.52663 seconds with 17 queries