Hi Alexandre, I'm not sure - the problem is jndi doesn't handle binary attributes very cleverly, and JXplorer has a number of hacks to try to get around this. It sounds like these aren't working consistently :-/.
One thing you could try is getting your server to 'advertise' the attribute name as binary by adding ";binary" to the name of the attribute, so that there's no confusion? Another way around this would be to set the java environment variable 'java.naming.ldap.attributes.binary' to include the name of your attribute? However it sounds like the basic problem is that JX isn't always recognising the schema for the attribute as being a binary syntax, which does sound like a bug. - Chirs On 20/07/2007, at 3:42 AM, Alexandre Roberto Zia wrote: > Hello, > > Just a feedback, don't know if this is really a bug, or if I'm > using it in the wrong way. > I've created a class (private one, for my application use only), > and created a binary attribute. > Can load a file to this attribute with: > > ldapmodify -D "cn=Manager,dc=edconhecimento,dc=local" -h 127.0.0.1 > -w xxxx -x << EOC_ > dn: cn=squid,ou=Config,o=loja01,dc=edconhecimento,dc=local > squidConfData :< file:///etc/squid/squid.conf > EOC_ > > And extract the file with: > > ldapsearch -LLL -t -T . -D > "cn=Manager,dc=edconhecimento,dc=local" -h 127.0.0.1 -w xxxxxx -x - > b "ou=Config,o=loja01,dc=edconhecimento,dc=local" "cn=squid" > squidConfData > > But when browsing with JXplorer (build JXv3.2 2007-02-26 21:08 EST) > in table editor mode, > The attribure value is shown as text, and if I change any other > attribute, JXplorer screw up with my binary attribute. > And if I change to HTML View and change back to Table Editor this > binary attribute is shown as '(no string data)' and act correctly > as binary attribute, if I click it shows the Binary data dialog to > load and save data to the attribute. > > Thanks > > Alexandre Zia > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jxplorer-devel mailing list Jxplorer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jxplorer-devel