MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Simple Authentication Security Layer Library Functions
                              saslserveruserdbsetpasst(3SASL)



NAME
     saslserveruserdbsetpasst - user database plaintext pass-
     word setting callback function

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

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


DESCRIPTION
     Use the saslserveruserdbsetpasst() callback function  to
     store  or  change  a  a  plaintext  password in the callback
     supplier's user database.

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    Auxiliary properties. The value of propctx is not
                stored.


     flags      See                          saslsetpass(3SASL).
                saslserveruserdbsetpasst()   uses   the  same
                flags that are passed to saslsetpass().


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




SunOS 5.11          Last change: 27 Oct 2003                    1






Simple Authentication Security Layer Library Functions
                              saslserveruserdbsetpasst(3SASL)



ERORS
     SASLOK    The call  to  saslserveruserdbsetpasst()  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), saslsetpass(3SASL), attributes(5)



























SunOS 5.11          Last change: 27 Oct 2003                    2






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