| 1 | <!DOCTYPE html> |
| 2 | |
| 3 | <html lang="en" data-content_root="../../../"> |
| 4 | <head> |
| 5 | <meta charset="utf-8" /> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 7 | |
| 8 | <title>krb5_principal_compare_any_realm - Compare two principals ignoring realm components. — MIT Kerberos Documentation</title> |
| 9 | <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" /> |
| 10 | <link rel="stylesheet" type="text/css" href="../../../_static/agogo.css?v=879f3c71" /> |
| 11 | <link rel="stylesheet" type="text/css" href="../../../_static/kerb.css?v=6a0b3979" /> |
| 12 | <script src="../../../_static/documentation_options.js?v=6dbce55c"></script> |
| 13 | <script src="../../../_static/doctools.js?v=888ff710"></script> |
| 14 | <script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> |
| 15 | <link rel="author" title="About these documents" href="../../../about.html" /> |
| 16 | <link rel="index" title="Index" href="../../../genindex.html" /> |
| 17 | <link rel="search" title="Search" href="../../../search.html" /> |
| 18 | <link rel="copyright" title="Copyright" href="../../../copyright.html" /> |
| 19 | <link rel="next" title="krb5_principal_compare_flags - Compare two principals with additional flags." href="krb5_principal_compare_flags.html" /> |
| 20 | <link rel="prev" title="krb5_principal_compare - Compare two principals." href="krb5_principal_compare.html" /> |
| 21 | </head><body> |
| 22 | <div class="header-wrapper"> |
| 23 | <div class="header"> |
| 24 | |
| 25 | |
| 26 | <h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1> |
| 27 | |
| 28 | <div class="rel"> |
| 29 | |
| 30 | <a href="../../../index.html" title="Full Table of Contents" |
| 31 | accesskey="C">Contents</a> | |
| 32 | <a href="krb5_principal_compare.html" title="krb5_principal_compare - Compare two principals." |
| 33 | accesskey="P">previous</a> | |
| 34 | <a href="krb5_principal_compare_flags.html" title="krb5_principal_compare_flags - Compare two principals with additional flags." |
| 35 | accesskey="N">next</a> | |
| 36 | <a href="../../../genindex.html" title="General Index" |
| 37 | accesskey="I">index</a> | |
| 38 | <a href="../../../search.html" title="Enter search criteria" |
| 39 | accesskey="S">Search</a> | |
| 40 | <a href="mailto:[email protected]?subject=Documentation__krb5_principal_compare_any_realm - Compare two principals ignoring realm components.">feedback</a> |
| 41 | </div> |
| 42 | </div> |
| 43 | </div> |
| 44 | |
| 45 | <div class="content-wrapper"> |
| 46 | <div class="content"> |
| 47 | <div class="document"> |
| 48 | |
| 49 | <div class="documentwrapper"> |
| 50 | <div class="bodywrapper"> |
| 51 | <div class="body" role="main"> |
| 52 | |
| 53 | <section id="krb5-principal-compare-any-realm-compare-two-principals-ignoring-realm-components"> |
| 54 | <h1>krb5_principal_compare_any_realm - Compare two principals ignoring realm components.<a class="headerlink" href="#krb5-principal-compare-any-realm-compare-two-principals-ignoring-realm-components" title="Link to this heading">¶</a></h1> |
| 55 | <dl class="c function"> |
| 56 | <dt class="sig sig-object c" id="c.krb5_principal_compare_any_realm"> |
| 57 | <a class="reference internal" href="../types/krb5_boolean.html#c.krb5_boolean" title="krb5_boolean"><span class="n"><span class="pre">krb5_boolean</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">krb5_principal_compare_any_realm</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="../types/krb5_context.html#c.krb5_context" title="krb5_context"><span class="n"><span class="pre">krb5_context</span></span></a><span class="w"> </span><span class="n"><span class="pre">context</span></span>, <a class="reference internal" href="../types/krb5_const_principal.html#c.krb5_const_principal" title="krb5_const_principal"><span class="n"><span class="pre">krb5_const_principal</span></span></a><span class="w"> </span><span class="n"><span class="pre">princ1</span></span>, <a class="reference internal" href="../types/krb5_const_principal.html#c.krb5_const_principal" title="krb5_const_principal"><span class="n"><span class="pre">krb5_const_principal</span></span></a><span class="w"> </span><span class="n"><span class="pre">princ2</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.krb5_principal_compare_any_realm" title="Link to this definition">¶</a><br /></dt> |
| 58 | <dd></dd></dl> |
| 59 | |
| 60 | <dl class="field-list"> |
| 61 | <dt class="field-odd">param<span class="colon">:</span></dt> |
| 62 | <dd class="field-odd"><p><strong>[in]</strong> <strong>context</strong> - Library context</p> |
| 63 | <p><strong>[in]</strong> <strong>princ1</strong> - First principal</p> |
| 64 | <p><strong>[in]</strong> <strong>princ2</strong> - Second principal</p> |
| 65 | </dd> |
| 66 | </dl> |
| 67 | <dl class="field-list simple"> |
| 68 | <dt class="field-odd">retval<span class="colon">:</span></dt> |
| 69 | <dd class="field-odd"><ul class="simple"> |
| 70 | <li><p>TRUE if the principals are the same; FALSE otherwise</p></li> |
| 71 | </ul> |
| 72 | </dd> |
| 73 | </dl> |
| 74 | <p>Similar to krb5_principal_compare(), but do not compare the realm components of the principals.</p> |
| 75 | </section> |
| 76 | |
| 77 | |
| 78 | <div class="clearer"></div> |
| 79 | </div> |
| 80 | </div> |
| 81 | </div> |
| 82 | </div> |
| 83 | <div class="sidebar"> |
| 84 | |
| 85 | <h2>On this page</h2> |
| 86 | <ul> |
| 87 | <li><a class="reference internal" href="#">krb5_principal_compare_any_realm - Compare two principals ignoring realm components.</a></li> |
| 88 | </ul> |
| 89 | |
| 90 | <br/> |
| 91 | <h2>Table of contents</h2> |
| 92 | <ul class="current"> |
| 93 | <li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li> |
| 94 | <li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li> |
| 95 | <li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current"> |
| 96 | <li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li> |
| 97 | <li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li> |
| 98 | <li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li> |
| 99 | <li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li> |
| 100 | <li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li> |
| 101 | <li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current"> |
| 102 | <li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 API</a></li> |
| 103 | <li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li> |
| 104 | <li class="toctree-l3"><a class="reference internal" href="../macros/index.html">krb5 simple macros</a></li> |
| 105 | </ul> |
| 106 | </li> |
| 107 | </ul> |
| 108 | </li> |
| 109 | <li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li> |
| 110 | <li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li> |
| 111 | <li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li> |
| 112 | <li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li> |
| 113 | <li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li> |
| 114 | <li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li> |
| 115 | <li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li> |
| 116 | <li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li> |
| 117 | </ul> |
| 118 | |
| 119 | <br/> |
| 120 | <h4><a href="../../../index.html">Full Table of Contents</a></h4> |
| 121 | <h4>Search</h4> |
| 122 | <form class="search" action="../../../search.html" method="get"> |
| 123 | <input type="text" name="q" size="18" /> |
| 124 | <input type="submit" value="Go" /> |
| 125 | <input type="hidden" name="check_keywords" value="yes" /> |
| 126 | <input type="hidden" name="area" value="default" /> |
| 127 | </form> |
| 128 | |
| 129 | </div> |
| 130 | <div class="clearer"></div> |
| 131 | </div> |
| 132 | </div> |
| 133 | |
| 134 | <div class="footer-wrapper"> |
| 135 | <div class="footer" > |
| 136 | <div class="right" ><i>Release: 1.22.1</i><br /> |
| 137 | © <a href="../../../copyright.html">Copyright</a> 1985-2025, MIT. |
| 138 | </div> |
| 139 | <div class="left"> |
| 140 | |
| 141 | <a href="../../../index.html" title="Full Table of Contents" |
| 142 | >Contents</a> | |
| 143 | <a href="krb5_principal_compare.html" title="krb5_principal_compare - Compare two principals." |
| 144 | >previous</a> | |
| 145 | <a href="krb5_principal_compare_flags.html" title="krb5_principal_compare_flags - Compare two principals with additional flags." |
| 146 | >next</a> | |
| 147 | <a href="../../../genindex.html" title="General Index" |
| 148 | >index</a> | |
| 149 | <a href="../../../search.html" title="Enter search criteria" |
| 150 | >Search</a> | |
| 151 | <a href="mailto:[email protected]?subject=Documentation__krb5_principal_compare_any_realm - Compare two principals ignoring realm components.">feedback</a> |
| 152 | </div> |
| 153 | </div> |
| 154 | </div> |
| 155 | |
| 156 | </body> |
| 157 | </html> |