| To: | qmail-ldap@qmail-ldap.org |
|---|---|
| Subject: | Re: how to change LDAP password in squirrelmail |
| From: | "sato x" <gladiol4@gmail.com> |
| Date: | Tue, 26 Jun 2007 12:04:45 +0700 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | qmail-ldap-list@securepoint.com |
| Delivered-to: | mailing list qmail-ldap@qmail-ldap.org |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o7jRzPenm1TTxSFuubqi8jHp8FcxVO/1sAidJDYxxI+gOfWExMyXy5NqS9qlcvC2NL71T8Wfc8q7XN1N7fXQosGYeDXzxYAlbtbQZgspmKSDJqI3JNTzqj7ksqI2HHKWZ2RjH7DOdqplY2TZZBmekR28O57yjn2MCJg936NdNAA= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qu9sI4AE5n/7Ad+eLU6IT5+4Bsd+vH+mIbvoC4mkhHaRKo3ZeNrwTO6RRrcmSdvwBAIw4u4zB450B0nZN158Gmnc2DMNPRcKmjDDWgObvUcej/IuQbuspbYTR8RJljpI4o8h1za0w6Z5VOEvmzqSNeZ7Lu7RfPwzXAWv2gwWlhU= |
| In-reply-to: | <4667347C.1000602@dc.uba.ar> |
| Mailing-list: | contact qmail-ldap-help@qmail-ldap.org; run by ezmlm |
| References: | <246338.37211.qm@web52203.mail.re2.yahoo.com> <6bf71c520706060815j5140248jebfc86739cf5d30e@mail.gmail.com> <4667347C.1000602@dc.uba.ar> |
Hi Aman,
This you should do after install (un-tar) the change_ldappass into the
plugins directory of squirrel. Edit /etc/php.ini to change the memory
limit (default 8M):
# vi /etc/php.ini
memory_limit = 64M
Then edit /var/www/html/webmail/plugins/change_ldappass/config.php:
# vi config.php
$ldap_server = 'ldap://ip.address.of.ldap_server';
$ldap_protocol_version = 3;
$ldap_password_field = 'userpassword';
$ldap_user_field = 'uid';
$ldap_base_dn = 'dc=domain,dc=com'; # change this to suit your ldap
structure
$ldap_bind_as_manager = false;
$ldap_manager_dn="cn=Manager,$ldap_base_dn"; # you can skip this
$change_smb=false;
$smb_passwd='/usr/bin/smbpasswd';
$smb_host='ldapserver'; # add this host into your /etc/hosts
file
$change_ldapsmb=true;
$mkntpwd='/usr/bin/mkntpwd';
$ldapsmb_lmpassword='sambalmpassword';
$ldapsmb_ntpassword='sambantpassword';
$debug = false;
Then run conf.pl in squirrel's config directory:
# cd ../../config
# ./conf.pl
Choose 8 and move the installed plugin (change_ldappass) from
"Available Plugins" part into the "Installed Plugins" part (pick a
proper number). Save and quit. Restart httpd/apache, then you can
start changing your password via webmail.
Note. In this configuration I use mkntpwd (I have installed it either)
so I can change the email and domain password (ntlm password) all at
once.
Hope it can help.
Regards,
sato
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Ajuda, Felipe Augusto van de Wiel |
|---|---|
| Next by Date: | Re: qmail-ldap and DSPAM, Hugo Monteiro |
| Previous by Thread: | Re: how to change LDAP password in squirrelmail, Gabriel Musco |
| Next by Thread: | 2 domains in auto-reply, Zdravko Stoychev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |