Creating and modifing generic groups using ldif
Hi,
I need complete some tasks (changes in mi realm structure) using scripting or command line options in OID.
I was thinking to do this using ldapadd or ldapmodify and maybe with an ldiff file.
This is the situation: I have many groups with names that begins with an specyfic chracter chain. I need to automate adding users to all those groups. So I considered create one group containing all groups that match with that character chain. Then add new users to the new (container) group.
To ilustrate this: lets say we have group G_1, G_2 and G_3... and continue up to G_n if you want. Lets call new users as U_1, U2 and U3. Up to this point is the actuall situation. Now, the scripting or command line solution could make something like this: create new group, lets name it as "G_Generic", containing all groups that begins with "G_"; after creating this group, users U_1, U_2, U_3 should by added to "G_Generic".