summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-31 12:30:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:07 -0500
commite1b117719602f8d52228e63c50021db72f629515 (patch)
treecfd17ca8f8e33e5375e5750afc4d9f9834d1bccb /source3
parent56766b1f3ed8463a6a5c07658b0c350e4942bc9d (diff)
downloadsamba-e1b117719602f8d52228e63c50021db72f629515.tar.gz
samba-e1b117719602f8d52228e63c50021db72f629515.tar.bz2
samba-e1b117719602f8d52228e63c50021db72f629515.zip
r24104: fix the build, sorry...
metze (This used to be commit a5e1f9fd293fab26d664a72ee652eb8ca72128b7)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/sasl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index fa9afd7869..5c4006e769 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -126,6 +126,7 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads)
struct berval cred, *scred = NULL;
int rc;
NTSTATUS nt_status;
+ ADS_STATUS status;
int turn = 1;
uint32 features = 0;
@@ -253,7 +254,7 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads)
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 @@ static ADS_STATUS ads_sasl_spnego_gsskrb5_bind(ADS_STRUCT *ads, const gss_name_t
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 @@ static ADS_STATUS ads_sasl_gssapi_do_bind(ADS_STRUCT *ads, const gss_name_t serv
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;
}