summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-10-14 18:56:00 +0000
committerStew Benedict <stewb@mandriva.org>2002-10-14 18:56:00 +0000
commit89eadba7b81bffcdcf2362ab3805250d5cb8db0b (patch)
treeb93ece5982ca7fb2dbb838d8272884d85c9c639d
parentb98f2d4acfc39dbcabe21e142c683b95bf74df55 (diff)
downloaddrakx-backup-do-not-use-89eadba7b81bffcdcf2362ab3805250d5cb8db0b.tar
drakx-backup-do-not-use-89eadba7b81bffcdcf2362ab3805250d5cb8db0b.tar.gz
drakx-backup-do-not-use-89eadba7b81bffcdcf2362ab3805250d5cb8db0b.tar.bz2
drakx-backup-do-not-use-89eadba7b81bffcdcf2362ab3805250d5cb8db0b.tar.xz
drakx-backup-do-not-use-89eadba7b81bffcdcf2362ab3805250d5cb8db0b.zip
Hide password to browse W2k servers. (Buchan Milne).
Domain name to all caps in smb.conf. (Buchan Milne).
-rw-r--r--perl-install/diskdrake/smbnfs_gtk.pm2
-rw-r--r--perl-install/install_any.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/diskdrake/smbnfs_gtk.pm b/perl-install/diskdrake/smbnfs_gtk.pm
index d16bba988..031e9ed8c 100644
--- a/perl-install/diskdrake/smbnfs_gtk.pm
+++ b/perl-install/diskdrake/smbnfs_gtk.pm
@@ -176,7 +176,7 @@ sub import_ctree {
_("Please enter your username, password and domain name to access this host."),
[
{ label => _("Username"), val => \$server->{username} },
- { label => _("Password"), val => \$server->{password} },
+ { label => _("Password"), val => \$server->{password}, hidden => 1 },
{ label => _("Domain"), val => \$server->{domain} },
])) {
goto $find_exports;
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index e20e1cdf7..c61cc0ff9 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -501,6 +501,7 @@ sub setAuthentication {
sub write_smb_conf {
my ($domain) = @_;
+ $domain =~ tr/a-z/A-Z/;
#- was going to just have a canned config in samba-winbind
#- and replace the domain, but sylvestre/buchan didn't bless it yet