Hi every i am using
perl-ldap-0.29-1
i created a Web-LDAP browser based on HTML (nothing to do with java). It makes have use of the LDAP-schema functions.
up to perl-ldap-0.25 there was a method in the schema, which allowed to retrieve the attributes of an objectclass:
$att_names = $schema->attributes($objectclass_name);
In perl-ldap-0.29 this method does no longer exist and/or has been replaced by two methods
must may
In the man page of perl-ldap-0.29 it is said that both must and may create a "list of attributes" (whatever that means). In fact, they deliver an array of hashes from where you can get the name of the attribute (one by one)
to get the full list of attribute-names, you need to do now (perl-ldap-0.29)
@a = $schema->must($objectclass_name);
push (@a, ($schema->may($objectclass_name)));
foreach (@a) { push(@at_names , ($$_{name}))};could you please either - adapt the man pages/documentation to the new version or - change the software to agree with the docu?
Thanks very much for your understanding.
suomi
