Re: [ldapext] parsing LDIF: leading spaces

Michael Ströder <michael@stroeder.com> Wed, 30 September 2015 17:06 UTC

Return-Path: <michael@stroeder.com>
X-Original-To: ldapext@ietfa.amsl.com
Delivered-To: ldapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95C801A8790 for <ldapext@ietfa.amsl.com>; Wed, 30 Sep 2015 10:06:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.312
X-Spam-Level:
X-Spam-Status: No, score=-2.312 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPAJa2pH-Mm9 for <ldapext@ietfa.amsl.com>; Wed, 30 Sep 2015 10:06:19 -0700 (PDT)
Received: from srv1.stroeder.com (srv1.stroeder.com [213.240.180.113]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C81891A8764 for <ldapext@ietf.org>; Wed, 30 Sep 2015 10:06:18 -0700 (PDT)
Received: from srv4.stroeder.local (unknown [10.1.1.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.stroeder.local", Issuer "stroeder.com Server CA no. 2009-07" (verified OK)) by srv1.stroeder.com (Postfix) with ESMTPS id 396041CF28; Wed, 30 Sep 2015 17:06:15 +0000 (UTC)
Received: from nb2.stroeder.local (nb2.stroeder.local [10.1.1.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by srv4.stroeder.local (Postfix) with ESMTPS id 01E171D29F; Wed, 30 Sep 2015 17:06:12 +0000 (UTC)
To: neil.wilson@unboundid.com, ldapext <ldapext@ietf.org>
References: <560BB797.9040405@stroeder.com> <826cca7f-5573-469c-ae1b-28109e4dd736.maildroid@localhost>
From: =?UTF-8?Q?Michael_Str=c3=b6der?= <michael@stroeder.com>
Message-ID: <560C1683.5050009@stroeder.com>
Date: Wed, 30 Sep 2015 19:06:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 SeaMonkey/2.35
MIME-Version: 1.0
In-Reply-To: <826cca7f-5573-469c-ae1b-28109e4dd736.maildroid@localhost>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070600010805070805080201"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ldapext/YwyNvjeBoularvif4h-YlL7QQ_s>
Subject: Re: [ldapext] parsing LDIF: leading spaces
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ldapext>, <mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ldapext/>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ldapext>, <mailto:ldapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Sep 2015 17:06:21 -0000

neil.wilson@unboundid.com wrote:
> From RFC 2849, item 4 under Notes on LDIF Syntax:  "Any value that ...
> begins with a character other than those defined as "SAFE-INIT-CHAR",
> above, MUST be base-64 encoded."  Since SAFE-INIT-CHAR excludes SPACE, any
> value that starts with SPACE MUST be base-64 encoded.

Aargh! Thanks for reminding me...

Ciao, Michael.