Identity Management (MOSC)

MOSC Banner

Creating and modifing generic groups using ldif

edited Apr 21, 2015 10:07AM in Identity Management (MOSC) 2 commentsAnswered

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".

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center