Menu

Tree [b97199] master /
 History

HTTPS access


File Date Author Commit
 doc 2005-07-19 jkar8572 jkar8572 [5b3bc0] quota(1) now shows grace time even if hardlimit...
 ldap-scripts 2007-07-16 jkar8572 jkar8572 [97b4df] Added a wrapper script around setquota which al...
 po 2015-02-10 Michael Meskes Michael Meskes [f7a9da] Fix typos in German translation
 .gitignore 2014-12-02 Tomáš Chvátal Tomáš Chvátal [13d47c] Fix the po generating by accidentaly ignoring P...
 Makefile.am 2015-04-14 Jan Kara Jan Kara [b97199] Fix building of rquota.[ch] files
 README.ldap-support 2004-04-23 jkar8572 jkar8572 [06ac15] Added LDAP perl scripts (Stefan Adams)
 README.mailserver 2004-01-07 jkar8572 jkar8572 [b8d851] Fixed a few problems in mail-server checking. (...
 autogen.sh 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 bylabel.c 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...
 bylabel.h 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...
 common.c 2015-01-05 Jan Kara Jan Kara [094306] edquota: Do not unnecessarily overwrite limits/...
 common.h 2015-01-05 Jan Kara Jan Kara [094306] edquota: Do not unnecessarily overwrite limits/...
 configure.ac 2014-11-29 Tomáš Chvátal Tomáš Chvátal [cf72fc] Use just one define to determine if using ext2d...
 convertquota.8 2009-12-14 jkar8572 jkar8572 [dece38] 64-bit quota support.
 convertquota.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 dqblk_rpc.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 dqblk_v1.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 dqblk_v2.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 dqblk_xfs.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 edquota.8 2013-01-09 Petr Písař Petr Písař [73316c] Recognize units at inode limits by edquota
 edquota.c 2015-03-06 Konstantin Khlebnikov Konstantin Khlebnikov [4d38a6] edquota: fix mtime check
 mntopt.h 2011-01-06 Amir G Amir G [346d2f] Next3 quota-tools support
 pot.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 pot.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quot.8 2003-12-12 jkar8572 jkar8572 [df68de] Added option -T and -q to quot(8) utility (Andr...
 quot.c 2012-03-01 Jan Kara Jan Kara [2b70fe] Further i18n fixes
 quot.h 2011-11-16 Jan Kara Jan Kara [40e09a] Add support for quotas on ext4 in system files
 quota-nfs.sh 2010-09-14 Jan Kara Jan Kara [4ae56e] Create quota-nfs.sh for systems with automounte...
 quota.1 2014-04-24 Jan Kara Jan Kara [d2a770] Explain in quota(1) manpage what 'blocks' in th...
 quota.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 quota.h 2013-01-09 Petr Písař Petr Písař [0ada9c] Recognize units at block limits by setquota
 quota_nld.8 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...
 quota_nld.c 2013-11-18 Jan Kara Jan Kara [a2075c] quota_nld: Fix compilation warning
 quota_tree.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quotacheck.8 2010-02-22 jkar8572 jkar8572 [e705c3] * fixup typos in manpages (Michael Meskes)
 quotacheck.c 2014-11-29 Tomáš Chvátal Tomáš Chvátal [cf72fc] Use just one define to determine if using ext2d...
 quotacheck.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quotacheck_v1.c 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...
 quotacheck_v2.c 2013-12-03 Cristian Rodríguez Cristian Rodríguez [8fa46f] Use libc byteswapping routines not kernel ones
 quotagrpadmins 2005-03-17 jkar8572 jkar8572 [d9b0d0] Added sanity check to quota reporting (Jan Kara)
 quotagrpadmins.5 2013-10-16 Petr Písař Petr Písař [0035f0] Add quotagrpadmins(5) manual page
 quotaio.c 2013-12-03 Cristian Rodríguez Cristian Rodríguez [8fa46f] Use libc byteswapping routines not kernel ones
 quotaio.h 2011-11-16 Jan Kara Jan Kara [40e09a] Add support for quotas on ext4 in system files
 quotaio_generic.c 2011-05-05 Jan Kara Jan Kara [c3a392] Implement repquota for filesystems without quot...
 quotaio_generic.h 2011-05-05 Jan Kara Jan Kara [c3a392] Implement repquota for filesystems without quot...
 quotaio_meta.c 2011-05-05 Jan Kara Jan Kara [c3a392] Implement repquota for filesystems without quot...
 quotaio_rpc.c 2011-01-07 Petr Písař Petr Písař [803a30] Check set limits fit into the range supported b...
 quotaio_tree.c 2013-12-03 Cristian Rodríguez Cristian Rodríguez [f215e3] __cpu_to_le16 --> htole16
 quotaio_v1.c 2011-02-09 Petr Pisar Petr Pisar [f9fddb] Initialize vfsold block and inode value boundar...
 quotaio_v1.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quotaio_v2.c 2013-12-03 Cristian Rodríguez Cristian Rodríguez [8fa46f] Use libc byteswapping routines not kernel ones
 quotaio_v2.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quotaio_xfs.c 2012-06-08 Jan Kara Jan Kara [6ba654] repquota: Fix reporting for XFS
 quotaio_xfs.h 2011-02-04 Abhijith Das Abhijith Das [fa9207] Implement quotacheck for GFS2
 quotaon.8 2013-10-16 Petr Písař Petr Písař [7cc53f] Do not document location of quotaon and quotaoff
 quotaon.c 2012-03-01 Jan Kara Jan Kara [2b70fe] Further i18n fixes
 quotaon.h 2011-11-16 Jan Kara Jan Kara [40e09a] Add support for quotas on ext4 in system files
 quotaon_xfs.c 2012-03-01 Jan Kara Jan Kara [2b70fe] Further i18n fixes
 quotaops.c 2013-06-13 Petr Písař Petr Písař [377ad0] Close FILE handles on error
 quotaops.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 quotastats.8 2004-05-24 jkar8572 jkar8572 [e12004] Updated version to 3.12
 quotastats.c 2010-09-09 Jan Kara Jan Kara [a49e6a] Remove useless $Id strings from headers
 quotasync.1 2013-03-06 Petr Písař Petr Písař [801386] Add quotasync(1) manual page
 quotasync.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 quotasys.c 2014-10-01 Jan Kara Jan Kara [663ac4] Fix handling of space and inode values
 quotasys.h 2014-11-26 Jan Kara Jan Kara [765590] Remove KERN_KNOWN_QUOTA_VERSION
 quotatab 2010-12-14 Petr Písař Petr Písař [e2e91b] Comment example quotatab to silent warnquota
 quotatab.5 2013-10-17 Petr Písař Petr Písař [e96285] Add quotatab(5) manual page
 release.sh 2014-11-26 Jan Kara Jan Kara [204620] Add release script
 repquota.8 2013-10-02 Jan Kara Jan Kara [a58761] Add support for CVS and XML output formats to r...
 repquota.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 rpc.rquotad.8 2013-10-21 Petr Písař Petr Písař [5f3f2b] Improve rpc.rquota(8) manual page
 rquota.3 2001-03-23 jkar8572 jkar8572 [869fe2] Initial revision
 rquota.x 2001-03-23 jkar8572 jkar8572 [869fe2] Initial revision
 rquota_client.c 2014-10-23 Petr Písař Petr Písař [bffaeb] Skip NFS mounts without rquotad RPC service sil...
 rquota_client.h 2010-01-06 jkar8572 jkar8572 [6928d9] Fixed some forgotten identifiers from reserved ...
 rquota_server.c 2014-02-24 Petr Písař Petr Písař [d850a8] Prevent from grace period overflow in RPC trans...
 rquota_svc.c 2012-03-01 Jan Kara Jan Kara [2b70fe] Further i18n fixes
 set_limits_example.c 2012-02-29 Jan Kara Jan Kara [fe2675] Typo fixes, message changes for easier i18n
 setquota.8 2013-01-09 Petr Písař Petr Písař [fdcf21] Recognize units at inode limits by setquota
 setquota.c 2014-12-01 Tomáš Chvátal Tomáš Chvátal [bab3fa] Create new autotools buildsystem
 setup_quota_group 2001-03-23 jkar8572 jkar8572 [869fe2] Initial revision
 svc_socket.c 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...
 warnquota.8 2013-10-17 Petr Písař Petr Písař [52232f] Add warnquota.conf(5) manual page
 warnquota.c 2015-03-04 Jan Kara Jan Kara [61fab8] warnquota: Fix some leaks in LDAP lookup code
 warnquota.conf 2012-09-25 Petr Písař Petr Písař [0aee64] Make group warning message more official
 warnquota.conf.5 2013-10-17 Petr Písař Petr Písař [52232f] Add warnquota.conf(5) manual page
 xqmstats.8 2004-05-24 jkar8572 jkar8572 [e12004] Updated version to 3.12
 xqmstats.c 2010-01-05 jkar8572 jkar8572 [d271d0] * Rewritten configuration script to create conf...

Read Me

LDAP support for warnquota by James Bourne <jbourne@hardrock.org>

The LDAP support added to warnquota allows you to retreive mail routing
information from an LDAP server so that you can send mail to the correct
addresses.  So for example if usera has the email address usera@foo.bar.com
and userb has userb@baz.bar.com you can have the attributes as follows
(obvious things missing here):

dn: uid=usera,ou=People,dc=bar,dc=com
uid: usera
mail: usera@foo.bar.com

dn: uid=userb,ou=People,dc=bar,dc=com
uid: userb
mail: userb@baz.bar.com

warnquota.conf should be set like this (if you allow anonymous binds and
reads of the mail attribute:

LDAP_MAIL = true
LDAP_HOST = ldap.bar.com
LDAP_PORT = 389
LDAP_BASEDN = ou=People,dc=bar,dc=com
LDAP_SEARCH_ATTRIBUTE = uid
LDAP_MAIL_ATTRIBUTE = mail
LDAP_DEFAULT_MAIL_DOMAIN = bar.com

If not, just add:

LDAP_BINDDN = uid=readonly,dc=bar,dc=com
LDAP_BINDPW = it'sapasswd

and you will bind as the user readonly and search that way.

If you need to do lookups using a different attribute (Novell eDir for
example uses cn=username) change the LDAP_SEARCH_ATTRIBUTE to cn.  

Same with LDAP_MAIL_ATTRIBUTE.  If you use mail routing in LDAP (roughly
following the Laser Draft) you can set this to mailLocalAddress and
warnquota will send to that address.  This will guarentee that your quota
mail will be delivered to the correct address.

MongoDB Logo MongoDB