[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapadd: no attributes to change or add (entry Segmentation Fault (core dumped)



> The command:
> ldapadd -d "cn=root, o=company, c=JP" -W < myldif.ldif
> The error:
> ldapadd: no attributes to change or add (entry Segmentation Fault (core dump
> ed)
> 
> What is this error trying to tell me?
well it core dumped (thats obvious I guess)

however.

you're telling it to prompt you for a password from STDIN but you're
redirecting STDIN from myldif.ldif

so it will never get your password.
additionally it seems like you probably want
ldapadd -D (not -d) and I think your DN is probably wrong (just a guess
though.)

-sv