Hello list,

Is there a way to know if an attribute is binary, even in the case of a new attribute (i.e. when I build it from Net::LDAP::Entry->new so I can't rely on the ';binary' suffix) ?

For the moment I check the attribute name in the schema, get the syntax, and from the syntax I check the 'x-not-human-readable' field (I prefer it over 'x-binary-transfer-required' because I want to display it). I know I can do this for OpenLDAP, and it works well, but as it is a 'x-' field I suppose it is not standard.

Do most LDAP servers on the market provide this field ? Can you tell me your experience ?

        Thanks !
--
   \^/
 -/ O \----------------------------------------
| |/ \|       Alexandre (Midnite) Jousset      |
 -|___|----------------------------------------

Reply via email to