Question

Locked

Help with ldifde export command in ADAM

By ceby71 ·
I am following the instructions and try to do a simple ldif export with:

ldifde -f filename

and nothing happens, I tried

ldifde -s localhost -t 389 -f filename.ldf

and get the following back, with no data:
Connecting to "localhost"
Logging in as current user
Exporting directory to file filename.ldf
Searching for entries...
The default naming context cannot be found. Using NULL as the search base.
Writing out entries
No Entries found

The command has completed successfully

What am I doing wrong? I want to have the users exported so I can take the .ldf file and dump it into our eDirectory. Help, all this is new for me ADAM, LDIF, LDAP, eDirectory and I am the "expert" that is tasked to get it implemented. If someone could point me in the right direction.

TIA

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Export

by Matt.Altman In reply to Help with ldifde export c ...

Here is an example from Microsoft.

"ldifde -f Exportuser.ldf -s Server1 -d "dc=Export,dc=com" -p subtree -r "(&(objectCategory=person)(objectClass=User)(givenname=*))" -l "cn,givenName,objectclass,samAccountName"

Running this command exports all users in the Export domain into a file named Exportuser.ldf. If you do not have all the required attributes, the import operation does not work. The attributes objectclass and samAccountName are required, but more can be added as needed."

Let me know if you have any questions.

Collapse -

FYI

by Matt.Altman In reply to Export

I added the beginning quotes in front of ldifde and the end quotes behind the word needed in the second to last line.

Collapse -

I've tried that

by ceby71 In reply to Export

I had that example, it is in the documenation on ldifde. I am not sure what part of that command is not working, my first guess is the "dc=Export,dc=com" part. I asked what that would be for us and I was told that we don't have dc setup? Does that make sense? If I understand right the Export in dc=Export would be the name of the server? or if I have a domain name of skip.com it would be dc=skip,dc=com? I hate to ask stupid questions but this is really not my area of expertise.

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums