LDIFDE error


hi

i trying import users newusers.ldf ldifde. here file contents getting error there 1 can help. thanks in advance. here ldf file

 dn: cn=april stewart,ou=people,dc=contoso,dc=com
changetype: add
cn: april stewart
objectclass: user
samaccountname: april.stewart
userprinciplename: april.stewart@contoso.com
givenname: april
sn: stewart
displayname: stewart, april
mail: april.stewart@contoso.com
description: salesrepresentative in usa
title: sales representative
department: sales
company: contoso, ltd.


dn: cn=tony krignen,ou=people,dc=contoso,dc=com
changetype: add
cn:tony krignen
objectclass: user
samaccountname: tony.krignen
userprinciplename: tony.krignen@contoso.com
givenname: tony
sn: krignen
displayname: krignen, tony
mail: tony.krignen@contoso.com
description: salesrepresentative in usa
title: sales representative
department: sales
company: contoso, ltd.

this error getting, far know fallowing mspress book instruction , there no typo same book says.



c:\users\administrator\documents>ldifde -i -f newusers.ldf -k
connecting "server01.contoso.com"
logging in current user using sspi
importing directory file "newusers.ldf"
loading entries.
add error on entry starting on line 1: no such attribute
the server side error is: 0x57 parameter incorrect.
the extended server error is:
00000057: ldaperr: dsid-0c090c26, comment: error in attribute conversion operati
on, data 0, v1771
0 entries modified successfully.
an error has occurred in program
no log files written.  in order generate log file, please
specify log file path via -j option.

c:\users\administrator\documents>

hello,

change userprinciplename in userprincipalname , try again. unfortunal error pointing out line 1 complete error states wrong attribute name.
best regards meinolf weber disclaimer: posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Directory Services



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...