LDF File Line Breaks

G

Guest

Hi there,

When I export my groups using ldifde.exe, the LDF file has many line breaks
that make it difficult to "Find/Replace" for editing.

Any Ideas why it would be putting line breaks in the file. When I exported
my users I had no problems.

this is the command i am using
ldifde -f c:\exportgrp.ldf -s servername-t 3268 -d "ou=OU,dc=domain,dc=com"
-p subtree -r "(&(objectCategory=group)(objectClass=group))" -l
"cn,sAMAccountName,groupType,objectClass,member"

any help would be appreciated.

Mike
 
C

Cary Shultz [A.D. MVP]

Mike,

Can you give us an example of the .ldf file with the line breaks? I have
never had this problem before.....Can not quite visualize what you mean...

Do not know off of the top of my head why this could be. I did notice that
you are using -t 3268. I generally use -t 389. Doubt that this has
anything to do with it ( but it is something different.... ).

--
Cary W. Shultz
Roanoke, VA 24012

WIN2000 Active Directory MVP
http://www.activedirectory-win2000.com
(soon to be updated!!!)
http://www.grouppolicy-win2000.com
(soon to be updated!!!)
 
A

Ace Fekay [MVP]

In
Cary Shultz said:
Mike,

Can you give us an example of the .ldf file with the line breaks? I
have never had this problem before.....Can not quite visualize what
you mean...
Do not know off of the top of my head why this could be. I did
notice that you are using -t 3268. I generally use -t 389. Doubt
that this has anything to do with it ( but it is something
different.... ).

Cary,

I think Mike means the way ldifde will create an output where each attribute
is on a separate line. Maybe csvde would be the better solution.

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If this post is viewed at a non-Microsoft community website, and you were to
respond to it through that community's website, I may not see your reply
unless that website posts replies back to the original Microsoft forum.
Therefore, please direct all replies ONLY to the Microsoft public newsgroup
this thread originated in so all can benefit or ensure the web community
posts it back to the original forum.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Microsot Certified Trainer
Infinite Diversities in Infinite Combinations.
=================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

LDIFDE - Export 2
Multiple OU's in csvde 0
Export Active directory users and groups. 1
LDIFDE 2
Export OUs and CNs 2
LDIFDE Export 2
LDIFDE import error 2
Trying to get same results from LDIFDE vs. LDP 1

Top