Unable to login after upgrading to SugarCRM ver 8.0.0 Pro - upgrade

I have updated a SugarCRM instance from 6.5.14 PRO to 8.0.0 PRO using silent upgrades. Every thing works fine and instace gets updated to ver 8.0.0 successfully. But after upgrade i have a strange issue of getting logedin into the Sugar 8.0.0 using my administrator account.
When i try to get log in Sugar gives me a message of Invalid Credntials.
In sugarcrm.log Sugar also only writes that the user login attempt failed for user and in php log there is no message regarding any type of failure.
I have also tried to add these parameters in config_override file but it dosen't work in either way:
$sugar_config['passwordHash']['allowLegacy'] = true;
$sugar_config['passwordHash']['rehash'] = false;
If i replace the password of my administrator account in users table with the password of administrator account available in the users table of a standard 8.0.0 instance then SugarCRM let me logged in in my upgraded instance.
NOTE: An important point to indicate here is that the problem exists only for the users having their passwords saved in MD5 format in table users and not for the users which already have their passwords converted in SHA format.
Any idea how to update the passwords or add any parameters in config to solve this login failure problem in my upgraded instance.

Related

AD - What is the meaning of the "Pwd-last-set" attribute for a Windows Server?

This question follows an audit on my AD where Windows servers with very old PasswordLastSet attributes have been discovered.
I'm familiar with using the Pwd-last-set attribute in order to check when an AD user has last changed his password. But what does this attribute mean when talking about a computer-type object like a laptop or a windows server ?
The Microsoft documentation states it is "The date and time that the password for this account was last changed". I don't think this means the local administrator of the computer, since I've clearly not changed mine at the date my Pwd-last-set attribute indicates.
Finally, if it isn't the local administrator nor my account, how can I set a new password that will refresh the attribute ?
EDIT
So the password is actually the Machine Account password used for communication between the computer/server and the DC
It's supposed to be renewed every 30 days on default Windows settings through the following registery key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
I still don't have a way to easily force the renew of this password but found some leads :
Put the MaximumPasswordAge in the registery to a low number and restart the machine
Use the "Reset Account" options when right-clicking the object in the active directory -> What are the consequences for a server ?
Use the Reset-ComputerMachinePassword Powershell command -> What are the consequences for a server ?

Why must I create a new user when beginning to use PostgreSQL?

After reading some tutorials on installing PostgreSQL, I know that I must create a new OS user such as 'PostgreSQL' in the process of installing. However, I don't know the reason and what would happen if I just use my current user account?
The same question on Odoo.
My Account Setting
you have to define a "database owner". Normaly you use SQL on a Server with multible access accounts.
Nothing would happen if you use your own account to install it or define it as DB owned.
You should just recognize some PostgresSQL services running with you local account under der "services" section....

Orientdb 2.2.2 "create user" in distributed setup returns ODistributedOperationException

Is the "create user" command supported in a distributed setup (version 2.2.2)? Any time I use it, I get a distributed operation exception (screenshot: https://www.dropbox.com/s/nd9m52i8dbk7r4t/Screenshot%202016-06-15%2010.51.13.png?dl=0)
It seems that the entry is created in both servers, just with a different password hash which collides. Screenshot of user creation process (redacted) https://www.dropbox.com/s/r4oywkc5gqj6lsj/Screenshot%202016-06-15%2012.26.04.png?dl=0 and https://www.dropbox.com/s/2poi06z9mxxqr26/Screenshot%202016-06-15%2012.26.43.png?dl=0
Strangely, if I run the command on devgro1, I can login using the credentials on the OTHER server (devgro2), but not on the server I ran the command on.
To add to the confusion, I can't use the old method of inserting into OUser either: https://www.dropbox.com/s/ruxes4vkop4kigb/Screenshot%202016-06-15%2012.19.30.png?dl=0
Appears to be a bug in version 2.2.2. Recommended action is to revert to the 2.1.x versions that doesn't have this bug, or upgrade to one where it is fixed (not available as of the time of this post, but might be for an future readers).

Thunderbird and SoGo connector: Never asked for credentials

I'm trying to access my owncloud address book using Thunderbird and the SoGo connector under Windows.
Under Linux I have no issues whatsoever - it works perfectly.
Under Windows however I'm never being prompted for any credentials after I added a new remote address book and I'm therefore unable to retrieve my address book.
I tried deleting and recreating the address book several times, restarting Thunderbird and Windows itself, but I never got a credentials prompt.
I checked the 'saved passwords' section in the Thunderbird settings to ensure that no wrong credentials are stored (because SoGo fails silently if the credentials are incorrect).
The owncloud address book URL is correct as well.
I'm using Thunderbird 31.1.1 and SoGo 24.0.6
Thanks in advance for any hints.
Ok, I resolved it myself by downgrading to SoGo Connector 10.0.6.
After you installed the addon, restarted thunderbird and entered the uri to you owncloud addressbook, restart thunderbird again. SoGo Connector should then ask for the credentials.
SoGo Connector never asks for CardDAV credentials in Thunderbird 38 under Windows, probably a bug in TB, Lightning or SoGo.
Resolved by downgrading to Thunderbird 31, there everything works as expected.
I solved this problem by first removing the SOGo Connector and then installing the Saved Password Manager Addon for Thunderbird and created a new username / password of type annotations (or similar..). Afterwards I reinstalled the SOGo Connector and it worked right away. I found the solution on this german Webmail-Site. The proposed way of installing the Saved Password Manager afterwards didn't work. They suggest this workaround if you get asked for the password everytime, I wasn't asked a single time.

ZSS initial setup failing with invalid connection string

I am trying to get the Zumero for SQL Server working and I cannot get past running the test client. I get the below error
Connection string in web.config is
<settings temp_directory="C:\ProgramData\Zumero\ZSS Server\temp\"
odbc_connection_string="DSN=krishna;User Id=syncadmin;Password=syncadmin;"
license_key="<removed>" />
The description for Event ID 1 from source Zumero cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Error -1 (mssql): {"diag":[{"SQL_DIAG_MESSAGE_TEXT":"[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database \"ZumeroTest\" requested by the login. The login failed.","SQL_DIAG_NATIVE":4060,"SQL_DIAG_SQLSTATE":"42000"},{"SQL_DIAG_MESSAGE_TEXT":"[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed","SQL_DIAG_NATIVE":0,"SQL_DIAG_SQLSTATE":"IM006"},{"SQL_DIAG_MESSAGE_TEXT":"[Microsoft][ODBC SQL Server Driver]Invalid connection string attribute","SQL_DIAG_NATIVE":0,"SQL_DIAG_SQLSTATE":"01S00"}],"SQLRETURN":-1}
..\..\..\src\core\sg\sg_mssql.c:344
..\..\..\src\core\sg\sg_mssql.c:384
..\..\..\src\core\server\zum_db_mssql.c:2896
..\..\..\src\core\server\zum_respond.c:4454
..\..\..\src\servers\iis\main.cpp:1211
The publisher has been disabled and its resource is not avaiable. This usually occurs when the publisher is in the process of being uninstalled or upgraded
Either the SQL Server user doesn't have rights or the database doesn't exist.
You can use a DSN, but for troubleshooting purposes I recommend putting the connection details directly in the connection string for now. Once it's working you can migrate the settings back to a DSN if you like.
Looks like you're using SQL Server authentication. So the odbc_connection_string value should look like this:
Driver={SQL Server Native Client 11.0};Database={database};Server={server.ad.domain.com};UID={sql_server_user};PWD={password};
The database must exist and the user specified must have appropriate read/write access to it.
(If you're setting minimum necessary permissions, you'll also want to make sure the user has VIEW SERVER STATE rights, as described here.)
While unrelated to your invalid connection string problem, the messages about The description for Event ID 1 [...] and The publisher has been disabled [...] indicate that ZSS hasn't been correctly registered with the Windows Event Viewer. Did you install the server by hand (from the .zip file) or using the installer?
You can fix those messages using the following command (which probably requires an admin prompt):
wevtutil im "PATH\TO\events.man" /rf:"PATH\TO\zumero_server.dll" /mf:"PATH\TO\zumero_server.dll"
where PATH\TO is the path where you extracted those files from the .zip. If you used the installer then they should be located at: %PROGRAMFILES%\Zumero\ZSS Server
If you installed manually from the .zip then it's worth noting that the instructions had a subtle typo in that command which would cause it to fail. That typo has been fixed in the past few days, but it may have caught you during your installation and caused this issue.