HUE-7127 [backend] Fix for Python requests Kerberos/GSSAPI authentication library fails to authenticate kerberos requests to the same destination host.

Review Request #11355 — Created Aug. 14, 2017 and submitted

ranade
hue
master
HUE-7127
hue
enricoberti, jennykim, jgauthier, johan, krish, ranade, romain, subrata, weixia, yingc
commit 7dc42af7b0182091da00c1b93d14ea3a60a7b5b7
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Mon Aug 14 18:38:34 2017 -0700

    HUE-7127 [backend] Fix for Python requests Kerberos/GSSAPI authentication library fails to authenticate kerberos requests to the same destination host.
    
    current python request Kerberos library fails generating the GSSAPI authentication token with kerberos for the host which run multiple kerberised services on different port. This code change fixes the limitation.
    
    Testing Done:
    - Manual testing
      - using multiple load generator scripts
    - Tested on different cluster with Python 2.6 and Python 2.7

:100644 100644 f361279... 0151610... M	desktop/core/ext-py/requests-kerberos-0.6.1/requests_kerberos/kerberos_.py


  • 0
  • 0
  • 1
  • 3
  • 4
Description From Last Updated
romain
  1. Great one!

    Small comments on Python styling.

  2. nit: spaces

    host, port, threadid

  3. Should we move this to a _helper method to avoid the duplication?

  4. 
      
ranade
romain
  1. Great!

  2. 
      
ranade
Review request changed

Status: Closed (submitted)

Loading...