Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5jyU-0006sk-Rk for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Mar 2019 04:34:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5jyR-0006cT-Qc for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Mar 2019 04:34:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5jyR-0006cM-K6 for pgsql-bugs@lists.postgresql.org; Mon, 18 Mar 2019 04:34:07 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5jyI-0003FO-W6 for pgsql-bugs@lists.postgresql.org; Mon, 18 Mar 2019 04:34:06 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id DDD605F7A2; Mon, 18 Mar 2019 00:33:56 -0400 (EDT) Date: Mon, 18 Mar 2019 00:33:56 -0400 From: Stephen Frost To: ashishpuneet@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15690: PostgreSQL integration with AD via LDAP and special characters in the password Message-ID: <20190318043356.GZ6197@tamriel.snowman.net> References: <15690-f6b1f8e17273170d@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EmrNt6EAbr5IgiLK" Content-Disposition: inline In-Reply-To: <15690-f6b1f8e17273170d@postgresql.org> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --EmrNt6EAbr5IgiLK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * PG Bug reporting form (noreply@postgresql.org) wrote: > PostgreSQL version: 9.6.6 You should really upgrade to the most recent 9.6 version of PostgreSQL. > We are trying to integrate PostgreSQL (9.6.6) with AD (Active directory) > using LDAP and facing issues with integration and it seems that issue is > because of the special characters that has been used in the password.=20 Can you be more specific regarding exactly what you're seeing? What does "special characters" here mean, what's happening? > Is it a know issue in PostgreSQL? Do we have any fix for this issue?=20 You might want to consider using Kerberos when integrating with an AD environment from PostgreSQL, which would certainly avoid this issue. You can see the PostgreSQL documentation for that here: https://www.postgresql.org/docs/current/gssapi-auth.html and I wrote up a blog post to try and help make it easier for people which covers the Windows AD setup side of things and how you go about actually getting a keytab and such here: https://info.crunchydata.com/blog/windows-active-directory-postgresql-gssap= i-kerberos-authentication Thanks! Stephen --EmrNt6EAbr5IgiLK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJcjx+0AAoJEO1sijiDR2RVCZAP/2lkHmXpmqq4U9ed8J6HIlvP wpERtTFdHexM58LgRbr+JeGQDLuC5AIpAlq8Q2czuJjTatHHde9VPYakPfYWOCe9 EnEyQjAU1BwJKCFKn+f64oMwcfENdf13LnZTxTAblKfSmKnI2nXwgNI6jmSsZEdN +hyNuo9mI+BhHUD424xryrOb/IP1r1WRsJJv35EpThNzIUij1rr/QG1ECyWTj7hG ODMmg4IvkNuBG8AmPdaO30LVMYLm9Zs19VwQdWGtCPjb0bXr9FIbI+j8SRKDnEVq Oi5JLuNXGfjeg5dB4O2w4qyF7DEAqtHx728Mw1/Swt1Uh572ukSQ13kBYnT93OoT JltmEyMH0Ak850z7tg21dvy9JChyr/JfFl0H1bRT2Z97p4u8fk5DRS5QQiqsKrjE 043hSkjBZJRUxVhnC7M/HOLLKl0BqHHJH4sS78O+8yTi6iOwRXg5+07fxjQv4ynE C6pr6YnhgHUM241EUPnln/GrenEa1rWUlrxotDPipyWQuHkfr8Q6GHSCA7RzAz0I KM0ria7xx1xwSM7YR4y0xenStjDlYk1Nd2P7r122pe5SB5tbJKh7EjFXgB7Howiv WUSQbAqadTVFburfqedc9IHr5i89LAUUimP6aAs93q8HbJ7/3k3WcdKEm5UTNsuq qHSAuDl1kHQRtz61SlJI =gaG2 -----END PGP SIGNATURE----- --EmrNt6EAbr5IgiLK--