mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
9faa317319
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14908 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
23 lines
463 B
Bash
Executable File
23 lines
463 B
Bash
Executable File
#!/bin/sh
|
|
# Reproducer for https://bugzilla.samba.org/show_bug.cgi?id=14908
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "Usage: $0 NET CONFFILE SERVER_IP"
|
|
exit 1
|
|
fi
|
|
|
|
NET="$1"; shift
|
|
CONFFILE="$1"; shift
|
|
SERVER_IP="$1"; shift
|
|
|
|
export UID_WRAPPER_ROOT=1
|
|
|
|
incdir=`dirname $0`/../../../testprogs/blackbox
|
|
. $incdir/subunit.sh
|
|
|
|
failed=0
|
|
|
|
testit "net_ads_user" $VALGRIND $NET rpc user --configfile="$CONFFILE" -S "$SERVER_IP" -P || failed=`expr $failed + 1`
|
|
|
|
testok $0 $failed
|