From: zacheiss Date: Tue, 26 Feb 2002 09:00:57 +0000 (+0000) Subject: Changes to deal with new args being passed by moirad for MACHINE members X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/f7c496a6ca7e1a7d99e1e5b58441f76de30e38f8 Changes to deal with new args being passed by moirad for MACHINE members of lists. --- diff --git a/incremental/winad/winad.c b/incremental/winad/winad.c index d3b94e69..09ddeab8 100755 --- a/incremental/winad/winad.c +++ b/incremental/winad/winad.c @@ -915,8 +915,8 @@ void do_member(LDAP *ldap_handle, char *dn_path, char *ldap_hostname, { if (afterc > LM_EXTRA_GROUP) { - strcpy(moira_list_id, before[LM_EXTRA_GID]); - strcpy(moira_user_id, before[LMN_LIST_ID]); + strcpy(moira_list_id, after[LMN_LIST_ID]); + strcpy(moira_user_id, after[LM_LIST_ID]); } } else if (!strcasecmp(ptr[LM_TYPE], "USER")) @@ -949,8 +949,8 @@ void do_member(LDAP *ldap_handle, char *dn_path, char *ldap_hostname, { if (beforec > LM_EXTRA_GROUP) { - strcpy(moira_list_id, before[LM_EXTRA_GID]); - strcpy(moira_user_id, before[LMN_LIST_ID]); + strcpy(moira_list_id, before[LMN_LIST_ID]); + strcpy(moira_user_id, before[LM_LIST_ID]); } } else if (!strcasecmp(ptr[LM_TYPE], "USER"))