sasl_checkpass(3) SASL man pages sasl_checkpass(3)NAME
sasl_checkpass - Check a plaintext password
SYNOPSIS
#include <sasl/sasl.h>
int sasl_checkpass(sasl_conn_t *conn,
const char *user,
unsigned userlen,
const char *pass,
unsigned passlen);
DESCRIPTION
sasl_checkpass() will check a plaintext password. This is needed for protocols that had a login method before SASL (for example the LOGIN
command in IMAP). The password is checked with the pwcheck_method See sasl_callbacks(3) for information on how this parameter is set.
RETURN VALUE
sasl_checkpass returns an integer which corresponds to one of the following codes. SASL_OK indicates that the authentication is complete.
All other return codes indicate errors and should either be handled or the authentication session should be quit. See sasl_errors(3) for
meanings of return codes.
CONFORMING TO
RFC 4422
SEE ALSO sasl(3), sasl_errors(3), sasl_callbacks(3), sasl_setpass(3)SASL 10 July 2001 sasl_checkpass(3)
Check Out this Related Man Page
sasl_checkpass(3) SASL man pages sasl_checkpass(3)NAME
sasl_checkpass - Check a plaintext password
SYNOPSIS
#include <sasl/sasl.h>
int sasl_checkpass(sasl_conn_t *conn,
const char *user,
unsigned userlen,
const char *pass,
unsigned passlen);
DESCRIPTION
sasl_checkpass() will check a plaintext password. This is needed for protocols that had a login method before SASL (for example the LOGIN
command in IMAP). The password is checked with the pwcheck_method See sasl_callbacks(3) for information on how this parameter is set.
RETURN VALUE
sasl_checkpass returns an integer which corresponds to one of the following codes. SASL_OK indicates that the authentication is complete.
All other return codes indicate errors and should either be handled or the authentication session should be quit. See sasl_errors(3) for
meanings of return codes.
CONFORMING TO
RFC 4422
SEE ALSO sasl(3), sasl_errors(3), sasl_callbacks(3), sasl_setpass(3)SASL 10 July 2001 sasl_checkpass(3)
I have the following piece of codes. Please explain it to me in great detail how are these codes working.
1. #include <stdio.h>
int main(){
int x;
x=0;
while (x<2 && fork()){
if (!fork()) execlp("echo","x++","x",0);
x++;
system("echo x+x");
}
}
2.
#include <stdio.h>
int i;... (1 Reply)
Experts,
Is there any way to know which authentication method the user used to login into the box? I mean, is possible to identify if an active user had logged using keys or password for example?
Let me clarify: we have a script that we want to allow users to execute only if they have used... (2 Replies)
Using below below command i'm able to connect or authenticate server, In below command password contains special characters
sshpass -v -p 'ASJBA%hs76)#' ssh -q -o ConnectTimeout=5 hostname
But If I pass password as a variable I'm not able to connect or authenticate server, can you please help... (1 Reply)