]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r24104: fix the build, sorry...
authorStefan Metzmacher <metze@samba.org>
Tue, 31 Jul 2007 12:30:37 +0000 (12:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:07 +0000 (12:29 -0500)
metze
(This used to be commit a5e1f9fd293fab26d664a72ee652eb8ca72128b7)

source3/libads/sasl.c

index fa9afd7869946e34c4f4f37981f833593dcb306b..5c4006e7697e85ca1f992e878ef74e095ec7b1ff 100644 (file)
@@ -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;
                }