I'm trying to enable windows authentication for Postgresql 9.3 (Windows x64 not in domain, UAC is disabled, my account is local admin). The one click installer set the server running under NETWORKSERVICE
which I think is fine. I followed this answer but it does not work:
C:\Program Files\PostgreSQL\9.3\bin>createdb --host=localhost testdb
Password:
Password:
createdb: could not connect to database template1: fe_sendauth: no password supplied
Created Login Roles named exactly as Windows account names - still no luck. What am I doing wrong? All the manuals I found on the net either obsolete or not applicable (require AD).