From: rvd5star Date: 2008-05-13T12:50:15+09:00 Subject: Re: create groups with ruby-net-ldap I was able to create groups using ruby-net-ldap. My only problem now is how to: 1. retrieve users from a group 2. assign users from one group to another Any advice? Thanks. On May 13, 10:33 am, rvd5star wrote: > really? could you show me a code snippet on how to create > groups in AD with ruby-net-ldap? > > Thanks in advance. > > On May 12, 10:55 pm, Glen Holcomb wrote: > > > [Note: parts of this message were removed to make it a legal post.] > > > On Mon, May 12, 2008 at 12:30 AM, rvd5star wrote: > > > I would like to add the ff. questions: > > > > 1. Is there a way to change the user's group("OU") or assign to > > > another existing groups? > > > 2. Is there a way to edit/delete existing groups using ruby-net-ldap? > > > > Thanks, > > > rvd5star > > > > On May 12, 1:28 pm, rvd5star wrote: > > > > hello all, > > > > > I would like to ask if it's possible to add new groups in active > > > > directory server > > > > using ruby-net-ldap library. > > > > > thank you. > > > > > best regards, > > > > rvd5star > > > Yes you can create groups in AD with ruby-net-ldap. > > > I'm not sure what you mean by group("OU") but you can add users to a group > > by adding to the member property of the group. > > > Editing and deleting are also easy by setting attributes and using the > > delete method. > > > -- > > "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)