net: Parse namemap_cache in "net cache list"
authorVolker Lendecke <vl@samba.org>
Thu, 3 Aug 2017 14:26:04 +0000 (16:26 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 29 Nov 2017 15:59:16 +0000 (16:59 +0100)
commit19afcd0e816f096fd17cf624f21d2d6f9c5f8d05
treebb95892d6dc4937ed4b7ab3034b78094f822dab0
parent3e556bf3703504625f0707f7f87a478c41bafede
net: Parse namemap_cache in "net cache list"

namemap_cache.c saves these as strv lists: An array of 0-terminated strings.
"net cache list" only printfs the values, so they would be cut off.

We might want to do this with other gencache values too in the future.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net_cache.c