SASL_CANON_USER_T - Online Linux Manual PageSection : 3
Updated : November 08, 2018
Source : 2.1.27
Note : Cyrus SASL

NAMEsasl_canon_user_t − Cyrus SASL documentation

SYNOPSIS#include <sasl/sasl.h> int sasl_canon_user_t(sasl_conn_t *conn, void *context, const char *user, unsigned ulen, unsigned flags, const char *user_realm, char *out_user, unsigned out_umax, unsigned *out_ulen)

DESCRIPTION int sasl_canon_user_t(sasl_conn_t *conn,  void *context,  const char *user,  unsigned ulen,  unsigned flags,  const char *user_realm,  char *out_user,  unsigned out_umax,  unsigned *out_ulen)  sasl_canon_user_t is the callback for an application−supplied user canonicalization function. This function is subject to the requirements that all user canonicalization functions are: It must copy the result into the output buffers, but the output buffers and the input buffers may be the same. Parameters   • context – context from the callback record • user – un−canonicalized username • ulen – length of user • flags – Either SASL_CU_AUTHID (indicating the authentication ID is being canonicalized) or SASL_CU_AUTHZID (indicating the authorization ID is to be canonicalized) or a bitwise OR of the the two. • user_realm – Realm of authentication. • out_user – The output buffer for the canonicalized username • out_umax – Maximum length for out_user • out_ulen – Actual length of out_user Returns  SASL_OK indicates success. See sasl_errors(3) for a full list of SASL error codes.

CONFORMING TO­RFC 4422

SEE ALSOsasl(3), sasl_errors(3), sasl_callbacks(3)

AUTHORThe Cyrus Team

COPYRIGHT1993-2016, The Cyrus Team
0
Johanes Gumabo
Data Size   :   9,976 byte
man-sasl_canon_user_t.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 236,379
Visitor ID   :     :  
Visitor IP   :   3.22.68.29   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.