rad_getpwnam() now uses strNcopy() and sizeof(), instead
authoraland <aland>
Wed, 29 Sep 1999 16:28:15 +0000 (16:28 +0000)
committeraland <aland>
Wed, 29 Sep 1999 16:28:15 +0000 (16:28 +0000)
commitc50ab8bb7ba353bd5ef1b8f59fbf97597b6123c4
tree1363eb5794e4d1eb06fa2022d3bd3e20109ccb3b
parentcb961760e7fedccab6872cadf2c931c1b432d0dd
rad_getpwnam() now uses strNcopy() and sizeof(), instead
of hard-coded lengths.  The source should be audited in general
for this sort of problem...

new functions: rad_get_username() and rad_put_username().
The intent is to canonicalize the get/set of username hacking.
e.g. NT_DOMAIN_HACK, JETSTREAM_HACK, Prefix, and Suffix ALL should
eventually use these functions to get/set the username.
src/include/radiusd.h
src/main/util.c