Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.146.178.174
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/root/usr/share/doc/quota/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/root/usr/share/doc/quota/README.ldap-support
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.


Anon7 - 2022
AnonSec Team