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

Re: can not parse LDIF file



if your trying this on a windows box, I'm not sure of the command to use,
but if your on a *unix machine you should try using ldapadd.


On Sat, 17 Mar 2001, Yanlin Peng wrote:

> Hi all,
> 	I tried to add entries to slapd. When I used
> "slapadd -f slapd.conf -l doc\test.ldif -d -1", I got
>  "slapadd: could not parse entry (line=4)". test.ldif
> like that:
> dn: cn=Manager,dc=example,dc=com
> objectclass: organizationalRole
> cn: Manager
>
> 	The last(4) line is a blank. If I add a CR at
> last line, it told me that "slapadd: could not parse
> entry (line=5)". I edit the LDIF file with notepad of
> window. What's wrong with it.
>
>

-- 
     _,
  ,$$lP"                                                               ""  .
 l$$$"  Craig Larson                           E-Mail: cal@integrity.com   "$.
 ?$$l   Senior Network Administrator/Engineer  Phone : (253) 568-7305      ;$%.
 `%$;   Integrity Online NOC                   Fax   : (253) 568-7314      l$$P
   '$.                                                                   ,$$$'
     ` The contents of this message are proprietary and confidential   dl$$"