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

Re: how can add an encoded LDIF by ldapmodify

On Tue Dec 14 2004 at 08:58:10 CET, ZhangPu wrote:

> Hello
> Does anyone know how add a LDIF file which had been encoded to base64 by 
> ldapmodify command directly?
> For example, this ldif file had been encoded with the format below:
> --------------
> ZG46IGRjPWFhYSxkYz1iYmIsZGM9Y2NjDQpjaGFuZ2V0eXBlOiBtb2RpZnkNCnJl

I wouldn't think that would work, but you could decode it on the fly:

	openssl base64 -d < inputfile | ldapmodify ...