steiner has asked for the wisdom of the Perl Monks concerning the following question:
I'm using Net::LDAP::LDIF to take a dumped OpenLDAP database and give me a new ldif file with some of the unneeded attributes removed. Pretty simple code and works just fine except that in the dump, the userPassword is base64 but in the new ldif it's not. I didn't see any way to write the new ldif file with that attribute encrypted. E.g.
instead ofuserPassword:: e1NBU0x9YWFndWlsYXJAUlVUR0VSUy5FRFU=
thanks, dsuserPassword: {SASL}netid@DOMAIN.EDU
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Question about base64 encoded attributes with Net::LDAP::LDIF
by huck (Prior) on Jun 27, 2019 at 01:11 UTC | |
by steiner (Novice) on Jun 27, 2019 at 16:24 UTC | |
Re: Question about base64 encoded attributes with Net::LDAP::LDIF
by haukex (Archbishop) on Jun 30, 2019 at 10:36 UTC | |
by steiner (Novice) on Jul 01, 2019 at 19:45 UTC | |
by haukex (Archbishop) on Jul 01, 2019 at 20:13 UTC | |
by steiner (Novice) on Jul 02, 2019 at 20:56 UTC | |
by haukex (Archbishop) on Jul 07, 2019 at 09:11 UTC | |
|