samba 4.7.0 compiled with --with-quotas ?

Status
Not open for further replies.

lexxai

Dabbler
Joined
Nov 9, 2016
Messages
33
Want try to use get quota command
(https://www.freebsd.org/cgi/man.cgi?query=smb.conf&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE+and+Ports&format=html)
This option is only available you have compiled Samba with the
--with-sys-quotas option or on Linux with
--with-quotas and a working quota api was found in the system.

Latest FreeNAS samba compiled with this options? How to determine ?
Code:
samba -b
Samba version: 4.7.0
Build environment:
   Build host:  FreeBSD ja-freenas-11-releng-p-job-05 11.0-RELEASE FreeBSD 11.0-RELEASE amd64


I want setup:
get quota command = /usr/local/etc/get_quota.sh
 

millst

Contributor
Joined
Feb 2, 2015
Messages
141
On FreeNAS 11.1:

# smbd -V
Version 4.7.0
# smbd -b|grep -i quota
HAVE_SYS_QUOTAS
HAVE_RPCSVC_RQUOTA_H
HAVE_UFS_UFS_QUOTA_H
HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U
HAVE_NFS_QUOTAS
HAVE_QUOTACTL_4B
WITH_QUOTAS
vfs_default_quota_init

-tm
 
Status
Not open for further replies.
Top