<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi!</p>
    <p>Some different questions here:</p>
    <p>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.</p>
    <p>2) I have a search where I want to find all tickets without an
      AdminCc added. How can I do this?</p>
    <p>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:</p>
    <p><font size="-1"><tt>Set($ExternalAuthPriority,  [ 'My_LDAP' ] );</tt></font></p>
    <p><font size="-1"><tt>Set($AutoCreateNonExternalUsers, 1);</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Set($ExternalSettings, {</tt><tt><br>
        </tt><tt>    'My_LDAP'       =>  {</tt><tt><br>
        </tt><tt>        'type'                      =>  'ldap',</tt><tt><br>
        </tt><tt>        'server'                    =>  'SERVER',</tt><tt><br>
        </tt><tt>        'user'                      =>  'ADMINUSER',</tt><tt><br>
        </tt><tt>        'pass'                      =>  'PASSWORD',</tt><tt><br>
        </tt><tt>        'base'                      =>  'ou=users,dc=local,dc=local,dc=no',</tt><tt><br>
        </tt><tt>        'filter'                    => 
          '(objectclass=user)',</tt><tt><br>
        </tt><tt>        'd_filter'                  => 
          '(objectcategory=group)',</tt><tt><br>
        </tt><tt>        'group'                     =>  '',</tt><tt><br>
        </tt><tt>        'group_attr'                =>  '',</tt><tt><br>
        </tt><tt>        'tls'                       =>  1,</tt><tt><br>
        </tt><tt>        'ssl_version'               =>  3,</tt><tt><br>
        </tt><tt>        'net_ldap_args'             => [    version
          =>  3   ],</tt><tt><br>
        </tt><tt>        'group_scope'               =>  'base',</tt><tt><br>
        </tt><tt>        'group_attr_value'          =>  '',</tt><tt><br>
        </tt><tt>        'attr_match_list' => [</tt><tt><br>
        </tt><tt>            'Name',</tt><tt><br>
        </tt><tt>            'EmailAddress',</tt><tt><br>
        </tt><tt>            'RealName',</tt><tt><br>
        </tt><tt>        ],</tt><tt><br>
        </tt><tt>        'attr_map' => {</tt><tt><br>
        </tt><tt>            'Name' => 'sAMAccountName',</tt><tt><br>
        </tt><tt>            'EmailAddress' => 'mail',</tt><tt><br>
        </tt><tt>            'Organization' =>
          'physicalDeliveryOfficeName',</tt><tt><br>
        </tt><tt>            'RealName' => 'cn',</tt><tt><br>
        </tt><tt>            'ExternalAuthId' => 'sAMAccountName',</tt><tt><br>
        </tt><tt>            'Gecos' => 'sAMAccountName',</tt><tt><br>
        </tt><tt>            'WorkPhone' => 'telephoneNumber',</tt><tt><br>
        </tt><tt>            'Address1' => 'streetAddress',</tt><tt><br>
        </tt><tt>            'City' => 'l',</tt><tt><br>
        </tt><tt>            'State' => 'st',</tt><tt><br>
        </tt><tt>            'Zip' => 'postalCode',</tt><tt><br>
        </tt><tt>            'Country' => 'co'</tt><tt><br>
        </tt><tt>        },</tt><tt><br>
        </tt><tt>    },</tt><tt><br>
        </tt><tt>});</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Set($LDAPHost, 'SERVER');</tt><tt><br>
        </tt><tt>Set($LDAPUser, 'ADMINUSER');</tt><tt><br>
        </tt><tt>Set($LDAPPassword, 'PASSWORD');</tt><tt><br>
        </tt><tt>Set($LDAPBase, '</tt><tt><tt>ou=users,dc=local,dc=local,dc=no</tt>');</tt><tt><br>
        </tt><tt>Set($LDAPFilter, '(&(cn = users))');</tt><tt><br>
        </tt><tt>Set($LDAPCreatePrivileged, 1);</tt></font><br>
    </p>
    <p>So I'm wondering which of these options are actually used, as
      they seem to be a bit redundant and/or conflicting?</p>
    <p>I'm running RT 4.2.10, btw.</p>
    <p>--<br>
      Marius<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>