From: Gael LE N. <gle...@if...> - 2001-02-21 10:17:13
|
hello, I need help about LDIF I'm not able to read one argument of my search $result = $ldap->search( base => $dn , scope => "sub", filter => " nsLIElementType=cookies ", ); Net::LDAP::LDIF->new( "perlLDAP" , "w" )->write($result->entries); and, when I display the result: dn: dn... nslielementtype: cookies owner: owner... objectclass: nsLIProfileElement objectclass: top nsliversion: 1 nslidata:: CgkJCSBNb2RpZmljYXRpb25zIGR1IGZpY2hpZXIgZGUgY29va2llcy4uLmNlc3QgdG9 1dCBjZXN0IGp1c3RlIGNvbW1lIGNhIA== nslidata is not readable... What can I do? ps: an other question... can I use an LDIF file like : (and how if I can?) dn: nslielementtype=cookies,nsliprofilename=athomas,ou=roaming,dc=ifremer,dc=fr changetype: modify replace: nslidata nslidata: modif ldif des cookies...or a file?? Thanks Gael Le Nerriec |