- linklist_free((*linklist_base));
- (*linklist_base) = NULL;
- (*linklist_count) = 0;
- sprintf(filter, "(sAMAccountName=%s_zZx%c)", group_name, group_membership[0]);
- attr_array[0] = attribute;
- attr_array[1] = NULL;
- if ((rc = linklist_build(ldap_handle, dn_path, filter, attr_array,
- linklist_base, linklist_count)) != 0)
- {
- com_err(whoami, 0, "LDAP server unable to get list info with MoiraId = %s: %s",
- MoiraId, ldap_err2string(rc));
- return(rc);
- }
- if ((*linklist_count) == 1)
- strcpy(rFilter, filter);