RTx-EmailCompletion

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    This would allow you to search by usernames, full names and email
    addresses

  LDAP configuration

    Starting with RTx::EmailCompletion 0.03, autocompletion works with LDAP
    servers.

    If you already have installed and configured LDAP authentication
    overlay, this configuration will be used and it should/could work just
    as it is.

    The following configuration parameters applied :

    * EmailCompletionLdapServer : the ldap server (mandatory)
          Set($EmailCompletionLdapServer, "my.ldap.server");

        If not set, RTx::EmailCompletion will search for LdapServer
        parameter (configured for the LDAP RT authentification layout and
        some others LDAP RT extensions).

README  view on Meta::CPAN

          Set(EmailCompletionLdapMinLength, 6);

        Default value is 4

    The minimum LDAP configuration look somethink like this :

      Set($EmailCompletionLdapServer, "db.debian.org");
      Set($EmailCompletionLdapBase, "dc=debian,dc=org");

    You can disable ldap completion (useful if you have installed ldap
    authentication overlay and you don't want ldap completion) with :

      Set($EmailCompletionLdapDisabled, 1);

    If you want to keep only LDAP completion, you can also disable RDBMS :

      Set($EmailCompletionRdbmsDisabled, 1);

    The given value must be true for perl.

HOW TO ADD FIELD TO AUTOCOMPLETION

lib/RTx/EmailCompletion.pm  view on Meta::CPAN

   Set( $EmailCompletionSearchFields, [qw(EmailAddress RealName Name)] );

This would allow you to search by usernames, full names and email addresses

=head2 LDAP configuration

Starting with RTx::EmailCompletion 0.03, autocompletion works with LDAP
servers.

If you already have installed and configured LDAP authentication
overlay, this configuration will be used and it should/could work just
as it is.

The following configuration parameters applied :

=over

=item *
EmailCompletionLdapServer : the ldap server (mandatory)

  Set($EmailCompletionLdapServer, "my.ldap.server");

lib/RTx/EmailCompletion.pm  view on Meta::CPAN

Default value is 4

=back

The minimum LDAP configuration look somethink like this :

  Set($EmailCompletionLdapServer, "db.debian.org");
  Set($EmailCompletionLdapBase, "dc=debian,dc=org");

You can disable ldap completion (useful if you have installed ldap
authentication overlay and you don't want ldap completion) with :

  Set($EmailCompletionLdapDisabled, 1);

If you want to keep only LDAP completion, you can also disable RDBMS :

  Set($EmailCompletionRdbmsDisabled, 1);

The given value must be true for perl.

=head1 HOW TO ADD FIELD TO AUTOCOMPLETION



( run in 0.743 second using v1.01-cache-2.11-cpan-26ccb49234f )