From: Glen Holcomb Date: 2008-05-13T22:04:00+09:00 Subject: Re: ruby net/ldap ------=_Part_7328_31031781.1210683840061 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, May 12, 2008 at 8:38 PM, Kouhei Sutou wrote: > Hi, > > 2008/5/13 rvd5star : > > One more thing, when I try to establish connection to > > our AD server using the Base.establish_connection(), I get > > an "nil". Does it mean that the connection fails? > > No. > > > I also want to connect thru SSL. Is there anything that > > I need to consider? > > establish_connection(:method => :ssl) # or :tls > > > Thanks, > -- > kou > > for course in self.courses ldap.add_attribute("cn=#{course.full_title}," + @@lab_env[lab][:group_container_path], :member, "cn=#{self.user_name}," + @@lab_env[lab][:user_container_path]) end I will translate here: ldap.add_attribute("full group dn", :member, "full user dn") -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_7328_31031781.1210683840061--