X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fshellcommands.pm;h=29e0a57990aff2a7bb307a1f549093a36efd5c7a;hb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;hp=b43033405f0f648ea55fe606d62f1a546155e6e7;hpb=9a692cc4af760d384225014904874ffcf3f9e33f;p=freeside.git diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index b43033405..29e0a5799 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -157,12 +157,13 @@ old_ for replace operations):
  • $username
  • $_password
  • $quoted_password - unencrypted password, already quoted for the shell (do not add additional quotes). -
  • $crypt_password - encrypted password. When used on the command line (rather than STDIN), it will be already quoted for the shell (do not add additional quotes). +
  • $crypt_password - encrypted password. When used on the command line (rather than STDIN), it will be quoted for the shell already (do not add additional quotes). +
  • $ldap_password - Password in LDAP/RFC2307 format (for example, "{PLAIN}himom", "{CRYPT}94pAVyK/4oIBk" or "{MD5}5426824942db4253f87a1009fd5d2d4"). When used on the command line (rather than STDIN), it will be quoted for the shell already (do not add additional quotes).
  • $uid
  • $gid -
  • $finger - GECOS. When used on the command line (rather than STDIN), it will be already quoted for the shell (do not add additional quotes). -
  • $first - First name of GECOS. When used on the command line (rather than STDIN), it will be already quoted for the shell (do not add additional quotes). -
  • $last - Last name of GECOS. When used on the command line (rather than STDIN), it will be already quoted for the shell (do not add additional quotes). +
  • $finger - GECOS. When used on the command line (rather than STDIN), it will be quoted for the shell already (do not add additional quotes). +
  • $first - First name of GECOS. When used on the command line (rather than STDIN), it will be quoted for the shell already (do not add additional quotes). +
  • $last - Last name of GECOS. When used on the command line (rather than STDIN), it will be quoted for the shell already (do not add additional quotes).
  • $dir - home directory
  • $shell
  • $quota @@ -249,6 +250,7 @@ sub _export_command { $quoted_password = shell_quote $_password; $crypt_password = $svc_acct->crypt_password( $self->option('crypt') ); + $ldap_password = $svc_acct->ldap_password( $self->option('crypt') ); @radius_groups = $svc_acct->radius_groups; @@ -291,6 +293,7 @@ sub _export_command { $last = shell_quote $last; $finger = shell_quote $finger; $crypt_password = shell_quote $crypt_password; + $ldap_password = shell_quote $ldap_password; my $command_string = eval(qq("$command")); @@ -320,6 +323,7 @@ sub _export_replace { $new_domain = $new->domain; $new_crypt_password = $new->crypt_password( $self->option('crypt') ); + $new_ldap_password = $new->ldap_password( $self->option('crypt') ); @old_radius_groups = $old->radius_groups; @new_radius_groups = $new->radius_groups; @@ -357,6 +361,7 @@ sub _export_replace { $new_last = shell_quote $new_last; $new_finger = shell_quote $new_finger; $new_crypt_password = shell_quote $new_crypt_password; + $new_ldap_password = shell_quote $new_ldap_password; my $command_string = eval(qq("$command"));