X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 38C76D1BB73 for ; Wed, 17 Dec 2003 10:27:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 03410-04 for ; Wed, 17 Dec 2003 06:26:52 -0400 (AST) Received: from Gateway.bksys.co.in (unknown [61.3.252.134]) by svr1.postgresql.org (Postfix) with ESMTP id 38690D1B8B6 for ; Wed, 17 Dec 2003 06:26:48 -0400 (AST) Received: from bksys.co.in (mail.bksys.co.in [192.168.1.1]) by Gateway.bksys.co.in (8.11.6/8.11.6) with ESMTP id hBHAQg922024; Wed, 17 Dec 2003 15:56:43 +0530 Received: from Bhuvan.bksys.co.in (Bhuvan.bksys.co.in [192.168.1.71]) by bksys.co.in (8.11.6/8.8.5) with ESMTP id hBHAQgI13950; Wed, 17 Dec 2003 15:56:42 +0530 Subject: Re: createuser problem in 7.3.4 on Linux From: "A.Bhuvaneswaran" To: paulp127@dublin.ie Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Vov4uAGUx41ovLzXTGRG" Message-Id: <1071657087.1831.6.camel@Bhuvan.bksys.co.in> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 17 Dec 2003 16:01:28 +0530 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/235 X-Sequence-Number: 11741 --=-Vov4uAGUx41ovLzXTGRG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > As user postgres I have run initdb. I create a user named > Administrator via the createuser script. All goes well and I get the > response CREATE USER. > Then I try:=20 >=20 > psql -U Administrator template1 >=20 > and get the response: > psql: FATAL: IDENT authentication failed for user "Administrator". >=20 Default installation uses ident authentication method. It requires os user with the same name & mapping in pg_ident.conf. If i am correct, you are looking for either trust/password authentication method. If so, edit pg_hba.conf and comment the ident entry and uncomment trust entry. > ERROR: DROP USER: user "administrator" does not exist It looks strange. Ensure, you are not deleting the user twice -:). Since, IMO, both createuser and dropuser scripts handle the case properly. regards, bhuvaneswaran --=-Vov4uAGUx41ovLzXTGRG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA/4DB/L2UFujVh8ToRAkEZAJoCO6hln1wxdHCFnmmBG9q3TK99oQCggGPB CPh7KcWAlnwI4QczL6Dukjs= =/+iT -----END PGP SIGNATURE----- --=-Vov4uAGUx41ovLzXTGRG--