Announcement

Collapse
No announcement yet.

Help please, I am rubbish : LDAP Query

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help please, I am rubbish : LDAP Query

    Hi, I am completely new to vb scripting and do not know much at all. I ungently need to write a vb script that queries LDAP for all SMTP addresses out of AD that end in a specific way i.e.. ABC.com This needs to be for all users (including multiple email addresses), Custom contacts and distribution groups. I would also like to write the output info into a text file. but only the smtp addresses. This list will then be used to feed into out mail sweeper, but that is not needed from the script only the list is needed. Can anyone help me or point me in the right direction. Huge thanks in advance. David Kent

  • #2
    Re: Help please, I am rubbish : LDAP Query

    Have a look through here m8

    http://www.microsoft.com/technet/scr...5/hey0829.mspx

    Comment


    • #3
      Re: Help please, I am rubbish : LDAP Query

      Thanks but ive checked microsofts site including scripting guy but nothing matches what i need to do, thanks anyway

      Comment


      • #4
        Re: Help please, I am rubbish : LDAP Query

        did you already create something?
        Marcel
        Technical Consultant
        Netherlands
        http://www.phetios.com
        http://blog.nessus.nl

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"

        Comment


        • #5
          Re: Help please, I am rubbish : LDAP Query

          No thats the problem I dont even know where to start. I can get a list from a normal AD query but then it doesnt give me users second email addresses only there primary one also it doent give distribution lists emal adresses and i only need for a spacific domain eg (I need everyone)@abc.com

          Comment


          • #6
            Re: Help please, I am rubbish : LDAP Query

            You can write something based on the following example:
            http://postfix.state-of-mind.de/patr...lrelay/#d0e149
            Guy Teverovsky
            "Smith & Wesson - the original point and click interface"

            Comment

            Working...
            X