MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Simple Authentication Security Layer Library Functions
                                                sasllogt(3SASL)



NAME
     sasllogt - the SASL logging callback function

SYNOPSIS
     cc [ flag ... ] file ... -lsasl   [ library ... ]
     #include 

     int sasllogt(void *context, int level, const char *message);


DESCRIPTION
     Use the sasllogt() function to log warning and error  mes-
     sages  from  the  SASL  library.  syslog(3C) is used, unless
     another logging function is specified.

PARAMETERS
     context    The logging context from the callback record.


     level      The logging  level.  Possible  values  for  level
                include:

                SASLOGNONE     Do not log anything.


                SASLOGER      Log unusual errors. This is the
                                  default log level.


                SASLOGFAIL     Log     all      authentication
                                  failures.


                SASLOGWARN     Log non-fatal warnings.


                SASLOGNOTE     Log  non-fatal  warnings  (more
                                  verbose than SASLOGWARN).


                SASLOGDEBUG    Log  non-fatal  warnings  (more
                                  verbose than SASLOGNOTE).


                SASLOGTRACE    Log traces of  internal  proto-
                                  cols.


                SASLOGPAS     Log traces of  internal  proto-
                                  cols, including passwords.




SunOS 5.11          Last change: 27 Oct 2003                    1






Simple Authentication Security Layer Library Functions
                                                sasllogt(3SASL)



     message    The message to log


RETURN VALUES
     Like other SASL callback functions, sasllogt() returns  an
     integer  that corresponds to a SASL error code. See 
     for a complete list of SASL error codes.

ERORS
     SASLOK    The call to sasllogt() was successful.



     See saslerrors(3SASL) for information on SASL error codes.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWlibsasl                 
    
     Interface Stability          Evolving                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     saslerrors(3SASL), syslog(3C), attributes(5)




















SunOS 5.11          Last change: 27 Oct 2003                    2






Simple Authentication Security Layer Library Functions
                                                sasllogt(3SASL)






















































SunOS 5.11          Last change: 27 Oct 2003                    3






OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™