Announcement

Collapse
No announcement yet.

LDIFDE & CSVDE export returning error no entries found

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

  • LDIFDE & CSVDE export returning error no entries found

    Hi,

    I am creating a batch file with following command

    ldifde -f c:\Exportuser.ldf -s SYS1 -p subtree -r "(&(objectCategory=person)(objectClass=User)(given name=*))" -l "cn,givenname,objectclass,samAccountName,pwd"

    When i run this I am getting no entries found.

    I am using WIN 2008 Server enterprise edition.
    SYS1 is system name.

    Please help!

    Thanks in Advance.
    Last edited by JAGADISH BHATTA; 8th June 2016, 06:28.

  • #2
    So build up your string bit by bit and identify what fails
    Does the ldifde without parameters work?
    If so, add them until it breaks then investigate that one further

    Are you getting an error (if so what) or no data returned?

    IMHO look at the given name = "))" which doesn't look right
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      That's what I would do. Start with the basics, build it up as you move on through the various filters and conditions.
      Cheers,

      Daniel Petri
      Microsoft Most Valuable Professional - Active Directory Directory Services
      MCSA/E, MCTS, MCITP, MCT

      Comment


      • #4
        Originally posted by Ossian View Post
        So build up your string bit by bit and identify what fails
        Does the ldifde without parameters work?
        If so, add them until it breaks then investigate that one further

        Are you getting an error (if so what) or no data returned?

        IMHO look at the given name = "))" which doesn't look right
        I figured the issue I was using LDIFDE as file name which was causing problem i renamed it to something else and it worked.
        Last edited by JAGADISH BHATTA; 1st August 2016, 05:50.

        Comment


        • #5
          Originally posted by danielp View Post
          That's what I would do. Start with the basics, build it up as you move on through the various filters and conditions.
          I figured what was issue.

          Anyway thanks for your help.

          Comment


          • #6
            Originally posted by JAGADISH BHATTA View Post

            I figured what was issue.

            Anyway thanks for your help.
            So what was the issue? Sharing is caring, and by sharing you may be able to help others!
            Cheers,

            Daniel Petri
            Microsoft Most Valuable Professional - Active Directory Directory Services
            MCSA/E, MCTS, MCITP, MCT

            Comment

            Working...
            X