Index: ldap_integration.module
===================================================================
--- ldap_integration.module	(revision 428)
+++ ldap_integration.module	(working copy)
@@ -1103,7 +1103,7 @@
         $mail = $login_string;
       }
 
-      $user = user_save('', array('name' => $login_string, 'pass' => $pass, 'mail' => $mail, 'init' => $mail, 'status' => 1, 'authname_ldap_integration' => $login_string, 'roles' => array(DRUPAL_AUTHENTICATED_RID), 'ldap_authentified' => TRUE, 'ldap_dn' => $dn));
+      $user = user_save('', array('name' => $login_string, 'pass' => $pass, 'mail' => $mail, 'init' => $mail, 'status' => 1, 'roles' => array(DRUPAL_AUTHENTICATED_RID), 'ldap_authentified' => TRUE, 'ldap_dn' => $dn));
       watchdog('user', t('New external user: %user using module %module.', array('%user' => theme('placeholder', $login_string), '%module' => theme('placeholder', $module))), WATCHDOG_NOTICE, l(t('edit'), 'user/'. $user->uid .'/edit'));
     }
     else if (!$user->ldap_authentified) {
@@ -1126,4 +1126,4 @@
   }
 }
 
-?>
\ No newline at end of file
+?>
