File: README

package info (click to toggle)
libsmb2 6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,992 kB
  • sloc: ansic: 33,026; sh: 221; makefile: 189; cpp: 98
file content (28 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
To run the test you need an SMB server that exports a share and
two configurations files:

1, ./tests/NTLM
===============
This file contains the username to password mapping you need to authenticate
to the server with NTLM.

Example:
$ cat tests/NTLM
win16-1:Administrator:mypassword
$

2, tests/setup.local
====================
This file sets two environment variables the tests need, NTLM_USER_FILE
and TESTURL.

Example:
$ cat tests/setup.local
TESTURL=smb://Administrator@win16-1/Share
NTLM_USER_FILE=`pwd`/NTLM
$

A good idea is to use a special share/subdirectory on the server
so that the tests do not overwrite/corrupt/delete important files.
Create a dedicated share on the server that is only used for testing
and be prepared that any data in this share can be randomly deleted.