X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export.pm;h=d62bef50df5fe36a9518b901c4dcd1cbe0860a09;hb=0354f39ed0e74fd2eae1d9da13906625b4f56591;hp=79fe91396d447ac1ca0184c5765d16569ab7cb94;hpb=b0995f6ec4eeaad9c72be4963970f1d69fe1ef02;p=freeside.git diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 79fe91396..d62bef50d 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -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', }, @@ -783,7 +785,7 @@ tie my %ldap_options, 'Tie::IxHash', 'desc' => 'Real-time export via remote SSH (i.e. useradd, userdel, etc.)', 'options' => \%shellcommands_options, 'nodomain' => 'Y', - 'notes' => 'Run remote commands via SSH. Usernames are considered unique (also see shellcommands_withdomain). You probably want this if the commands you are running will not accept a domain as a parameter. You will need to setup SSH for unattended operation.

Use these buttons for some useful presets:', + 'notes' => 'Run remote commands via SSH. Usernames are considered unique (also see shellcommands_withdomain). You probably want this if the commands you are running will not accept a domain as a parameter. You will need to setup SSH for unattended operation.

Use these buttons for some useful presets:', }, 'shellcommands_withdomain' => {