]> andersk Git - moira.git/commitdiff
From mark
authorzacheiss <zacheiss>
Thu, 30 Oct 2008 17:58:15 +0000 (17:58 +0000)
committerzacheiss <zacheiss>
Thu, 30 Oct 2008 17:58:15 +0000 (17:58 +0000)
incremental/winad/winad.c

index 0282be15bc590c0c782aa0d49744eb6d9c5f2042..36aa5ca099734d2adec2ad593316340314065a7e 100755 (executable)
@@ -3775,7 +3775,9 @@ int contact_create(LDAP *ld, char *bind_path, char *user, char *group_ou)
 
   if (Exchange)
     {
-      if ((rc != LDAP_SUCCESS) && (rc == LDAP_ALREADY_EXISTS)) 
+
+      if ((rc != LDAP_SUCCESS) && (rc == LDAP_ALREADY_EXISTS) &&
+         !strcmp(group_ou, contact_ou) && email_isvalid(mail))
        {
          n = 0;
          
This page took 0.048681 seconds and 5 git commands to generate.