sys-quotas: do not fail if user has no quota
authorUri Simchoni <uri@samba.org>
Wed, 30 Mar 2016 11:05:49 +0000 (14:05 +0300)
committerJeremy Allison <jra@samba.org>
Thu, 31 Mar 2016 18:30:10 +0000 (20:30 +0200)
commitfaaaae3c57977b6041d0bac99ff696c4760fdb01
tree9e149ccf6fa901e6ecddf59c956ecbd5c91784a5
parent20a0d59d8c1d80b66a34611bffef1d43a9e1e2b4
sys-quotas: do not fail if user has no quota

If the user/group has no quota, do not treat that as
error condition. Instead, return zero quota.

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