summaryrefslogtreecommitdiff
path: root/lib/addns/dnsmarshall.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-10-18 16:26:41 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-21 19:48:40 +0200
commitd286b17d46984e85418ed4778890948df979a9f6 (patch)
treecb90956cc6eb19a8697c6e9f493bbb85b75d20a3 /lib/addns/dnsmarshall.c
parentc6909887c26d4e827633acd50b11cf08c6aee0f7 (diff)
downloadsamba-d286b17d46984e85418ed4778890948df979a9f6.tar.gz
samba-d286b17d46984e85418ed4778890948df979a9f6.tar.bz2
samba-d286b17d46984e85418ed4778890948df979a9f6.zip
idmap_autorid: fix traversal of ranges to correctly exclude mapping records.
When listing all ranges with "net idmap get ranges", the database records of the form "S-1-5-10" --> "GID 100016" were treated here as rangee mapings, resulting in an faulty printout like this: "RANGE 541346119: S-1-5-10". This patch fixes this by adding a filter that checks the size of the value datablob. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 21 19:48:40 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/addns/dnsmarshall.c')
0 files changed, 0 insertions, 0 deletions