[rt-users] Mail headers, search for missing value and LDAP/AD integration

Marius Flage marius at ksat.no
Fri Jan 6 06:48:01 EST 2017


Hi!

Some different questions here:

1) It is possible to add meta information from RT in the outgoing mails
from the system? For instance I'm interested in getting the current
owner of a ticket as a separate mail header. For instance X-RT-Owner:
and then set to the current owner of the ticket. That would make it
easier to sort out just the tickets I'm concerned with.

2) I have a search where I want to find all tickets without an AdminCc
added. How can I do this?

3) We have LDAP authentication against Active Directory working, but
we're not getting the correct values populated from AD. Instead I have
to go in an manually fill out this information in RT itself. This is the
relevant configuration:

Set($ExternalAuthPriority,  [ 'My_LDAP' ] );

Set($AutoCreateNonExternalUsers, 1);

Set($ExternalSettings, {
    'My_LDAP'       =>  {
        'type'                      =>  'ldap',
        'server'                    =>  'SERVER',
        'user'                      =>  'ADMINUSER',
        'pass'                      =>  'PASSWORD',
        'base'                      =>  'ou=users,dc=local,dc=local,dc=no',
        'filter'                    =>  '(objectclass=user)',
        'd_filter'                  =>  '(objectcategory=group)',
        'group'                     =>  '',
        'group_attr'                =>  '',
        'tls'                       =>  1,
        'ssl_version'               =>  3,
        'net_ldap_args'             => [    version =>  3   ],
        'group_scope'               =>  'base',
        'group_attr_value'          =>  '',
        'attr_match_list' => [
            'Name',
            'EmailAddress',
            'RealName',
        ],
        'attr_map' => {
            'Name' => 'sAMAccountName',
            'EmailAddress' => 'mail',
            'Organization' => 'physicalDeliveryOfficeName',
            'RealName' => 'cn',
            'ExternalAuthId' => 'sAMAccountName',
            'Gecos' => 'sAMAccountName',
            'WorkPhone' => 'telephoneNumber',
            'Address1' => 'streetAddress',
            'City' => 'l',
            'State' => 'st',
            'Zip' => 'postalCode',
            'Country' => 'co'
        },
    },
});

Set($LDAPHost, 'SERVER');
Set($LDAPUser, 'ADMINUSER');
Set($LDAPPassword, 'PASSWORD');
Set($LDAPBase, 'ou=users,dc=local,dc=local,dc=no');
Set($LDAPFilter, '(&(cn = users))');
Set($LDAPCreatePrivileged, 1);

So I'm wondering which of these options are actually used, as they seem
to be a bit redundant and/or conflicting?

I'm running RT 4.2.10, btw.

--
Marius



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20170106/efee97db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20170106/efee97db/attachment.pgp>


More information about the rt-users mailing list