selftest: Do not lookup the realm with Kerberos
[Samba.git] / testprogs / blackbox / dbcheck.sh
blob66628b0519004282f3990b75e2c697b137d2c78f
1 #!/bin/sh
3 if [ $# -lt 1 ]; then
4 cat <<EOF
5 Usage: dbcheck.sh PREFIX
6 EOF
7 exit 1;
8 fi
10 PREFIX="$1"
11 shift 1
13 . `dirname $0`/subunit.sh
15 dbcheck() {
16 $BINDIR/samba-tool dbcheck --cross-ncs $@
19 # This test shows that this does not do anything to a current
20 # provision (that would be a bug)
21 dbcheck_reset_well_known_acls() {
22 $BINDIR/samba-tool dbcheck --cross-ncs --reset-well-known-acls $@
25 reindex() {
26 $BINDIR/samba-tool dbcheck --reindex
29 fixed_attrs() {
30 $BINDIR/samba-tool dbcheck --attrs=cn
33 force_modules() {
34 $BINDIR/samba-tool dbcheck --force-modules
37 testit "dbcheck" dbcheck
38 testit "reindex" reindex
39 testit "fixed_attrs" fixed_attrs
40 testit "force_modules" force_modules
42 exit $failed