Hi all,

I need to export some users' attribute from eDirectory and I am trying
to get these data through ldapsearch command line.
The issue that I am facing is, some exported attributes has their data
in base64 format, like below, some don't.

-DirXML-EntitlementRef::
Y249TGVnYWN5QUQsY249Tm92ZWxsIEFEIERhdGEgU3luYyxjbj 1Ob3ZlbGxfSURWX0RSX1NFVCxvdT1JRE0sb3U9c2VydmljZXMs bz1ub3ZlbGwjMSM8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW 5nPSJVVEYtOCI/Pg0KPHJlZj4NCjxzcmM+QlVMS1Jlc291cmNlPC9zcmM+DQo8aW QvPg0KPHBhcmFtPkJyYXppbDwvcGFyYW0+DQo8L3JlZj4=-

The syntax that I used was something like:
*-ldapsearch -Z -b ou=people,o=novell
"(&(nrfAssignedRoles=*)(nrfAssignedResources=*)(Di rXML-EntitlementRef=cn=UserRoles,cn=SAP*))"
-s sub -D cn=admin,o=novell -W -LLL DN nrfMemberOf nrfAssignedRoles
nrfAssignedResources DirXML-EntitlementRef > /tmp/teste1.lo-*g

Could someone help me figure out how to extract the data in the properly
format?
-"cn=LegacyAD,cn=Novell AD Data
Sync,cn=Novell_IDV_DR_SET,ou=IDM,ou=services,o=nov ell#1#<?xml
version="1.0" encoding="UTF-8"?>
<ref>
<src>BULKResource</src>
<id/>
<param>Brazil</param>
</ref>"-
(Would be fine without the broken lines )

Thank you so much


--
emerson_infosys
------------------------------------------------------------------------
emerson_infosys's Profile: https://forums.netiq.com/member.php?userid=5308
View this thread: https://forums.netiq.com/showthread.php?t=51434