177 |
my $id = $rec->prop('Id') || $conf->get('SystemName')->value . "." . $conf->get('DomainName')->value; |
my $id = $rec->prop('Id') || $conf->get('SystemName')->value . "." . $conf->get('DomainName')->value; |
178 |
my $smbhost = $rec->prop('SmbHost'); |
my $smbhost = $rec->prop('SmbHost'); |
179 |
my $smbshare = $rec->prop('SmbShare'); |
my $smbshare = $rec->prop('SmbShare'); |
180 |
+ my $smbv1 = $backupwkrec->prop('SmbV1') || 'disabled'; |
+ my $smbv1 = $rec->prop('SmbV1') || 'disabled'; |
181 |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
182 |
my $err; |
my $err; |
183 |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
211 |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
212 |
my $smbhost = $rec->prop('SmbHost'); |
my $smbhost = $rec->prop('SmbHost'); |
213 |
my $smbshare = $rec->prop('SmbShare'); |
my $smbshare = $rec->prop('SmbShare'); |
214 |
+ my $smbv1 = $backupwkrec->prop('SmbV1') || 'disabled'; |
+ my $smbv1 = $rec->prop('SmbV1') || 'disabled'; |
215 |
my $err; |
my $err; |
216 |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
217 |
|
|
243 |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
my $VFSType = $rec->prop('VFSType') || 'cifs'; |
244 |
my $smbhost = $rec->prop('SmbHost'); |
my $smbhost = $rec->prop('SmbHost'); |
245 |
my $smbshare = $rec->prop('SmbShare'); |
my $smbshare = $rec->prop('SmbShare'); |
246 |
+ my $smbv1 = $backupwkrec->prop('SmbV1') || 'disabled'; |
+ my $smbv1 = $rec->prop('SmbV1') || 'disabled'; |
247 |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
$mntdir = "/$smbshare" if ( $VFSType eq 'usb' ); |
248 |
my $err; |
my $err; |
249 |
my $error_message; |
my $error_message; |