[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problem - ldapadd invalid syntex (21)
- To: Dieter Kluenter <dieter@dkluenter.de>, openldap-technical@openldap.org
- Subject: Re: Problem - ldapadd invalid syntex (21)
- From: Bruno Steven <aspenbr@gmail.com>
- Date: Fri, 24 Jul 2009 12:16:44 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8BRHffRvtTQGrS+vSLgIpklYUpzOGZXY2mSpCGe2LY4=; b=MD5+xdf9+Dl4a8bKIj8075nX/R9dR+G6gxMXnk6QzG3Ik9Rx0tiPbKUmmkB+EYzO3h SQ/HDqix/zrhsomc0RbNKNoyEwUNHQGbza8mrL37PntzbMpF46ADlgWm3XpH+PK4tJ0T +E2ZsQfgI3Fe7DhNpvKWOYtW24qpLz4ESmFIE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=m3ZYrHjGLfKb6soYRJP7E4BYkWpdaiUP4Pm6TRpg3mcmuyDljSsOVFRFSJ4yPgzlwA qcf8oZBoywQl59TJG0GgxDzgQ5Bj8AjGMbq4ND8VBeWbFyhEDZmLg3PxnnfcEv39JC+R LBD+2OlqgFEjbbDm/WcUABWkaXnzcOEPY7bKk=
- In-reply-to: <87hbx2yv6v.fsf@rubin.avci.de>
- References: <c6bf33680907240610s3cc90f35ubdbd52c0efc8217f@mail.gmail.com> <87hbx2yv6v.fsf@rubin.avci.de>
Sorry, I removed '#' for commentary, the problem continues. some
other idea ?
thanks for all
On 7/24/09, Dieter Kluenter <dieter@dkluenter.de> wrote:
> Bruno Steven <aspenbr@gmail.com> writes:
>
>> Hello
>>
>> I am newbie in use OpenLdap , I have simple problem I can´t add structure
>> of
>> tree directory, the file org.lidf show my structure
>>
>> dn: dc=labcom,dc=factory
>> objectClass: top
>> objectClass: dcObject
>> #objectClass: organization
>> dc: labcom
>> o : Linuxtech
>>
>> When I type this command
>>
>> ldapadd -f /etc/openldap/lidfs/org.ldif -x -D
>> "cn=adm,dc=labcom,dc=factory"
>> -W
>>
>> Show this message error
>>
>> Enter LDAP Password:
>> adding new entry "dc=labcom,dc=factory "
>> ldapadd: Invalid syntax (21)
>>
>> Why this message error ?
>
> Because your ldif file is wrong.
> 1. a comment is not allowed within an entry
> 2. objectClass dcobject is only an auxiliary class.
>
> -Dieter
>
> --
> Dieter Klünter | Systemberatung
> http://dkluenter.de
> GPG Key ID:8EF7B6C6
> 53°08'09,95"N
> 10°08'02,42"E
>
--
Sent from my mobile device
Bruno Steven - Administrador de sistemas.
LPIC-1 - LPI ID: lpi000119659 / Code: p2e4wz47e4
https://www.lpi.org/caf/Xamman/certification
MCP-Windows 2003 - TranscriptID: 793804 / Access Code: 080089100
https://mcp.microsoft.com/authenticate/validatemcp.aspx