A Forum reader recently asked:

“How can I create/modify groups using the command line? I need to figure out how to handle eDirectory groups under LDAP. I have Novell 8.8 installed on Windows server 2003.”

And here’s the response from Aaron Burgemeister …


Hacking groups from the command line (via LDAP) is simple enough. You just need to be sure you modify both the user AND group sides of the link. Given this example:



… you need to modify both a user and group to add these things:

dn: cn=admin,dc=user,dc=system
changetype: modify
add: groupMembership
groupMembership: cn=admingroup,dc=group,dc=system
- -
add: equivalentToMe
equivalentToMe: cn=admingroup,dc=group,dc=system

dn: cn=admingroup,dc=group,dc=system
changetype: modify
add: member
member: cn=admin,dc=user,dc=system
- -
add: securityEquals
securityEquals: cn=admin,dc=user,dc=system

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
By: ab
Mar 7, 2007
3:01 am
Active Directory Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management Knowledge Depot LDAP Migrating from Windows XP or 2003 to SUSE Linux Monitoring Open Enterprise Server Passwords Reporting Secure Access Sentinel Supported Troubleshooting Workflow