summaryrefslogtreecommitdiffstats
path: root/examples/ad-bench/README
blob: de6235f2782cd62975689f71cfe6efe9f0abd4ff (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
==========================
Active Directory benchmark
==========================

Setup
=====

You need to modify settings.sh to point to the correct binaries for your
platform. One thing you might want to do in order to be able to run the
benchmark as a non-root user is to compile your own samba version with the
--prefix configure option set to some location writeable by the user who will be
running the benchmark. You then need to point the NET variable to the correct
location.

Most likely, you will also want to put the realm to kdc hostname mappings into
krb5.conf and the hostname to IP address mappings for the kdcs to test into the
hosts file, so you actually benchmark the AD speed, not DNS lookup speed.

Running the benchmarks
======================

Per default, the benchmark looks for a file called runs.txt in the directory the
benchmark is run from. (This is configurable in the settings.sh file)
runs.txt contains the credentials and server names to connect to, one set of
credentials/server per line. The format is as follows:

user@REALM.EXAMPLE.COM%password:domain_controller_host_name

License
=======
AD-Bench is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

AD-Bench is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with AD-Bench.  If not, see <http://www.gnu.org/licenses/>.