Exporting Active Directory Error code 58

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Can anyone help me.

I'm trying to use "lfifde" see script below but when I
execute this command line I 'm getting this error :


The error code is 58.
The connection can't be established.


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


Note: I'm logged on to server TEST_DEVV as a local and
domain administrator.

Thanks

Tom

PS I alos only need user information and not the entire
object.
 
Try it like this...I think you may have some extra " "s

C:\>ldifde -f UserList.ldf -s j-dc-01 -d dc=j,dc=com -p subtree -r
"(objectclass=user)" -l
"dn,manager,streetaddress,company,countryCode,c,department,displayName,mail,
givenNam
e,homeDirectory,homeDrive,instanceType,l,msNPAllowDialin,objectClass,physica
lDeliver
yOfficeName,postalCode,profilePath,name,sAMAccountName,st,sn,telephoneNumber
,co,titl
e,userAccountControl,userPrincipalName"

IBTerry [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thanks Terry. Have a great day.

Tom
-----Original Message-----
Try it like this...I think you may have some extra " "s

C:\>ldifde -f UserList.ldf -s j-dc-01 -d dc=j,dc=com -p subtree -r
"(objectclass=user)" -l
"dn,manager,streetaddress,company,countryCode,c,department ,displayName,mail,
givenNam
e,homeDirectory,homeDrive,instanceType,l,msNPAllowDialin,o bjectClass,physica
lDeliver
yOfficeName,postalCode,profilePath,name,sAMAccountName,st,
sn,telephoneNumber
,co,titl
e,userAccountControl,userPrincipalName"

IBTerry [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


.
 
Back
Top