auth: Return SuperUser identity for localauth
authorAndrew Deason <adeason@sinenomine.net>
Tue, 7 Dec 2010 19:31:36 +0000 (13:31 -0600)
committerDerrick Brashear <shadow@dementia.org>
Thu, 9 Dec 2010 12:52:37 +0000 (04:52 -0800)
commit4dd9bc32a3846cd97a3b0f9cae5af049ae87dd0a
treedb76218dab97926e850328b5ab268e2148d39adb
parentc1b71c4e7b4575d6a5b00214bc42a682fc7286eb
auth: Return SuperUser identity for localauth

The caller expects identity to be populated when we return 1. So for
localauth, give it an identity. Don't set uname, and in fact, move the
uname declaration so that it is clear that it's not used for most of
this function.

Change-Id: I4dcd466b25f578362290ed2fc65b5bd6e23a91e4
Reviewed-on: http://gerrit.openafs.org/3475
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/auth/userok.c