r9685: Add tests for samba3sam mapping module
[sfrench/samba-autobuild/.git] / source4 / lib / ldb / tests / test-samba3sam.sh
1 #!/bin/sh
2
3 rm -f samba3.ldb
4
5 $VALGRIND ldbadd -H tdb://samba3.ldb < samba3.ldif
6
7 OPT="-o modules:samba3sam -H tdb://samba3.ldb "
8 $VALGRIND ldbsearch $OPT "(cn=Administrator)"