You should add the code from LdapAutocreateAuthCallback into ${RTHOME}/local/html/Callbacks/LDAP/autohandler/Auth if you haven't done it yet.
You can find this code at http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback.
Hope it helps.
Dário
Jason Prouty wrote:

I have managed to get my authentication to work against my active directory

However it does not create the users for me so I have to manually create the user and then it authenticate against my AD

 

What am I missing?

 

Here is my RT_Sitecofig

 

Set($WebExternalAuth , '1');

Set($WebFallbackToInternalAuth , '1');

Set($WebExternalGecos , undef);

Set($WebExternalAuto , '1');

 

Set($LDAPExternalAuth,          '1'); # Enable LDAP auth

Set($LdapServer,                "coengad01.cctus.com");

Set($LdapCAFile,                undef);

Set($LdapUser,                  'cn=rtldap,CN=Users,dc=cctus,dc=com');

Set($LdapPass,                  'Password');

Set($LdapAuthStartTLS,          '0'); # Need to use TLS or ldaps to check passwords

Set($LdapAuthBase,              "ou=Users,ou= Denver ,dc=cctus,dc=com");

Set($LdapAuthUidAttr,           'sAMAccountName');

Set($LdapAuthFilter,            '(objectClass=user)');

Set($LdapMailBase,              'ou= Denver ,ou= Denver ,dc=cctus,dc=com');

Set($LdapMailFilter,            '(objectClass=user)');

Set($LdapMailScope,             'sub');

Set($LdapMailSearchAttr,        'mail');

%RT::LdapMailResultMap = (

        'sAMAccountName'        => 'Name',

        'mail'                  => 'EmailAddress',

        'cn'                    => 'RealName',

        );

 


_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to