Unix Technical Forum

Another kerberos patch

This is a discussion on Another kerberos patch within the Pgsql Patches forums, part of the PostgreSQL category; --> If a con <<krbhost.patch>> nection is attempted with kerberos 5 authentication without specifying a hostname (using hostaddr), libpq will ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:10 AM
Magnus Hagander
 
Posts: n/a
Default Another kerberos patch

If a con <<krbhost.patch>> nection is attempted with kerberos 5
authentication without specifying a hostname (using hostaddr), libpq
will crash in the kerberos libraries. Incidentally, this is the kind of
connection string pgAdmin3 uses...
(There is a comment in fe-connect.c that says the hostname has to be set
if we want to use kerberos, but there is no check for it)

Error affects both win32 and unix. It may not always produce a crash,
but it's always incorrect.

Attach patch checks that hostname is specified.

Please apply to both 8.0.X and 8.1.

//Magnus


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com