{
    "mode": "man",
    "parameter": "RPC_GSS_GETCRED",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/RPC_GSS_GETCRED/3/json",
    "generated": "2026-06-14T03:30:24Z",
    "synopsis": "#include <rpc/rpcsecgss.h>\nAUTH *\nrpcgssgetcred(struct svcreq *req, rpcgssrawcredt rcred, rpcgssucredt ucred,\nvoid cookie);",
    "sections": {
        "NAME": {
            "content": "rpcgssgetcred — Get authorization information for an RPC request\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <rpc/rpcsecgss.h>\n\nAUTH *\nrpcgssgetcred(struct svcreq *req, rpcgssrawcredt rcred, rpcgssucredt ucred,\nvoid cookie);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This function returns the RPCSECGSS authenticated credentials associated with an RPC request.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "req       The RPC request to query\n\nrcred     If non-null, *rcred is set to point at the raw credentials for this request\n\nucred     If non-null, *ucred is set to point at the corresponding unix credentials\n\ncookie    If non-null, *cookie is set to the cookie value returned by a callback function reg‐\nistered with rpcgsssetcallback()\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "Returns TRUE if successful, FALSE otherwise.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The rpcgssgetcred() function is part of libtirpc.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpc(3), gssapi(3), rpcgsssetcallback(3), rpcsecgss(3)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "This manual page was written by Doug Rabson <dfr@FreeBSD.org>.\n\nBSD                            January 26, 2010                            BSD",
            "subsections": []
        }
    },
    "summary": "rpcgssgetcred — Get authorization information for an RPC request",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "rpc",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpc/3/json"
        },
        {
            "name": "gssapi",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/gssapi/3/json"
        },
        {
            "name": "rpcgsssetcallback",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcgsssetcallback/3/json"
        },
        {
            "name": "rpcsecgss",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsecgss/3/json"
        }
    ]
}