PostgreSQL Access 이야기
외부에서 접속이 안돼 ~ 살려줘 #서치 #postgresql #pg_hba
PostgreSQL을 설치하고 나서 가장 어려웠던 점...
MySQL과 비교하면.. host, user table …
괄호로 둘러싸인 세상으로 표시 … orcl
postgresql은 pg_hba.conf!!
connection location database name
user ip address
auth method
connection location
local, host, hostssl, hostnossl
database name or
replication
ip address ipv4 a, b, c mask
ipv6 mask
trust reject md5
password (trusted network) gss(GSSAPI) sspi(SSPI)
ident (operating system) peer(operating system)
ldap radius cert
pam(system available) bsd
gss(GSSAPI) - only tcp/ip
Industry-standard protocol(RFC 2743) 서버 설치시 활성화해야 사용 가능함
sspi - only windows
Windows Technology for secure authentication with single sign-on
negotiate module enable
ident
ident server using, port 113 접근 제어보다 식별에만 사용
ldap
Best User Mapping LDAP - Active Directory, Apache LDAP, OpenLDAP ..
TLS Support!
radius
1991 Server Access Authentication Developer Company Livingston Enterprises, Inc
After: IETF Standard 2865
cert
SSL 인증서 기반 접속
pam(system available)
Pluggable Authentication Modules 주로 Linux .. Pam
bsd
username/password validation check Now: openbsd!!
$PGDATA/postgresql.conf
listen_address=‘*’ 어떤 경로에서 바인딩 하고 있을까를
결정해야 한다.