test_idmap_rfc2307: Correct usage
authorVolker Lendecke <vl@samba.org>
Tue, 4 Apr 2017 12:59:45 +0000 (14:59 +0200)
committerChristof Schmitt <cs@samba.org>
Mon, 8 May 2017 19:08:23 +0000 (21:08 +0200)
We already have 13 args at this point, and growing

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
nsswitch/tests/test_idmap_rfc2307.sh

index b5f8ce5..6e4e041 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Test id mapping through idmap_rfc2307 module
-if [ $# -lt 9 ]; then
+if [ $# -lt 13 ]; then
        echo Usage: $0 DOMAIN USERNAME UID USERNAME2 UID2 GROUPNAME GID GROUPNAME2 GID2 LDAPPREFIX DC_SERVER DC_USERNAME DC_PASSWORD
        exit 1
 fi