My Community Dashboard

  • The following is just a suggestion in hope to point you in somewhat of a good direction. Testing the procedure adds the members to the group when doing an ldapsearch, but it doesn't show up in the Webconfig, so something is missing. Additionally, the group the user was added to shows up when using 'id test1' at shell.

    With that said, perhaps start by creating an LDIF file (e.g. addmemberstogroup.ldif) where ldap operations could be performed to add multiple users to a group? You could somewhat mimic the snapshot.ldif file found in /var/clearos/openldap, but something way simpler to the effect of:



    or



    Then a script to modify your ldap group:




    Note: Prior to and after the modification, you could see what the ldap directory looks like


    You'll have to experiment, albeit gingerly, and see how well it works for you. Maybe one of the ClearOS gurus can add/takeway to/from this?