pcp
[Top] [All Lists]

pcp-updates: auth

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp-updates: auth
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 26 Jul 2013 04:48:21 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: t7F2x0vLYB8HCKUGNSlzmZf3RtTa6Q==
Thread-topic: pcp-updates: auth
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 src/libpcp/src/context.c       |    1 -
 src/libpcp/src/secureconnect.c |   20 ++++++++++----------
 src/libpcp/src/spec.c          |    4 ----
 3 files changed, 10 insertions(+), 15 deletions(-)

commit 16362ac6928c01e1445ec96fa6daf85f91329caf
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jul 26 17:23:11 2013 +1000

    Fix SASL related memory leaks, sort out authname mapping
    
    Re-read a bunch of SASL documentation, and performed further
    testing on differences between authname and username.  I now
    am led to believe in our scenario these really can and should
    be the same thing, so they are now mapped.
    
    Further, discovered we need to manage all of our own memory,
    including the results returned from callbacks.  We can manage
    this feat by always tracking values, including those supplied
    by the user, inside the attributes hash.  This memory is then
    freed correctly at the end of the connection.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp-updates: auth, Nathan Scott <=