libsmbconf:registry: Return correct case for get_share
authorChristof Schmitt <cs@samba.org>
Wed, 15 May 2019 23:05:26 +0000 (16:05 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 23 May 2019 23:26:14 +0000 (23:26 +0000)
commitcb6525e868106c0f4c725d73b7268d910b9b4029
tree84f99545fa9cd137632cea19cfc0c525bb43a571
parent91350d562b670a3789779e906850d76a141fa857
libsmbconf:registry: Return correct case for get_share

get_share (called from 'net conf showshare') does a lookup of the share
name case-insensitively. As the registry stores the share name in the
correct case and 'net conf list' prints the correct case, also lookup
the correct case for get_share.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
source3/lib/smbconf/smbconf_reg.c