Re: PostgreSQL 9.0 authentication against LDAP/AD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael O'Donnell wrote...
>
> I am trying to authenticate PostgreSQL 9.0 login roles against LDAP/Active directory (AD). PostgreSQL 9.0 is installed on a Windows 2008 R2 64bit. My pg_hba.conf setting looks like the following: 
>
> host        <db>        <user>        samenet        ldap        ldapserver=<server.domain.net.com> ldapprefix="DOMAIN\" 
> I am populating the <db>, <user>, <server.domain.net.com>, and DOMAIN with real values. 
>
> When I use the following psql command I get an error: 
> C:\Windows\System32>psql -d <db> -U <user> -W 
> Password for user <user>: 
> psql: FATAL:  password authentication failed for user "<user>" 

As far as I can see, that error indicates that it is not even attempting to use LDAP authentication. It would have said "psql: FATAL:  LDAP authentication failed for user ..." if it had been using the "ldap" method.


Kind Regards

Hazel Smith
Database Administrator
Cromwell Tools

___________________________________________________ 
  
This email is intended for the named recipient. The information contained 
in it is confidential.  You should not copy it for any purposes, nor 
disclose its contents to any other party.  If you received this email 
in error, please notify the sender immediately via email, and delete it from
your computer. 
  
Any views or opinions presented are solely those of the author and do not 
necessarily represent those of the company. 
  
PCI Compliancy: Please note, we do not send or wish to receive banking, credit
or debit card information by email or any other form of communication.         

Please try our new on-line ordering system at http://www.cromwell.co.uk/ice

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900
__________________________________________________


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux