pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Johnson <mark@remingtondatabasesolutions.com>
To: Teguh R <taguah@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: LDAP Authentication
Date: Fri, 20 May 2011 13:27:26 +0000
Message-ID: <W974661285218211305898046@webmail9> (raw)


I too have been looking into this as a new user of PostgreSQL 9.0.
1. Before you install PostgreSQL you might want to verify the LDAP packages are installed. For example, on CentOS I might run "yum list openldap openldap-devel". 
2. If you install PostgreSQL from source code, one of the steps is to run the "configure" utility. To use LDAP based authentication you should include the option "--with-ldap". You might also want "--with-openssl". 
3. After PostgreSQL has been installed you can see which options were used built in using the command "$PGHOME/bin/pg_config --configure". Check the output. If there are no references to ldap, then go back to step 1.
4. You can also use this command to see if postgres is linked with the ldap libraries: "ldd $PGHOME/bin/postgres". If there are no references to ldap, then go back to steps 1 and 2.
I have not gone past this. I ran into an issue with the one-click installer on RHEL 6 that I'm stuck on.
-Mark
-----Original Message-----
From: Teguh R [mailto:taguah@gmail.com]
Sent: Friday, May 20, 2011 08:31 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] LDAP Authentication

Hi, My first post, new to postgresql, forgive me if this is better suited to other postgresql mailing list. I would like to ask about LDAP authentication configuration. It is said in documentation that first the installation compiled with LDAP option. I use installer from official postresql site, is it LDAP authentication ready? Is there any straight tutorial for setting up LDAP authentication for pg? where to put the LDAP configuration (pg_services.conf?) and other step to make LDAP user can login using their id. Thanks in advance, Teguh -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin 

view thread (7+ messages)  latest in thread

Message-ID: <W974661285218211305898046@webmail9>
Permalink:  ../W974661285218211305898046@webmail9/
Also on:    postgresql.org/message-id/W974661285218211305898046@webmail9

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mark@remingtondatabasesolutions.com, taguah@gmail.com
  Subject: Re: LDAP Authentication
  In-Reply-To: <W974661285218211305898046@webmail9>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox