diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-16 05:34:56 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-16 05:34:56 +0000 |
commit | 4a090ba06a54f5da179ac02bb307cc03d08831bf (patch) | |
tree | ed652ef36be7f16682c358816334f969a22f1c27 /testsuite/build_farm/basicsmb.fns | |
parent | 95fe82670032a3a43571b46d7bbf2c26bc8cdcd9 (diff) | |
download | samba-4a090ba06a54f5da179ac02bb307cc03d08831bf.tar.gz samba-4a090ba06a54f5da179ac02bb307cc03d08831bf.tar.bz2 samba-4a090ba06a54f5da179ac02bb307cc03d08831bf.zip |
trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
Diffstat (limited to 'testsuite/build_farm/basicsmb.fns')
-rw-r--r-- | testsuite/build_farm/basicsmb.fns | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns index f5143cc4d8..3a9080f473 100644 --- a/testsuite/build_farm/basicsmb.fns +++ b/testsuite/build_farm/basicsmb.fns @@ -63,8 +63,16 @@ test_smb_conf_setup() { template_smb_conf_setup .preexec_close template_smb_conf_setup .preexec_cl_fl + template_smb_conf_setup .share + template_smb_conf_setup .user + template_smb_conf_setup .server + template_smb_conf_setup .domain + template_setup preexec lib/preexec + touch $prefix/lib/smb.conf. + touch $prefix/lib/smb.conf.localhost + echo "127.0.0.1 localhost">$prefix/lib/lmhosts echo "127.0.0.2 BUILDFARM">>$prefix/lib/lmhosts echo "127.0.0.3 SHARE">>$prefix/lib/lmhosts @@ -81,20 +89,13 @@ test_smb_conf_setup() { echo "127.0.0.1" > $prefix/lib/hosts.equiv - cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share - cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user - cp basicsmb.smb.conf.server $prefix/lib/smb.conf.server - cp basicsmb.smb.conf.domain $prefix/lib/smb.conf.domain - - touch $prefix/lib/smb.conf. - touch $prefix/lib/smb.conf.localhost } test_smbpasswd() { test_smbpasswd_password="$1" rm -f $prefix/private/smbpasswd - echo "( echo $test_smbpasswd_password ; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami" - ( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami + echo "( echo $test_smbpasswd_password ; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -D $loglevel -s -a $whoami" + ( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -D $loglevel -s -a $whoami status=$? if [ $status = 0 ]; then echo "smbpasswd correctly set initial password ($test_smbpasswd_password)" |