Author: metze Date: 2007-07-31 12:30:37 +0000 (Tue, 31 Jul 2007) New Revision: 24104
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24104 Log: fix the build, sorry... metze Modified: branches/SAMBA_3_2/source/libads/sasl.c Changeset: Modified: branches/SAMBA_3_2/source/libads/sasl.c =================================================================== --- branches/SAMBA_3_2/source/libads/sasl.c 2007-07-31 12:27:25 UTC (rev 24103) +++ branches/SAMBA_3_2/source/libads/sasl.c 2007-07-31 12:30:37 UTC (rev 24104) @@ -126,6 +126,7 @@ struct berval cred, *scred = NULL; int rc; NTSTATUS nt_status; + ADS_STATUS status; int turn = 1; uint32 features = 0; @@ -253,7 +254,7 @@ ads->ldap.in.max = 0x0FFFFFFF; status = ads_setup_sasl_wrapping(ads, &ads_sasl_ntlmssp_ops, ntlmssp_state); if (!ADS_ERR_OK(status)) { - DEBUG(0, "ads_setup_sasl_wrapping() failed: %s\n", + DEBUG(0, ("ads_setup_sasl_wrapping() failed: %s\n", ads_errstr(status))); ntlmssp_end(&ntlmssp_state); return status; @@ -590,7 +591,7 @@ ads->ldap.in.max = max_msg_size; status = ads_setup_sasl_wrapping(ads, &ads_sasl_gssapi_ops, context_handle); if (!ADS_ERR_OK(status)) { - DEBUG(0, "ads_setup_sasl_wrapping() failed: %s\n", + DEBUG(0, ("ads_setup_sasl_wrapping() failed: %s\n", ads_errstr(status))); goto failed; } @@ -1072,7 +1073,7 @@ ads->ldap.in.max = max_msg_size; status = ads_setup_sasl_wrapping(ads, &ads_sasl_gssapi_ops, context_handle); if (!ADS_ERR_OK(status)) { - DEBUG(0, "ads_setup_sasl_wrapping() failed: %s\n", + DEBUG(0, ("ads_setup_sasl_wrapping() failed: %s\n", ads_errstr(status))); goto failed; }