<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You should add the code from <a
href="http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback">LdapAutocreateAuthCallback</a>
into <tt>${RTHOME}/local/html/Callbacks/LDAP/autohandler/Auth if you
haven't done it yet.</tt><br>
You can find this code at
<a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback">http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback</a>.<br>
Hope it helps.<br>
Dário<br>
Jason Prouty wrote:
<blockquote
cite="mid2CC69F840555CB43B04195F218CCB57F012503@COENGEX01.cctus.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=us-ascii">
<div>
<p> <span>I have managed to get my authentication to work against my
active directory </span> </p>
<p> <span>However it does not create the users for me so I have to
manually create the user and then it authenticate against my AD </span>
</p>
<p> <span> </span> </p>
<p> <span>What am I missing? </span> </p>
<p> <span> </span> </p>
<p> <span>Here is my RT_Sitecofig </span> </p>
<p> <span> </span> </p>
<p> <span>Set($WebExternalAuth , '1'); </span> </p>
<p> <span>Set($WebFallbackToInternalAuth , '1'); </span> </p>
<p> <span>Set($WebExternalGecos , undef); </span> </p>
<p> <span>Set($WebExternalAuto , '1'); </span> </p>
<p> <span> </span> </p>
<p> <span>Set($LDAPExternalAuth,
'1'); # Enable LDAP auth </span> </p>
<p> <span>Set($LdapServer,
"coengad01.cctus.com"); </span> </p>
<p> <span>Set($LdapCAFile,
undef); </span> </p>
<p> <span>Set($LdapUser,
'cn=rtldap,CN=Users,dc=cctus,dc=com'); </span> </p>
<p> <span>Set($LdapPass,
'Password'); </span> </p>
<p> <span>Set($LdapAuthStartTLS,
'0'); # Need to use TLS
or ldaps to check passwords </span> </p>
<p> <span>Set($LdapAuthBase,
"ou=Users,ou= Denver ,dc=cctus,dc=com"); </span> </p>
<p> <span>Set($LdapAuthUidAttr,
'sAMAccountName'); </span> </p>
<p> <span>Set($LdapAuthFilter,
'(objectClass=user)'); </span> </p>
<p> <span>Set($LdapMailBase,
'ou= Denver ,ou= Denver ,dc=cctus,dc=com'); </span> </p>
<p> <span>Set($LdapMailFilter,
'(objectClass=user)'); </span> </p>
<p> <span>Set($LdapMailScope,
'sub'); </span> </p>
<p> <span>Set($LdapMailSearchAttr,
'mail'); </span> </p>
<p> <span>%RT::LdapMailResultMap = ( </span> </p>
<p> <span>
'sAMAccountName' => 'Name', </span> </p>
<p> <span>
'mail'
=> 'EmailAddress', </span> </p>
<p> <span>
'cn'
=> 'RealName', </span> </p>
<p> <span> ); </span> </p>
<p> <span> </span> </p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a>
We're hiring! Come hack Perl for Best Practical: <a class="moz-txt-link-freetext" href="http://bestpractical.com/about/jobs.html">http://bestpractical.com/about/jobs.html</a></pre>
</blockquote>
<br>
</body>
</html>