{
    "mode": "man",
    "parameter": "rpc_gss_get_principal_name",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/rpc_gss_get_principal_name/3/json",
    "generated": "2026-06-02T14:24:40Z",
    "synopsis": "#include <rpc/rpcsecgss.h>\nboolt\nrpcgssgetprincipalname(rpcgssprincipalt *principal, const char *mech, const char *name,\nconst char *node, const char *domain);",
    "sections": {
        "NAME": {
            "content": "rpcgssgetprincipalname — Get a principal name\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <rpc/rpcsecgss.h>\n\nboolt\nrpcgssgetprincipalname(rpcgssprincipalt *principal, const char *mech, const char *name,\nconst char *node, const char *domain);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This function can be used to generate a client principal name from various strings.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "principal  If the principal is created successfully, *principal will be set to point at the new\nprincipal in GSS-API exported name form\n\nmech       The name of the mechanism for this principal\n\nname       The name part of the principal\n\nnode       If non-null, the hostname or instance part of the principal\n\ndomain     If non-null, the domain or realm part of the principal\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "Returns TRUE if the principal was created or FALSE otherwise\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The rpcgssgetprincipalname() function is part of libtirpc.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpc(3), gssapi(3), gssexportname(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": "rpcgssgetprincipalname — Get a principal name",
    "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": "gssexportname",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/gssexportname/3/json"
        },
        {
            "name": "rpcsecgss",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsecgss/3/json"
        }
    ]
}