mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
3990c33efe
shfmt -f examples/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Feb 22 16:20:58 UTC 2022 on sn-devel-184 |
||
---|---|---|
.. | ||
ad-bench.sh | ||
README | ||
settings.sh | ||
test_utils.sh | ||
time_group.sh | ||
time_join.sh | ||
time_kinit.sh | ||
time_ldap.sh | ||
time_user.sh | ||
utils.sh |
========================== 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/>.