s3: Same fix as 8576256, this time for fgetxattr
[Samba/gbeck.git] / auth / credentials / credentials_samba3.c
blobd742a0a498419c442de35a18f7f205fbc45dd8c2
1 /*
2 Unix SMB/CIFS implementation.
4 Handle user credentials (shim to allow samba3 to build)
6 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2011
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "includes.h"
23 #include "auth/credentials/credentials.h"
25 /* These dummy functions are required only to allow the rest of the
26 * code to compile when we are in the s3 autoconf build system */
28 _PUBLIC_ void cli_credentials_invalidate_ccache(struct cli_credentials *cred,
29 enum credentials_obtained obtained)
31 return;
34 _PUBLIC_ int cli_credentials_set_ccache(struct cli_credentials *cred,
35 struct loadparm_context *lp_ctx,
36 const char *name,
37 enum credentials_obtained obtained,
38 const char **error_string)
40 DEBUG(0, ("cli_credentials_set_ccache is unimplemented in the autoconf build\n"));
41 return EINVAL;
44 _PUBLIC_ NTSTATUS cli_credentials_set_machine_account(struct cli_credentials *cred,
45 struct loadparm_context *lp_ctx)
47 DEBUG(0, ("cli_credentials_set_machine_account is unimplemented in the autoconf build\n"));
48 return NT_STATUS_CANT_ACCESS_DOMAIN_INFO;