[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Back-Shell and binary attribute
- To: openldap-technical@openldap.org
- Subject: Back-Shell and binary attribute
- From: llg <llg@portaildulibre.fr>
- Date: Fri, 20 Jan 2012 12:44:56 +0100
- Cc: jiashun.qian@atos.net
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=portaildulibre.fr; s=default; t=1327059897; bh=QYh0g6aG3gCAZHRDUu2jXvZBr9bZHft6IObpkTx3vBU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:Content-Type: Content-Transfer-Encoding; b=CyzOBMb6zuN2tgfFCpHRSjUv/YSizxffguXtrihAdYkcVr5gXxHdYfb2F70Sv7+Vn QaAGz1k4WpJt6p97BcP12LoaMbr9/6fp0h0Vp9OplZCouYtJzGF8XghruougudZ1xH P8Z7ueD8DORffynFI0m9EQd2o7QBhlDVdaHY04Qs=
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=portaildulibre.fr; s=default; t=1327059897; bh=QYh0g6aG3gCAZHRDUu2jXvZBr9bZHft6IObpkTx3vBU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:Content-Type: Content-Transfer-Encoding; b=CyzOBMb6zuN2tgfFCpHRSjUv/YSizxffguXtrihAdYkcVr5gXxHdYfb2F70Sv7+Vn QaAGz1k4WpJt6p97BcP12LoaMbr9/6fp0h0Vp9OplZCouYtJzGF8XghruougudZ1xH P8Z7ueD8DORffynFI0m9EQd2o7QBhlDVdaHY04Qs=
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0
Hi,
I'm trying to develop a back_shell to intercept modifications and I
got difficulties with binary attributes on modify operations
(userCertificate to be exact).
My input ldif contains userCertificate in Base 64 written like :
userCertificate;binary:: XXXXXXXXXX
The shell begins with printing input attributes via a logger : logger -t
"$0" "$@"
When we call the shell via ldapadd command, output is OK, but with
ldap_modify command, output seems to have been decoded and the shell
received binary data.
Same problem with : < file:/// syntax in ldif.
If we send this ldif directly to our ldap instance, modification is OK.
Any ideas ?
Thks
LLG
PS : same problem with back_perl