krb5_set_default_realm - Override the default realm for the specified context. — MIT Kerberos Documentation

# MIT Kerberos Documentation

Contents | previous | next | index | Search | feedback

# krb5_set_default_realm - Override the default realm for the specified context.

krb5_error_code krb5_set_default_realm(krb5_context context, const char *lrealm)

param:

  [in] context - Library context

  [in] lrealm - Realm name for the default realm

retval:

  - 0 Success

return:

  - Kerberos error codes

If lrealm is NULL, clear the default realm setting.