ntquotas - skip entry if the quota is zero
authorUri Simchoni <uri@samba.org>
Wed, 30 Mar 2016 10:59:39 +0000 (13:59 +0300)
committerJeremy Allison <jra@samba.org>
Thu, 31 Mar 2016 18:30:10 +0000 (20:30 +0200)
commit20a0d59d8c1d80b66a34611bffef1d43a9e1e2b4
treef4817465b3ca596abd9d471bb63bcfa880de2d88
parent78ae852dd7b6491e131d3a26f490bbcef53aa3d6
ntquotas - skip entry if the quota is zero

When listing user quotas, do not list the user
if the driver returned success with zero quota -
this signals that no quota is assigned for that
user.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/ntquotas.c