in reply to Re: Readable ldapsearch output
in thread Readable ldapsearch output
here is my perl version:./getDN.sh: line 4: syntax error near unexpected token `?' ./getDN.sh: line 4: `ldapsearch -h platform-vip -p 7323 -D "administra +torName=jambala, nodeName=jambala" -w -b "$1" "(objectClass=*)" -x - +P 3 -s sub | perl -MMIME::Base64 -n -00 -e 's/\n //g;s/(?<=:: )(\S+) +/decode_base64($1)/eg;print''
Any advice?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Readable ldapsearch output
by Anonymous Monk on Aug 13, 2016 at 20:52 UTC |