Hey,
I am Dutch, so English is not my first language. I'll try to explain my problem clear and try to understand you if you want to help me.
I am running hmailserver on my own server with windows 2003 with IIS.
This is working correctly. I am using a mysql database for it, called hmailserver with user hmailserver.
I also installed Roundcube 0.4.1 for the webmail. This is also working correctly. I also made a mysql database voor roundcube called roundcubemail, with user roundcube.
Now I want users to be abel to change there own password. So I searched and searched and finally I found out that you can activate the password plugin within roundcube.
But I find it really difficult to understand all tutors and readme files.
In //root/config/main.inc.php I put the text "password" like this:
Quote// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array(password);
Now, I got the "password" tab in my settings.
Then I think I have to change other several settings, but I really tried everything, but I am not able to change passwords. I also studie all password related topics and googled a lot. But sorry, it didn't work out. Pleas help me in this topic.
Thank you very much in advance :)
What exactly is your problem? Read plugins/password/README file.
Damn, I did my best so hard to explain.
Did you read my question?
Is there also maybe an ADMIN controlpanel available for this roundcube? It could eas up the settings instead of hacking the config code :D
The most important thing is, that users can change their own password of th hmailserver account.
But I really dont know what code I exactly have to hack.
If your using hmailserver try using the hmail_password plugin http://code.google.com/p/myroundcube/
Quote from: skaero;30578If your using hmailserver try using the hmail_password plugin myroundcube - Project Hosting on Google Code (http://code.google.com/p/myroundcube/)
also tried that one....
I cannot succeed.
again I tried the hmail_password plugin from that suggested site.
I have the possibility to put on data at the settings, account administration. So the plugin is loaded.
But then when I type the new password, I got an error
I got it in dutch, but translated its something like: "There was a fault during the saving".
This is the code I have in installfolder/plugins/hmail_password/config/config.inc.php
Quote
/* hmail_password plugin */
// navigation config (requires plugin settings @website myroundcube - Project Hosting on Google Code (http://myroundcube.googlecode.com))
$rcmail_config['settingsnav'][] = array('part' => '', 'locale' => 'settings.password', 'href' => './?_task=settings&_action=plugin.hmail_password', 'onclick' => '', 'descr' => 'hmail_password');
// user needs current password to perform change request
$rcmail_config['password_confirm_current'] = TRUE;
// password min length (min 6 digitis)
$rcmail_config['password_min_length'] = 6;
$rcmail_config['db_hmail_password_dsn'] = 'mysql://hmailserver:databasepassword@localhost/hmailserver?new_link=true';
?>
What am I doing wrong?
please anyone help?
I have to fix this. (and I prefer the Password plugin instead of the hmail_password plugin, because of the nicer tab)
I don't want to look for another webmailprogram if not nescesary.
Have you set the right values here:
$rcmail_config['db_hmail_password_dsn'] = 'mysql://hmailserver:databasepassword@localhost/hmailserver?new_link=true';
@funkyduck: first of all, if something doesn't work, you should check logs/errors file for error messages.
Quote from: Julius Caesar;30611Have you set the right values here:
$rcmail_config['db_hmail_password_dsn'] = 'mysql://hmailserver:databasepassword@localhost/hmailserver?new_link=true';
according to my first post, I think I did this right. But when it's not working, maybe I'm wrong. But, I cannot find out. :-X
Quote from: alec;30612@funkyduck: first of all, if something doesn't work, you should check logs/errors file for error messages.
I deleted the errorlog of 26 MB and retry to change password.
Now I have a small log:
Quote[06-Oct-2010 15:19:22] PHP Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\rcmail.php on line 677
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1005
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1009
[06-Oct-2010 15:19:28] PHP Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1011
[06-Oct-2010 15:19:28] PHP Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1013
[06-Oct-2010 15:19:28] PHP Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1014
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1043
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1056
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1056
[06-Oct-2010 15:19:28] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1056
[06-Oct-2010 15:19:49] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\Inetpub\webmail\program\include\main.inc on line 1135
[06-Oct-2010 15:19:49 +0200]: Plugin hmail_password: Failed to create COM object `hMailServer.Application': Access is denied.
. This problem is often caused by DCOM permissions not being set.
Check this thread (http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/7329-hmail_password-problem.html) for more info (3rd post)
Quote from: Julius Caesar;30617Check this thread (http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/7329-hmail_password-problem.html) for more info (3rd post)
QuoteYou know what it was...Im running IIS i had to adjust the DCOM settings for Hmailserver...Here is a link. In the instructions it says to set the internet guest account that doesn't work you have to set IIS_WPG and it works...If anyone is looking. Win2k3 IIS6.
DCOM permissions (http://www.hmailserver.com/documentation/latest/?page=howto_dcom_permissions)
I did this. Standard the Internet Guest Account (WEBSERVER\IUSR_WEBSERVER), is allready fully allowed. When I add IIS_WPG group and allow everything, it still not works. For test I added EVERYONE and allow everything. Then it works!
But now, I think EVERYONE will not be the sollution :-X
I kept searching and searching and found this error in de services log:
QuoteEvent Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 7-10-2010
Time: 10:15:13
User: NT AUTHORITY\NETWORK SERVICE
Computer: WEBSERVER
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{D6567EF8-0A6C-48E7-9288-A2463123C2F3}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.
So I added the user "NETWORK SERVICE" in that DCOMconfig thing and allowed him.
Now it works again.
But can someone ensure me that this is the right and save sollution?
If you have removed 'Everyone' and just added 'Network Service' it's safe. Check this thread (http://msdn.microsoft.com/en-us/library/ms684272%28VS.85%29.aspx) for more information about this account.
Quote from: Julius Caesar;30637If you have removed 'Everyone' and just added 'Network Service' it's safe. Check this thread (http://msdn.microsoft.com/en-us/library/ms684272%28VS.85%29.aspx) for more information about this account.
you're so good, good old Dutch guy ;D
Thanks!