<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 1: LDAP::SCHEMA adds</title><link>https://sourceforge.net/p/ruby-ldap/feature-requests/1/</link><description>Recent changes to 1: LDAP::SCHEMA adds</description><atom:link href="https://sourceforge.net/p/ruby-ldap/feature-requests/1/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 05 Sep 2006 14:16:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ruby-ldap/feature-requests/1/feed.rss" rel="self" type="application/rss+xml"/><item><title>LDAP::SCHEMA adds</title><link>https://sourceforge.net/p/ruby-ldap/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think it will be usefull to add this features to &lt;br /&gt;
LDAP::Schema&lt;/p&gt;
&lt;p&gt;# RGE PATCH : Return the list of attributes &lt;br /&gt;
# alias for an attribut in schema&lt;br /&gt;
#&lt;/p&gt;
&lt;p&gt;def alias(at)&lt;br /&gt;
self['attributeTypes'].each{|s|&lt;br /&gt;
if( s =~ /NAME\s+\((.*'#{at}'.*)\).*DESC.*$/ )&lt;br /&gt;
return $1.tr("'",'').split(' ')&lt;br /&gt;
end&lt;br /&gt;
}&lt;br /&gt;
return nil&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;The regexp is not so cute, but it's just to explain the&lt;br /&gt;
feature&lt;/p&gt;
&lt;p&gt;LDAP::Schema.names(key) cannot get this information and&lt;br /&gt;
the list of attributeTypes is limited, because of a too&lt;br /&gt;
restrictive regexp &lt;br /&gt;
(don't see some stupids parenthesis ;) )&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Romain GEORGES</dc:creator><pubDate>Tue, 05 Sep 2006 14:16:22 -0000</pubDate><guid>https://sourceforge.net73d8f0af4065d9214a578693107898282c60c76f</guid></item></channel></rss>