Re: LDIFDE Import Command



Thanks for your suggestion. It is still not working. Do you have another
suggestion? Thanks.

"Paul Bergson [MVP-DS]" <pbbergs@xxxxxxxxxxxxxx> wrote in message
news:6f5dc7bb1e9e8cafd786c6dd278@xxxxxxxxxxxxxxxxxxxxxxx
Two things to attempt:

1) Place a space after each comma in the dn

If that doesn't work
2) Place double quotes around the dn


--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4


http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.



We are running Active Directory on Windows 2003 server. We use the
LDIFDE
command to import users to Active Directory. We run the command
(LDIFDE -i -f users.ldf -s servername) at the Domain Controller. Here
is
the entry in the batch file. There is no spaces between each entry
dn: CN=Doe_John,OU=Marketing Dept,OU=Various
Users,DC=xxx,DC=xxx,DC=com
changetype: add

cn: Doe_John

objectClass: user

samAccountName: Doe_John

userAccountControl: 66048

givenName: Andrewa

sn: Fuller

displayName: Doe_John

We got the error message:

Add error on line 1: no such Attribute
The server side error is "The parameter is incorrect"
--------
Do you have any suggestions? Thanks.




.



Relevant Pages

  • Re: LDIFDE Import Command
    ... Paul Bergson ... MVP - Directory Services ... command to import users to Active Directory. ... There is no spaces between each entry ...
    (microsoft.public.windows.server.active_directory)
  • Re: recording Macros
    ... You posted command button code that may work to filter ... further responses and suggestions, ... Thank you for your suggestion, I will try to be more clear with my ... Is snm type a number type field, ...
    (microsoft.public.access.gettingstarted)
  • Re: IniRead default value proposal
    ... and parm4 is populated, then send parm4". ... function slows down the parser for every command, ... please note that my suggestion does not ... I think the feature would be a useful thing ...
    (comp.os.msdos.4dos)
  • Re: Magic item cost
    ... crystal would suffice per any other ioun stone. ...  10,800 suggestion: add a command-word activated Silence effect (2nd ... level spell effect x min 3rd level cleric x 1800 command word ... into a Silence effect to eliminate the worry of his moving around, ...
    (rec.games.frp.dnd)
  • Re: HELP I CANNOT RUN ANY EXE FILES ON MY COMPUTER!!!
    ... but I have a suggestion for Pegasus. ... The directions could be better. ... Type this command and then hit the Enter key: ... :>> jumping around about OEM disk, reloading from a friends disk, cmd.exe ...
    (microsoft.public.windowsxp.general)

Loading