Re: Problem with validateuser.exe in unattended mode

From: David Wolff <david(dot)wolff(at)lios-tech(dot)com>
To: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Problem with validateuser.exe in unattended mode
Date: 2014-11-13 14:03:07
Message-ID: zarafa.5464ba1b.234e.55277d007864665f@srv-zarafa.lios-koeln.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I didn't use GUI for the initial installation. I can only use unattended mode for my use case.

If you call the installer for initial installation and update with the exact same flags the problem occurs.

Initial installation in unattended mode seems to work. The postgres user definitly exists and is used for the pg service.

But running the installer again in unattended mode (e.g. update) raises an error in validateuser.exe.

If you update in GUI mode using the same password the validation works.

-----Ursprüngliche Nachricht-----
Von: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Gesendet: Don 13 November 2014 14:04
An: David Wolff <david(dot)wolff(at)lios-tech(dot)com>
CC: pgsql-bugs(at)postgresql(dot)org
Betreff: Re: [BUGS] Problem with validateuser.exe in unattended mode

Hi

Did you provide the same configure flags for GUI installation? May be your service account was the default i.e "NT AUTHORITY\NetworkService" . You may check the installation logs in the system temp as well to confirm that.

On Thu, Nov 13, 2014 at 3:12 PM, David Wolff <david(dot)wolff(at)lios-tech(dot)com <mailto:david(dot)wolff(at)lios-tech(dot)com> > wrote:
Hi,

I have problems with the validateuser.exe during installation in unattended mode.

I'm trying to update an 9.2.8.1 to 9.2.9.3 windows 7 x64 installation.

In GUI mode the validation works. But in unattended mode it always fails with:

"Incorrect password for user..."

I also reproduced the error with 9.2.9.3 windows 7 x86 installer running the following command twice:

postgresql-windows-x86.exe --mode unattended --superaccount postgres --serviceaccount postgres --servicepassword "postgres" --prefix "C:\Program Files (x86)\PostgreSQL\ProgramData\PostgreSQL\9.2\Data" --superpassword "postgres" --serverport 5432

--
Sandeep Thakkar

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-13 17:51:57 Re: BUG #11732: Non-serializable outcomes under serializable isolation
Previous Message Sandeep Thakkar 2014-11-13 13:04:27 Re: Problem with validateuser.exe in unattended mode