diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-08 08:21:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-08 08:21:34 +0000 |
commit | ccd98b194353c06928402067ca48f3efea2cd813 (patch) | |
tree | 385d1c9f43e73d46aa41b92d024de9beabdde357 /perl-install | |
parent | f617391f5e9c7755fc3bd54020a62aad761cb11c (diff) | |
download | drakx-ccd98b194353c06928402067ca48f3efea2cd813.tar drakx-ccd98b194353c06928402067ca48f3efea2cd813.tar.gz drakx-ccd98b194353c06928402067ca48f3efea2cd813.tar.bz2 drakx-ccd98b194353c06928402067ca48f3efea2cd813.tar.xz drakx-ccd98b194353c06928402067ca48f3efea2cd813.zip |
since cifs, /etc/samba/auth.xxx format has changed slightly: spaces are not
allowed around "=" (at least that's what comment #6 of bug #42483 says)
(backported from trunk)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs/remote/smb.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/remote/smb.pm b/perl-install/fs/remote/smb.pm index f1452f5a7..a406b8253 100644 --- a/perl-install/fs/remote/smb.pm +++ b/perl-install/fs/remote/smb.pm @@ -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 domain password)); } |