sambaundoguididx: fix for -s
authorAndrew Bartlett <abartlet@samba.org>
Mon, 20 May 2019 04:29:10 +0000 (16:29 +1200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Aug 2019 07:36:29 +0000 (07:36 +0000)
commit00950aa7cf7dfd2903c0523a8bcbb3eaa691ee6e
treed105edc86331a812286a2865e7edf8e057375156
parentf3f259e73692eeba1c7261886350118aa7e3d6ca
sambaundoguididx: fix for -s

Quick fix running this script with -s instead of -H. samdb_url() returns
a url with a protocol prefix, which causes issues further down in the
script.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 40ca8ed5a152ae7c5ec039649c09a037a20a4143)
source4/scripting/bin/sambaundoguididx