diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-21 11:14:56 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-21 11:14:56 +0000 |
commit | 27ff0c047a22adafca95e05d8f799ecadfec8e4c (patch) | |
tree | 62e588b2b6f69cb9b875e2b7893ddfba31497bb9 /include/apr_user.h | |
parent | 0c6cf2eec5e149cc0b1217abdb4a507666c7f469 (diff) | |
download | libapr-27ff0c047a22adafca95e05d8f799ecadfec8e4c.tar.gz |
yank apr_get_user_passwd()
This function doesn't work on many/most current Unix boxes (think
"shadow") and the concept is not portable to many other platforms
either.
You just can't count on retrieving the password for a user, and even
when you can you can't count on the encryption method (if any).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61977 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_user.h')
-rw-r--r-- | include/apr_user.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/apr_user.h b/include/apr_user.h index 542f17625..3c70da037 100644 --- a/include/apr_user.h +++ b/include/apr_user.h @@ -161,16 +161,6 @@ APR_DECLARE(apr_status_t) apr_compare_groups(apr_gid_t left, apr_gid_t right); #define apr_compare_groups(left,right) ((left == right) ? APR_SUCCESS : APR_EMISMATCH) #endif -/** - * Get a password from the system, given a username. - * @param passwd The returned password - * @param username The username to get the password for - * @param p The pool to allocate out of. - * @deffunc apr_status_t apr_get_user_passwd(char **passwd, const char *username, apr_pool_t *p); - */ -APR_DECLARE(apr_status_t) apr_get_user_passwd(char **passwd, - const char *username, apr_pool_t *p); - #endif /* ! APR_HAS_USER */ #ifdef __cplusplus |