Revert "Attempt to fix the non-krb build"
authorVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:30:39 +0000 (16:30 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:30:39 +0000 (16:30 +0200)
This reverts commit 31d80a476701c89bf236997f2ab68bd2765579bd.

source/rpc_client/cli_pipe.c

index 7e381f24c9d72c0c6fc811ba080707be84875070..a3ad774ee3326bfbf2126ee068262a35e8bf839d 100644 (file)
@@ -2431,7 +2431,6 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
                                   const char *password,
                                   struct cli_pipe_auth_data **presult)
 {
-#ifdef HAVE_KRB5
        struct cli_pipe_auth_data *result;
 
        if ((username != NULL) && (password != NULL)) {
@@ -2478,9 +2477,6 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
  fail:
        TALLOC_FREE(result);
        return NT_STATUS_NO_MEMORY;
-#else
-       return NT_STATUS_NOT_SUPPORTED;
-#endif
 }
 
 /********************************************************************