summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-08-04 21:06:22 +0000
committerStew Benedict <stewb@mandriva.org>2002-08-04 21:06:22 +0000
commitdba90f4f801471a0691ebee4f4bc986733c03120 (patch)
treedd00e6f1b2a087ecc77532812a7f151ca4f8f3d6 /perl-install/install_any.pm
parent05bd579446396ff6201e77083d882810dcdfdb9f (diff)
downloaddrakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.gz
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.bz2
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.xz
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.zip
partial rework of Windows PDC authentication, still need
to run smbpasswd after network is up
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8e60840bf..fd386512b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -468,12 +468,15 @@ sub setAuthentication {
cp_af($f, "$f.orig");
cp_af("$f-winbind", $f);
}
- write_smb_conf($o, $domain);
+ write_smb_conf($domain);
run_program::rooted($o->{prefix}, "chkconfig", "--level", "35", "winbind", "on");
mkdir "$o->{prefix}/home/$domain", 0755;
+
+ #- just temporary until samba packages fixed
+ mkdir "$o->{prefix}/var/log/samba", 0755;
+ mkdir "$o->{prefix}/var/run/samba", 0755;
- #- finally join the machine to the Windoze domain
- run_program::rooted($o->{prefix}, "/usr/bin/smbpasswd", "-j", $domain, "-r", $winbind);
+ #- defer running smbpassword - no network yet
}
}