Kartik Subbarao
2009-12-02 14:51:10 UTC
I'm trying to parse the recorded name attribute in Active Directory
(msExchRecordedName) stored by a Cisco Unity voicemail server. I'm using
the OpenLDAP version of ldapsearch on a Linux system:
% ldapsearch -x -t -h ad.server.name cn=username msExchRecordedName
I get the binary contents of the msExchRecordedName attribute
successfully dumped to a file in /tmp. But here's where I get stuck.
This file seems to have no resemblance to an audio file.
It looks like this attribute is stored as a Unicode String (UTF-16LE),
with attributeSyntax 2.5.5.12 and oMSyntax 64. But I've tried using
iconv to convert this and no matter which formats I use, can't seem to
decode the original binary from this.
Can anyone help point me in the right direction here?
Thanks,
-Kartik
(msExchRecordedName) stored by a Cisco Unity voicemail server. I'm using
the OpenLDAP version of ldapsearch on a Linux system:
% ldapsearch -x -t -h ad.server.name cn=username msExchRecordedName
I get the binary contents of the msExchRecordedName attribute
successfully dumped to a file in /tmp. But here's where I get stuck.
This file seems to have no resemblance to an audio file.
It looks like this attribute is stored as a Unicode String (UTF-16LE),
with attributeSyntax 2.5.5.12 and oMSyntax 64. But I've tried using
iconv to convert this and no matter which formats I use, can't seem to
decode the original binary from this.
Can anyone help point me in the right direction here?
Thanks,
-Kartik