diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/build_farm/basicsmb.fns | 6 | ||||
-rw-r--r-- | testsuite/build_farm/basicsmb.smb.conf.template | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns index d10aab5b1e..3929c48a39 100644 --- a/testsuite/build_farm/basicsmb.fns +++ b/testsuite/build_farm/basicsmb.fns @@ -1,5 +1,9 @@ test_smb_conf_setup() { - cat basicsmb.smb.conf.template | sed "s|PREFIX|$prefix|g" | sed "s|BUILD_FARM|$pwd|g" > $prefix/lib/smb.conf + cat basicsmb.smb.conf.template | \ + sed "s|PREFIX|$prefix|g" | \ + sed "s|BUILD_FARM|$pwd|g" | \ + sed "s|WHOAMI|$whoami|g" \ + > $prefix/lib/smb.conf echo "127.0.0.1 localhost">$prefix/lib/lmhosts echo "127.0.0.1 SHARE">>$prefix/lib/lmhosts diff --git a/testsuite/build_farm/basicsmb.smb.conf.template b/testsuite/build_farm/basicsmb.smb.conf.template index 095752f14f..78f1da3d4e 100644 --- a/testsuite/build_farm/basicsmb.smb.conf.template +++ b/testsuite/build_farm/basicsmb.smb.conf.template @@ -6,7 +6,7 @@ encrypt passwords = yes server string = Samba %v Build Farm Tests name resolve order = lmhosts - + guest account = WHOAMI domain logons = yes include = PREFIX/lib/smb.conf.%L |