I am still looking for help with this plugin if someone could point me in
the correct direction, I would be most appreciative.
On Mon, Mar 21, 2011 at 11:02 PM, Clay Smith <freelancefool(a)gmail.com>wrote:
> I am currently having some issues trying to get the change password
> function to work. I have sanitized the config and the logs. I am hoping
> that I am not missing anything. I have RoundCube authenticating against
> Active Directory right now with no issues. I have no issues with mail
> delivery. I figured out how to get the Global Addressbook to pull from
> Active Directory, but this is beating me. I would appreciate any help with
> this plugin that I can get.
>
> Configuration File
>
> [root@mail ~]# less
> /var/www/webmail.$MYSITE.com/plugins/password/config.inc.php
> <?php
>
> // Password Plugin options
> $rcmail_config['password_driver'] = 'ldap';
>
> // Determine whether current password is required to change password.
> $rcmail_config['password_confirm_current'] = true;
>
> // Require the new password to be a certain length.
> $rcmail_config['password_minimum_length'] = 7;
>
> // Require the new password to contain a letter and punctuation character
> $rcmail_config['password_require_nonalpha'] = true;
>
> // LDAP and LDAP_SIMPLE Driver options
> // -----------------------------------
> $rcmail_config['password_ldap_host'] = $MYDC';
>
> // LDAP server port to connect to
> // Default: '389'
> $rcmail_config['password_ldap_port'] = '389';
>
> // TLS is started after connecting
> $rcmail_config['password_ldap_starttls'] = false;
>
> // LDAP version
> $rcmail_config['password_ldap_version'] = '3';
>
> // LDAP base name (root directory)
> $rcmail_config['password_ldap_basedn'] = 'dc=$MYDOMAIN,dc=local';
>
> // LDAP connection method
> $rcmail_config['password_ldap_method'] = 'user';
>
> // LDAP Admin DN
> $rcmail_config['password_ldap_adminDN'] = null;
>
> // LDAP Admin Password
> $rcmail_config['password_ldap_adminPW'] = null;
>
> // LDAP user DN mask
> $rcmail_config['password_ldap_userDN_mask'] =
> 'cn=%name,dc=$MYDOMAIN,dc=local';
>
> // LDAP search DN
> $rcmail_config['password_ldap_searchDN'] =
> 'cn=ad.bind,cn=users,dc=$MYDOMAIN,dc=local';
>
> // LDAP search password
> $rcmail_config['password_ldap_searchPW'] = '$AD.BINDPWD';
>
> // LDAP search base
> $rcmail_config['password_ldap_search_base'] =
> 'cn=users,dc=$MYDOMAIN,dc=local';
>
> // LDAP search filter
> $rcmail_config['password_ldap_search_filter'] = '(cn=%name)';
>
> // LDAP password hash type
> $rcmail_config['password_ldap_encodage'] = 'crypt';
>
> // LDAP password attribute
> $rcmail_config['password_ldap_pwattr'] = 'userPassword';
>
> // LDAP password force replace
> $rcmail_config['password_ldap_force_replace'] = true;
>
> // LDAP Password Last Change Date
> $rcmail_config['password_ldap_lchattr'] = 'pwdLastSet';
>
> // Also try to update Samba password attributes: sambaNTPassword and
> sambaPwdLastSet
> $rcmail_config['password_ldap_samba'] = false;
>
> );
>
> Errors
>
> [root@mail ~]# tail -f /var/log/httpd/error_log
> [Mon Mar 21 22:30:31 2011] [error] [client x.x.x.x] Bind failed: Invalid
> credentials: LDAP_INVALID_CREDENTIALS (49): , referer:
> http://webmail.$MYSITE.com/?_task=settings&_action=plugin.password-save
> [Mon Mar 21 22:30:40 2011] [error] [client x.x.x.x] Bind failed: Invalid
> credentials: LDAP_INVALID_CREDENTIALS (49): , referer: http://webmail.
> $MYSITE.com/?_task=settings&_action=plugin.password-save
>
> I understand that the LDAP_INVALID_CREDENTIALS is an issue with the login
> and password that I am trying to bind with. I just don't see where my
> error is. What am I missing?
>
> Thanks,
>
> Clay
>
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hi
I want show all folders from imap in plugin body, I tried to use
function rcmail_mailbox_select or rcmail_mailbox_list and I get empty page.
Would be nice if I will get folders as array or as select object for use
in form.
Maybe someone know how to do this?
Thanks for any help
--
Dariusz Raczkowski
www.atrium-pc.pl
ul. Głogowska 181
61-121 Poznań
gg: 11995886
tel/phone: +48 61 662 12 21
tel kom./cellphone: +48 664 167 788
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hello
We want to use Roundcube 0.5.1 on Linux (RHEL 5.6 x64). We want to use RCU & mysql in the same host, and we will have a maximum of 1.500 concurrent users. The imap & smtp servers are in another host.
How much memory does roundcube uses? Any real-world experience?
Thank you in advance
Javier
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
PLEASE FIND ATTACHED WORKBOOK, CONTAINS LOANS DEDUCTIONS FROM KIBAHA ED.
CENTRE FEB 2011
--
Myalla J.C
Kibaha Education Centre
P.O Box 30054 Kibaha
Pwani
Tanzania
+255787680744
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/A9/CdoHWSuc/UBUNGO_NBC_LOAN_FEB_.xls
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
I use postfixadmin to maintain my userdb, and it offers the ability to
have all of your modified settings from the main config file
(config.inc.php) in a separate local file, which is then 'included' in
the main config file...
I have found that this makes upgrades much easier, so I'd like to
request that this be made a formal feature with RC...
So, something like an autoinclude for a main.local.php file (if it
exists), where any settings in this file override any settings in
main.inc.php...
I'd also like the ability to define *where* this local config file might
reside... ie, by default look in the current directory (where
main.inc.php is), then, if $local_config_dir (or whatever) is set, look
there (ie, /etc/roundcube)...
Thanks for your consideration...
--
Best regards,
Charles
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hi,
I'm trying to get roundcube set up in tandem with a postfix/courier setup
that uses a MYSQL table for user authentication. I use the PLAIN auth type,
and everything works correctly on my other clients, but I get the following
error in /var/log/mail.log when I attempt to login with roundcube:
Mar 22 10:56:34 [hostname] imapd: LOGIN FAILED, method=CRAM-MD5,
> ip=[::ffff:192.168.1.254]
> Mar 22 10:56:39 [hostname] imapd: Disconnected, ip=[::ffff:192.168.1.254],
> time=6, starttls=1
>
The login method quoted there is strange, as I have this line in
/etc/roundcube/main.inc.php:
> $rcmail_config['imap_auth_type'] = 'PLAIN';
>
I've also tried it without capital letters, and with double quotes with and
without.
I'm running Debian Wheezy with the 2.6.32-5-kirkwood kernel. All packages
are up to date.
Any help would be appreciated.
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hello.
RC can add favorites mark (gold star). But what about the tags? I want
add short text lable and get all mail mark same tag in one click.
Possible?
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
I am currently having some issues trying to get the change password function
to work. I have sanitized the config and the logs. I am hoping that I am not
missing anything. I have RoundCube authenticating against Active Directory
right now with no issues. I have no issues with mail delivery. I figured out
how to get the Global Addressbook to pull from Active Directory, but this is
beating me. I would appreciate any help with this plugin that I can get.
Configuration File
[root@mail ~]# less
/var/www/webmail.$MYSITE.com/plugins/password/config.inc.php
<?php
// Password Plugin options
$rcmail_config['password_driver'] = 'ldap';
// Determine whether current password is required to change password.
$rcmail_config['password_confirm_current'] = true;
// Require the new password to be a certain length.
$rcmail_config['password_minimum_length'] = 7;
// Require the new password to contain a letter and punctuation character
$rcmail_config['password_require_nonalpha'] = true;
// LDAP and LDAP_SIMPLE Driver options
// -----------------------------------
$rcmail_config['password_ldap_host'] = $MYDC';
// LDAP server port to connect to
// Default: '389'
$rcmail_config['password_ldap_port'] = '389';
// TLS is started after connecting
$rcmail_config['password_ldap_starttls'] = false;
// LDAP version
$rcmail_config['password_ldap_version'] = '3';
// LDAP base name (root directory)
$rcmail_config['password_ldap_basedn'] = 'dc=$MYDOMAIN,dc=local';
// LDAP connection method
$rcmail_config['password_ldap_method'] = 'user';
// LDAP Admin DN
$rcmail_config['password_ldap_adminDN'] = null;
// LDAP Admin Password
$rcmail_config['password_ldap_adminPW'] = null;
// LDAP user DN mask
$rcmail_config['password_ldap_userDN_mask'] =
'cn=%name,dc=$MYDOMAIN,dc=local';
// LDAP search DN
$rcmail_config['password_ldap_searchDN'] =
'cn=ad.bind,cn=users,dc=$MYDOMAIN,dc=local';
// LDAP search password
$rcmail_config['password_ldap_searchPW'] = '$AD.BINDPWD';
// LDAP search base
$rcmail_config['password_ldap_search_base'] =
'cn=users,dc=$MYDOMAIN,dc=local';
// LDAP search filter
$rcmail_config['password_ldap_search_filter'] = '(cn=%name)';
// LDAP password hash type
$rcmail_config['password_ldap_encodage'] = 'crypt';
// LDAP password attribute
$rcmail_config['password_ldap_pwattr'] = 'userPassword';
// LDAP password force replace
$rcmail_config['password_ldap_force_replace'] = true;
// LDAP Password Last Change Date
$rcmail_config['password_ldap_lchattr'] = 'pwdLastSet';
// Also try to update Samba password attributes: sambaNTPassword and
sambaPwdLastSet
$rcmail_config['password_ldap_samba'] = false;
);
Errors
[root@mail ~]# tail -f /var/log/httpd/error_log
[Mon Mar 21 22:30:31 2011] [error] [client x.x.x.x] Bind failed: Invalid
credentials: LDAP_INVALID_CREDENTIALS (49): , referer:
http://webmail.$MYSITE.com/?_task=settings&_action=plugin.password-save
[Mon Mar 21 22:30:40 2011] [error] [client x.x.x.x] Bind failed: Invalid
credentials: LDAP_INVALID_CREDENTIALS (49): , referer: http://webmail.
$MYSITE.com/?_task=settings&_action=plugin.password-save
I understand that the LDAP_INVALID_CREDENTIALS is an issue with the login
and password that I am trying to bind with. I just don't see where my error
is. What am I missing?
Thanks,
Clay
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hello:
Have defined an array of default_hosts
$rcmail_config['default_host'] = array(
'server1.domain.com' => 'People',
'server2.domain.com' => 'Staff'
);
In both imap servers default boxes for sent items are different. So I
would like to specify this in main.inc.php.
But $rcmail_config['sent_mbox'] does not look to allow multivalues or
arrays.
Have tried with rcmail_config['include_host_config'] but have found it
is not useful in my case as it does not user IMAP server.
Some advice please on how to define different
$rcmail_config['sent_mbox'] based on IMAP server.
Thanks in advance.
--
------------------------------------------------------
Juan Carlos Sanchez Hernandez
Responsable de Seguridad y Correo Electronico
Servicio de Planificacion Informatica y Comunicaciones
Universidad Politecnica de Madrid
Rectorado
Avda. Ramiro de Maeztu 7
28040 Madrid
------------------------------------------------------
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e
Hello everyone:
I have a question about alternatives to save session information on
files instead of on the database. A.L.E.C says at
http://lists.roundcube.net/mail-archive/users/2010-10/0000025.html that
it would be enough to modify the rcube_session class? And my question
is: would it be just enough to comment out lines 52-28 (where
session_set_save_handler is invoked)? Would it be necessary to change
any of the other public methods, or any functions/method on different
files other than rcube_session.php?
I need this because I have a huge number of users and keeping the
session information, which is modified at every single click performed
on the user interface, on a single database instance seems not a
reasonable solution. The other option would be a database cluster, but
that, I guess, is a complex approach and I would prefer something more
simple.
Besides, it would be great if this possibility was added as a
configuration parameter. I am sure more people can have this issue as
well.
Thanks in advance and best regards,
Rafa
--
Rafael Arco Arredondo
Centro de Servicios de Informática y Redes de Comunicaciones
Universidad de Granada
--
List info: http://lists.roundcube.net/users/
BT/9b404e9e