'fieldset', '#title' => t('LDAP Integration'), '#description' => t("Select LDAP settings to use for imported users."), '#weight' => -81, '#collapsible' => TRUE, '#collapsed' => $collapsed, ); $form['ldapauth']['ldap_authentified'] = array( '#type' => 'checkbox', '#title' => t('Use LDAP Authentication'), '#default_value' => 1, '#description' => t('Use LDAP Authentication for these users.'), ); return $form; } function ldapauth_user_import_pre_save($settings, $account, $password, $fields) { // msg_r("LDAP: ".$settings['ldap_authentified']); return array("ldap_authentified" => $settings['ldap_authentified']); } }