diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-15 14:38:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-15 14:38:57 +0000 |
commit | 65da1f26a806151060d03a2e2ef448b8bc53021f (patch) | |
tree | 4600b41e4bf239fa1f41ff16119d3c1a056c4194 /perl-install/fs | |
parent | dd391dffa50661a22a2211c8246802ab62d381fe (diff) | |
download | drakx-65da1f26a806151060d03a2e2ef448b8bc53021f.tar drakx-65da1f26a806151060d03a2e2ef448b8bc53021f.tar.gz drakx-65da1f26a806151060d03a2e2ef448b8bc53021f.tar.bz2 drakx-65da1f26a806151060d03a2e2ef448b8bc53021f.tar.xz drakx-65da1f26a806151060d03a2e2ef448b8bc53021f.zip |
- diskdrake:
o --smb: fix netbios name resolution (#42483, thanks to Derek Jennings)
(domain= should not be set in credentials for mount.cifs)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/remote/smb.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/remote/smb.pm b/perl-install/fs/remote/smb.pm index 378aa6a1e..84a58318a 100644 --- a/perl-install/fs/remote/smb.pm +++ b/perl-install/fs/remote/smb.pm @@ -124,7 +124,7 @@ sub fstab_entry_to_credentials { my ($options, $unknown) = fs::mount_options::unpack($part); $options->{'username='} && $options->{'password='} or return; - my %h = map { $_ => delete $options->{"$_="} } qw(username domain password); + my %h = map { $_ => delete $options->{"$_="} } qw(username password); $h{file} = $options->{'credentials='} = to_credentials($server_name, $h{username}); fs::mount_options::pack_($part, $options, $unknown), \%h; } @@ -137,7 +137,7 @@ sub remove_bad_credentials { sub save_credentials { my ($credentials) = @_; my $file = $credentials->{file}; - output_with_perm("$::prefix$file", 0640, map { "$_=$credentials->{$_}\n" } qw(username domain password)); + output_with_perm("$::prefix$file", 0640, map { "$_=$credentials->{$_}\n" } qw(username password)); } |