MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Simple Authentication Security Layer Library Functions
                            saslserveruserdbcheckpasst(3SASL)



NAME
     saslserveruserdbcheckpasst - plaintext password  verifi-
     cation callback function

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

     int saslsaslserveruserdbcheckpasst(saslconnt *conn, void *context,
          const char *user, const char *pass, unsigned passlen, struct propctx *propctx);


DESCRIPTION
     Use the saslsaslserveruserdbcheckpasst() callback func-
     tion  to  verify  a  plaintext password against the callback
     supplier's user  database.  Verification  allows  additional
     ways to encode the userPassword property.

PARAMETERS
     conn       The SASL connection context.


     context    The context from the callback record.


     user       A null-terminated user name with user@realm  syn-
                tax.


     pass       The password to  check.  This  string  cannot  be
                null-terminated.


     passlen    The length of pass.


     propctx    The property context to fill  in  with  userPass-
                word.


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

ERORS
     SASLOK    The call to saslserveruserdbcheckpasst()  was
                successful.





SunOS 5.11          Last change: 27 Oct 2003                    1






Simple Authentication Security Layer Library Functions
                            saslserveruserdbcheckpasst(3SASL)



     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), attributes(5)

































SunOS 5.11          Last change: 27 Oct 2003                    2






Simple Authentication Security Layer Library Functions
                            saslserveruserdbcheckpasst(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 ™