-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

These are the settings I've used in the past...

Set( $ExternalAuthPriority, ['My_LDAP']);
Set( $ExternalServiceUsesSSLorTLS, 0);
Set( $AutoCreateNonExternalUsers, 1);
Set( $ExternalInfoPriority,  ['My_LDAP']);
Set( $ExternalSettings,      {'My_LDAP'       =>  {   ## GENERIC SECTION
                                'type'                      =>  'ldap',
                                'server'                    =>  
'myserver.intranet.local',
                                'port' => '389',
                                'user' => '[email protected]',
                                'pass' => 'password',
                                'base'                  =>  
'dc=intranet,dc=local',
                                'filter'                    =>  
'(objectClass=*)',
                                'd_filter'                  =>
'(userAccountControl:1.2.840.113556.1.4.803:=2)',
                                'net_ldap_args'             => [    version =>  
3  ],
                                'attr_match_list'           => [    'Name', 
'EmailAddress' ],
                                'attr_map'                  =>  {
                                'Name' => 'sAMAccountName',
                                'EmailAddress' => 'mail',
                                'RealName' => 'cn',
                                'ExternalAuthId' => 'sAMAccountName',
                                'Gecos' => 'sAMAccountName',
                                'WorkPhone' => 'telephoneNumber',
                                }
                                                    },
                                });

Hopefully this helps you out..

Best,
- --Glenn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJgT38ACgkQf5MxTDXTimEWCwCgkmTZOoPQNtX4+JRea8nlQePW
tcIAnj175zP7D0SZ7H18+M+Q4S4imWW6
=7JJf
-----END PGP SIGNATURE-----

Reply via email to