summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-11 17:18:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-11 17:18:00 +0000
commit257bfbaa67756a959c936238f2c2f7fc3726af2d (patch)
tree9fba59fe6248211761f5f196504d9d41c11f70a9 /perl-install/install_any.pm
parentb101b1f9d39b1359aefd0d802447a9a6be217982 (diff)
downloaddrakx-257bfbaa67756a959c936238f2c2f7fc3726af2d.tar
drakx-257bfbaa67756a959c936238f2c2f7fc3726af2d.tar.gz
drakx-257bfbaa67756a959c936238f2c2f7fc3726af2d.tar.bz2
drakx-257bfbaa67756a959c936238f2c2f7fc3726af2d.tar.xz
drakx-257bfbaa67756a959c936238f2c2f7fc3726af2d.zip
capitalise win $domain ASAP so that directory /home/$domain is created
capitalised (thanks to Buchan Milne)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 352de196a..ad759d52b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -478,6 +478,8 @@ sub setAuthentication {
network::write_conf("$p/etc/sysconfig/network", $o->{netc});
} elsif ($winbind) {
my $domain = $o->{netc}{WINDOMAIN};
+ $domain =~ tr/a-z/A-Z/;
+
$o->pkg_install(qw(samba-winbind samba-common));
{ #- setup pam
my $f = "$o->{prefix}/etc/pam.d/system-auth";
@@ -500,7 +502,6 @@ 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