@@ -507,7 +507,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
507507
508508 if ((PeerCred == CUPSD_PEERCRED_ROOTONLY || httpGetState (con -> http ) == HTTP_STATE_PUT_RECV ) && strcmp (authorization + 9 , "root" ))
509509 {
510- cupsdLogClient (con , CUPSD_LOG_INFO , "User \"%s\" is not allowed to use peer credentials." , authorization + 9 );
510+ cupsdLogClient (con , CUPSD_LOG_ERROR , "User \"%s\" is not allowed to use peer credentials." , authorization + 9 );
511511 return ;
512512 }
513513
@@ -826,7 +826,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
826826
827827 if (!* authorization )
828828 {
829- cupsdLogClient (con , CUPSD_LOG_DEBUG2 , "No authentication data specified." );
829+ cupsdLogClient (con , CUPSD_LOG_ERROR , "No authentication data specified." );
830830 return ;
831831 }
832832
@@ -863,7 +863,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
863863
864864 if (GSS_ERROR (major_status ))
865865 {
866- cupsdLogGSSMessage (CUPSD_LOG_DEBUG , major_status , minor_status , "[Client %d] Error accepting GSSAPI security context." , con -> number );
866+ cupsdLogGSSMessage (CUPSD_LOG_ERROR , major_status , minor_status , "[Client %d] Error accepting GSSAPI security context." , con -> number );
867867
868868 if (context != GSS_C_NO_CONTEXT )
869869 gss_delete_sec_context (& minor_status , & context , GSS_C_NO_BUFFER );
@@ -877,15 +877,15 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
877877 */
878878
879879 if (major_status == GSS_S_CONTINUE_NEEDED )
880- cupsdLogGSSMessage (CUPSD_LOG_DEBUG , major_status , minor_status , "[Client %d] Credentials not complete." , con -> number );
880+ cupsdLogGSSMessage (CUPSD_LOG_ERROR , major_status , minor_status , "[Client %d] Credentials not complete." , con -> number );
881881 else if (major_status == GSS_S_COMPLETE )
882882 {
883883 major_status = gss_display_name (& minor_status , client_name ,
884884 & output_token , NULL );
885885
886886 if (GSS_ERROR (major_status ))
887887 {
888- cupsdLogGSSMessage (CUPSD_LOG_DEBUG , major_status , minor_status , "[Client %d] Error getting username." , con -> number );
888+ cupsdLogGSSMessage (CUPSD_LOG_ERROR , major_status , minor_status , "[Client %d] Error getting username." , con -> number );
889889 gss_release_name (& minor_status , & client_name );
890890 gss_delete_sec_context (& minor_status , & context , GSS_C_NO_BUFFER );
891891 return ;
0 commit comments