]> git.ipfire.org Git - thirdparty/samba.git/commit
net: Parse namemap_cache in "net cache list"
authorVolker Lendecke <vl@samba.org>
Thu, 3 Aug 2017 14:26:04 +0000 (16:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 10:50:13 +0000 (12:50 +0200)
commit7626db2b28b97534afd01753f3da3da9ff5f7ace
tree3748d32375dc19433892dfcfea6d53566425c41f
parentccad9a3e03678de1181f4cd59b7160b4647fa240
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.

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

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