src/login-common/sasl-server.c
branchbranch_1_0
changeset 5449 6df077099f0b
parent 5217 a30ef30c8f8e
child 5458 73a3a6b1af36
     1.1 --- a/src/login-common/sasl-server.c	Tue Mar 27 01:27:32 2007 +0300
     1.2 +++ b/src/login-common/sasl-server.c	Mon Nov 05 20:23:32 2007 +0200
     1.3 @@ -130,14 +130,14 @@
     1.4  
     1.5  	mech = auth_client_find_mech(auth_client, mech_name);
     1.6  	if (mech == NULL) {
     1.7 -		sasl_server_auth_client_error(client,
     1.8 +		sasl_server_auth_failed(client,
     1.9  			"Unsupported authentication mechanism.");
    1.10  		return;
    1.11  	}
    1.12  
    1.13  	if (!client->secured && disable_plaintext_auth &&
    1.14  	    (mech->flags & MECH_SEC_PLAINTEXT) != 0) {
    1.15 -		sasl_server_auth_client_error(client,
    1.16 +		sasl_server_auth_failed(client,
    1.17  			"Plaintext authentication disabled.");
    1.18  		return;
    1.19  	}