oops, one last LECB change
[freeside.git] / FS / FS / part_export.pm
index 79fe913..4b15f44 100644 (file)
@@ -725,8 +725,9 @@ tie my %sqlmail_options, 'Tie::IxHash',
 ;
 
 tie my %ldap_options, 'Tie::IxHash',
-  'dn'         => { label=>'DN' },
-  'password'   => { label=>'Optional DN password' },
+  'dn'         => { label=>'Root DN' },
+  'password'   => { label=>'Root DN password' },
+  'userdn'     => { label=>'User DN' },
   'attributes' => { label=>'Attributes',
                     type=>'textarea',
                     default=>join("\n",
@@ -745,6 +746,7 @@ tie my %ldap_options, 'Tie::IxHash',
                       'userpassword $crypt_password',
                       'hint',
                       'answer $sec_phrase',
+                      'objectclass top,person,inetOrgPerson',
                     ),
                   },
   'radius'     => { label=>'Export RADIUS attributes', type=>'checkbox', },