#ifndef __AUTH_AUTH_SAM_REPLY_H__
#define __AUTH_AUTH_SAM_REPLY_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2001 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* this file contains prototypes for functions that are private
-#ifndef __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__
-#define __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__
#include <stdlib.h>
static void
krb5_set = 1;
}
-#endif
-#ifndef __LIB_COMPRESSION_MSZIP_H__
-#define __LIB_COMPRESSION_MSZIP_H__
/* mszip decompression - based on cabextract.c code from
* Stuart Caie
*
#define DECR_INPUT (5)
#define DECR_OUTPUT (6)
int ZIPdecompress(struct decomp_state *decomp_state, DATA_BLOB *inbuf, DATA_BLOB *outbuf);
-#endif
#ifndef ARCFOUR_HEADER_H
#define ARCFOUR_HEADER_H
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "../lib/util/data_blob.h"
struct arcfour_state {
-#ifndef __LIB_CRYPTO_CRC32_H__
-#define __LIB_CRYPTO_CRC32_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
uint32_t crc32_calc_buffer(const uint8_t *buf, size_t size);
-#endif
-#ifndef __LIB_CRYPTO_MD4_H__
-#define __LIB_CRYPTO_MD4_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
void mdfour(uint8_t *out, const uint8_t *in, int n);
-#endif
#define HEADER_MD5_H
#endif
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
struct MD5Context {
uint32_t buf[4];
uint32_t bits[2];
-#ifndef __LIB_REPLACE_HDR_REPLACE_H__
-#define __LIB_REPLACE_HDR_REPLACE_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- Winbind daemon for ntdom nss module
-
- Copyright (C) Tim Potter 2000
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* this is a replacement header for a missing system header */
#include "replace.h"
-#endif
#ifndef __LIB_REPLACE_REPLACE_TEST_H__
#define __LIB_REPLACE_REPLACE_TEST_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
bool torture_local_replace(struct torture_context *ctx);
int libreplace_test_strptime(void);
int test_readdir_os2_delete(void);
/*
Unix SMB/CIFS implementation.
- (C) 2001 Samba Team.
-
Readline wrappers
** NOTE! The following LGPL license applies to the replace
#ifndef _WIN32_REPLACE_H
#define _WIN32_REPLACE_H
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
#ifndef __LIB_TALLOC_TALLOC_TESTSUITE_H__
#define __LIB_TALLOC_TALLOC_TESTSUITE_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
struct torture_context;
bool torture_local_talloc(struct torture_context *tctx);
Unix SMB/CIFS implementation.
DATA BLOB
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
Unix SMB/CIFS implementation.
time utility functions
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
#ifndef __LIB_UTIL_UTIL_LDB_H__
#define __LIB_UTIL_UTIL_LDB_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
struct ldb_dn;
/* The following definitions come from lib/util/util_ldb.c */
#ifndef _____LIB_UTIL_UTIL_TDB_H__
#define _____LIB_UTIL_UTIL_TDB_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/***************************************************************
Make a TDB_DATA and keep the const warning in one place
****************************************************************/
#ifndef __LIB_UTIL_WRAP_XATTR_H__
#define __LIB_UTIL_WRAP_XATTR_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
ssize_t wrap_fgetxattr(int fd, const char *name, void *value, size_t size);
ssize_t wrap_getxattr(const char *path, const char *name, void *value, size_t size);
int wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags);
/*
samba -- Unix SMB/CIFS implementation.
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
#ifndef _LIBCLI_AUTH_MSRPC_PARSE_H__
#define _LIBCLI_AUTH_MSRPC_PARSE_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
#ifndef _LIBCLI_AUTH_PROTO_H__
#define _LIBCLI_AUTH_PROTO_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
#ifndef __LIBCLI_LDAP_LDAP_NDR_H__
#define __LIBCLI_LDAP_LDAP_NDR_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "librpc/gen_ndr/ndr_misc.h"
char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value);
#ifndef _____LIBCLI_NBT_NBT_PROTO_H__
#define _____LIBCLI_NBT_NBT_PROTO_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
#ifndef _____LIBCLI_NDR_NETLOGON_PROTO_H__
#define _____LIBCLI_NDR_NETLOGON_PROTO_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
#ifndef _____LIBCLI_NETLOGON_PROTO_H__
#define _____LIBCLI_NETLOGON_PROTO_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
#ifndef __SMBREADLINE_H__
#define __SMBREADLINE_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
char *smb_readline(const char *prompt, void (*callback)(void),
char **(completion_fn)(const char *text, int start, int end));
const char *smb_readline_get_line_buffer(void);
Unix SMB/CIFS implementation.
Error handling code
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
#ifndef __LIBDS_COMMON_FLAG_MAPPING_H__
#define __LIBDS_COMMON_FLAG_MAPPING_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from flag_mapping.c */
uint32_t ds_acb2uf(uint32_t acb);
-#ifndef __LIBRPC_IDL_IDL_TYPES_H__
-#define __LIBRPC_IDL_IDL_TYPES_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#define STR_ASCII LIBNDR_FLAG_STR_ASCII
#define STR_LEN4 LIBNDR_FLAG_STR_LEN4
#define STR_SIZE4 LIBNDR_FLAG_STR_SIZE4
#define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
#define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE
-#endif
-#ifndef __LIBRPC_NDR_NDR_BACKUPKEY_H__
-#define __LIBRPC_NDR_NDR_BACKUPKEY_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
_PUBLIC_ enum ndr_err_code ndr_push_bkrp_access_check_v2(struct ndr_push *ndr, int ndr_flags, const struct bkrp_access_check_v2 *r);
_PUBLIC_ enum ndr_err_code ndr_pull_bkrp_access_check_v2(struct ndr_pull *ndr, int ndr_flags, struct bkrp_access_check_v2 *r);
-#endif
#ifndef __LIBRPC_NDR_NDR_COMPRESSION_H__
#define __LIBRPC_NDR_NDR_COMPRESSION_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
-#ifndef __LIBRPC_NDR_NDR_DNS_H__
-#define __LIBRPC_NDR_NDR_DNS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
void ndr_print_dns_string(struct ndr_print *ndr,
const char *name,
const char *s);
enum ndr_err_code ndr_pull_dns_res_rec(struct ndr_pull *ndr,
int ndr_flags,
struct dns_res_rec *r);
-#endif
#ifndef ___SPACE_SRC_SAMBA_SOURCES_SAMBA_GIT_SOURCE3____SOURCE4_LIBRPC_NDR_NDR_SPOOLSS_BUF_H__
#define ___SPACE_SRC_SAMBA_SOURCES_SAMBA_GIT_SOURCE3____SOURCE4_LIBRPC_NDR_NDR_SPOOLSS_BUF_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
#ifndef _NDR_TABLE_PROTO_H_
#define _NDR_TABLE_PROTO_H_
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
NTSTATUS ndr_table_register(const struct ndr_interface_table *table);
const char *ndr_interface_name(const struct GUID *uuid, uint32_t if_version);
int ndr_interface_num_calls(const struct GUID *uuid, uint32_t if_version);
-#ifndef __NSSWITCH_PAM_WINBIND_H__
-#define __NSSWITCH_PAM_WINBIND_H__
/* pam_winbind header file
(Solaris needs some macros from Linux for common PAM code)
- (C) Shirish Kalele 2000
-*/
-
-/*
- Unix SMB/CIFS implementation.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ Shirish Kalele 2000
*/
#include "../lib/replace/replace.h"
#endif
#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
#define TALLOC_P(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type)
-#endif
-#ifndef __NSSWITCH_WINBIND_CLIENT_H__
-#define __NSSWITCH_WINBIND_CLIENT_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "winbind_nss_config.h"
#include "winbind_struct_protocol.h"
#define winbind_on() \
(setenv(WINBINDD_DONT_ENV, "0", 1) == 0)
-#endif
-#ifndef __AUTH_PROTO_H__
-#define __AUTH_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Password and authentication handling
- *
- * Copyright (C) Andrew Tridgell 1992-2001
- * Copyright (C) Luke Kenneth Casson Leighton 1996-2000
- * Copyright (C) Jeremy Allison 1997-2001
- * Copyright (C) John H Terpsta 1999-2001
- * Copyright (C) Tim Potter 2000
- * Copyright (C) Andrew Bartlett 2001-2003
- * Copyright (C) Jelmer Vernooij 2002
- * Copyright (C) Rafal Szczesniak 2002
- * Copyright (C) Gerald Carter 2003
- * Copyright (C) Volker Lendecke 2006,2010
- * Copyright (C) Michael Adam 2007
- * Copyright (C) Dan Sledz 2009
- * Copyright (C) Simo Sorce 2010
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from auth/auth.c */
struct PAC_LOGON_INFO *logon_info,
bool mapped_to_guest,
struct auth_serversupplied_info **server_info);
-#endif
-#ifndef __GROUPDB_PROTO_H__
-#define __GROUPDB_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Group Mapping Database
- *
- * Copyright (C) Andrew Tridgell 1992-2006
- * Copyright (C) Jean François Micouleau 1998-2001
- * Copyright (C) Gerald Carter 2006
- * Copyright (C) Volker Lendecke 2006
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from groupdb/mapping.c */
/* The following definitions come from groupdb/mapping_tdb.c */
const struct mapping_backend *groupdb_tdb_init(void);
-#endif
#ifndef _INCLUDE_ADS_H_
#define _INCLUDE_ADS_H_
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/*
header for ads (active directory) library routines
-#ifndef __INCLUDE_KRB5_ENV_H__
-#define __INCLUDE_KRB5_ENV_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* Kerberos environment variable names */
#define KRB5_ENV_CCNAME "KRB5CCNAME"
-
-#endif
-#ifndef __INCLUDE_KRB5_PROTOS_H__
-#define __INCLUDE_KRB5_PROTOS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
struct PAC_DATA;
struct PAC_SIGNATURE_DATA;
DATA_BLOB *edata,
DATA_BLOB *edata_out);
bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_pac_data);
-#endif
#ifndef _MANGLE_H_
#define _MANGLE_H_
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/*
header for 8.3 name mangling interface
*/
#ifndef _HEADER_smb_krb5_h
#define _HEADER_smb_krb5_h
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */
/* this file uses DEPRECATED interfaces! */
#ifndef _SMB_LDAP_H
#define _SMB_LDAP_H
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#if HAVE_LBER_H
#include <lber.h>
#if defined(HPUX) && !defined(_LBER_TYPES_H)
-#ifndef __INTL_LANG_TDB_H__
-#define __INTL_LANG_TDB_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
/* The following definitions come from intl/lang_tdb.c */
const char *lang_msg(const char *msgid);
void lang_msg_free(const char *msgstr);
char *lang_tdb_current(void);
-#endif
-#ifndef __LIB_EVENTLOG_PROTO_H__
-#define __LIB_EVENTLOG_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Eventlog utility routines
- *
- * Copyright (C) Marcin Krzysztof Porwit 2005
- * Copyright (C) Brian Moran 2005
- * Copyright (C) Gerald (Jerry) Carter 2005
- * Copyright (C) Guenther Deschner 2009
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from lib/eventlog/eventlog.c */
ELOG_TDB *etdb,
DATA_BLOB *blob_p,
uint32_t *num_records_p);
-#endif
-#ifndef __LIB_ADMAP_CACHE_H__
-#define __LIB_ADMAP_CACHE_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * ID Mapping Cache
- *
- * Copyright (C) Volker Lendecke 2008
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
/* The following definitions come from lib/idmap_cache.c */
bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
bool idmap_cache_del_uid(uid_t uid);
bool idmap_cache_del_gid(gid_t gid);
bool idmap_cache_del_sid(const struct dom_sid *sid);
-#endif
-#ifndef __LIB_NETAPI_EXAMPLES_COMMON_H__
-#define __LIB_NETAPI_EXAMPLES_COMMON_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include <popt.h>
void popt_common_callback(poptContext con,
extern struct poptOption popt_common_netapi_examples[];
#define POPT_COMMON_LIBNETAPI_EXAMPLES { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_netapi_examples, 0, "Common samba netapi example options:", NULL },
-#endif
+
#ifndef __LIBNETAPI_LIBNETAPI__
#define __LIBNETAPI_LIBNETAPI__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
NET_API_STATUS NetJoinDomain(const char * server /* [in] [unique] */,
const char * domain /* [in] [ref] */,
const char * account_ou /* [in] [unique] */,
-#ifndef __LIB_PRIVILEGES_H__
-#define __LIB_PRIVILEGES_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "../libcli/security/privileges.h"
/* The following definitions come from lib/privileges.c */
NTSTATUS privilege_delete_account(const struct dom_sid *sid);
bool is_privileged_sid( const struct dom_sid *sid );
bool grant_all_privileges( const struct dom_sid *sid );
-#endif
-#ifndef __LIBADS_ADS_LDAP_PROTOS_H__
-#define __LIBADS_ADS_LDAP_PROTOS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/*
* Prototypes for ads
*/
TALLOC_CTX *mem_ctx,
char ***ous,
size_t *num_ous);
-#endif
-#ifndef __LIBADS_ADS_PROTO_H__
-#define __LIBADS_ADS_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * ads (active directory) utility library
- *
- * Copyright (C) Andrew Bartlett 2001
- * Copyright (C) Andrew Tridgell 2001
- * Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001
- * Copyright (C) Alexey Kotovich 2002
- * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2002-2003
- * Copyright (C) Luke Howard 2003
- * Copyright (C) Guenther Deschner 2003-2008
- * Copyright (C) Rakesh Patel 2004
- * Copyright (C) Dan Perry 2004
- * Copyright (C) Jeremy Allison 2004
- * Copyright (C) Gerald Carter 2006
- * Copyright (C) Stefan Metzmacher 2007
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
/* The following definitions come from libads/ads_struct.c */
char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse);
/* The following definitions come from libads/util.c */
ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_principal);
-#endif
#ifndef _LIBADS_ADS_STATUS_H_
#define _LIBADS_ADS_STATUS_H_
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* there are 5 possible types of errors the ads subsystem can produce */
enum ads_error_type {ENUM_ADS_ERROR_KRB5, ENUM_ADS_ERROR_GSS,
ENUM_ADS_ERROR_LDAP, ENUM_ADS_ERROR_SYSTEM, ENUM_ADS_ERROR_NT};
-#ifndef __LIBADS_CLDAP_H__
-#define __LIBADS_CLDAP_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "../libcli/netlogon/netlogon.h"
/* The following definitions come from libads/cldap.c */
const char *server,
const char *realm,
struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5);
-#endif
-#ifndef __LIBADS_KERBEROS_PROTOCOL_H__
-#define __LIBADS_KERBEROS_PROTOCOL_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * kerberos utility library
- *
- * Copyright (C) Andrew Tridgell 2001
- * Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001
- * Copyright (C) Luke Howard 2002-2003
- * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2003
- * Copyright (C) Guenther Deschner 2003-2008
- * Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2005
- * Copyright (C) Jeremy Allison 2004,2007
- * Copyright (C) Stefan Metzmacher 2004-2005
- * Copyright (C) Nalin Dahyabhai <nalin@redhat.com> 2004
- * Copyright (C) Gerald Carter 2006
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
struct PAC_LOGON_INFO;
#include "libads/ads_status.h"
const char *auth_principal, const char *auth_password,
const char *target_principal, const char *new_password,
int time_offset);
-#endif
-#ifndef __LIBADS_LDAP_SCHEMA_H__
-#define __LIBADS_LDAP_SCHEMA_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* used to remember the names of the posix attributes in AD */
/* see the rfc2307 & sfu nss backends */
ADS_STRUCT *ads,
enum wb_posix_mapping map_type,
struct posix_schema **s ) ;
-#endif
-#ifndef __LIBGPO_PROTO_H__
-#define __LIBGPO_PROTO_H__
-
-/*
- Unix SMB/CIFS implementation.
- Group Policy Object Support
-
- Copyright (C) Guenther Deschner 2006-2008
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
/* The following definitions come from libgpo/gpo_filesync.c */
struct gp_registry_entry *entry,
const struct security_token *token,
uint32_t flags);
-#endif
-#ifndef __LIBNET_LIBNET_JOIN_H__
-#define __LIBNET_LIBNET_JOIN_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from libnet/libnet_join.c */
NTSTATUS libnet_join_ok(const char *netbios_domain_name,
struct libnet_JoinCtx *r);
WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx,
struct libnet_UnjoinCtx *r);
-#endif
-#ifndef __LIBRPC_NDR_UTIL_H__
-#define __LIBRPC_NDR_UTIL_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
/* The following definitions come from librpc/ndr/util.c */
_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
-#endif
-#ifndef __LIBSMB_CLIDGRAM_H__
-#define __LIBSMB_CLIDGRAM_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "../libcli/netlogon/netlogon.h"
/* The following definitions come from libsmb/clidgram.c */
uint32_t *pnt_version,
const char **dc_name,
struct netlogon_samlogon_response **samlogon_response);
-#endif
-#ifndef __LIBSMB_ERRORMAP_WBC_H__
-#define __LIBSMB_ERRORMAP_WBC_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from libsmb/errormap_wbc.c */
NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err);
-#endif
/*
Unix SMB/CIFS implementation.
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
-#ifndef __LIBSMB_NMBLIB_H__
-#define __LIBSMB_NMBLIB_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from libsmb/unexpected.c */
#include "nameserv.h"
char *name_mangle(TALLOC_CTX *mem_ctx, const char *In, char name_type);
int name_extract(unsigned char *buf,size_t buf_len, unsigned int ofs, fstring name);
int name_len(unsigned char *s1, size_t buf_len);
-#endif
/*
Unix SMB/CIFS implementation.
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
-#ifndef __LOCKING_PROTO_H__
-#define __LOCKING_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Locking functions
- *
- * Copyright (C) Andrew Tridgell 1992-2000
- * Copyright (C) Jeremy Allison 1992-2006
- * Copyright (C) Volker Lendecke 2005
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from locking/brlock.c */
const struct lock_context *lock_ctx,
const struct lock_struct *plocks,
int num_locks);
-#endif
-#ifndef __NMBD_NMBD_H__
-#define __NMBD_NMBD_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#ifndef HAVE_PIPE
#define SYNC_DNS 1
#endif
#include "libsmb/nmblib.h"
#include "nmbd/nmbd_proto.h"
-#endif
-#ifndef __NMBD_NMBD_PROTO_H__
-#define __NMBD_NMBD_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * NBT netbios routines and daemon - version 2
- *
- * Copyright (C) Andrew Tridgell 1994-1998
- * Copyright (C) Jeremy Allison 1994-2005
- * Copyright (C) Luke Kenneth Casson Leighton 1994-1998
- * Copyright (C) John H Terpstra 1995-1998
- * Copyright (C) Christopher R. Hertel 1998
- * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2002
- * Copyright (C) Jelmer Vernooij 2002,2003
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from nmbd/asyncdns.c */
void initiate_myworkgroup_startup(struct subnet_record *subrec, struct work_record *work);
void dump_workgroups(bool force_write);
void expire_workgroups_and_servers(time_t t);
-#endif
-#ifndef __PAM_SMBPASS_GENERAL_H__
-#define __PAM_SMBPASS_GENERAL_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "../librpc/gen_ndr/samr.h"
#include "../libcli/auth/pam_errors.h"
#include "passdb.h"
/* from support.c */
int make_remark(pam_handle_t *, unsigned int, int, const char *);
-#endif
-#ifndef __PAM_SMBPASS_SUPPORT_H__
-#define __PAM_SMBPASS_SUPPORT_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 3 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* syslogging function for errors and other information */
extern void _log_err(pam_handle_t *, int, const char *, ...);
int _pam_get_data(const pam_handle_t *pamh,
const char *module_data_name,
const void *_data);
-#endif
-#ifndef __PASSDB_MACHINE_SID_H__
-#define __PASSDB_MACHINE_SID_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Password and authentication handling
- * Copyright (C) Jeremy Allison 1996-2002
- * Copyright (C) Andrew Tridgell 2002
- * Copyright (C) Gerald (Jerry) Carter 2000
- * Copyright (C) Stefan (metze) Metzmacher 2002
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from passdb/machine_sid.c */
void reset_global_sam_sid(void) ;
bool sid_check_is_domain(const struct dom_sid *sid);
bool sid_check_is_in_our_domain(const struct dom_sid *sid);
-#endif
-#ifndef __PASSDB_PROTO_H__
-#define __PASSDB_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * passdb - password and authentication handling
- *
- * Copyright (C) Andrew Tridgell 1992-1998
- * Copyright (C) Jeremy Allison 1995-2009
- * Copyright (C) Luke Kenneth Casson Leighton 1996-1998
- * Copyright (C) Jean François Micouleau 1998-2001
- * Copyright (C) Gerald (Jerry) Carter 2000-2006
- * Copyright (C) Simo Sorce 2000-2003,2006
- * Copyright (C) Andrew Bartlett 2001-2002
- * Copyright (C) Shahms King 2001
- * Copyright (C) Jelmer Vernooij 2002
- * Copyright (C) Rafal Szczesniak 2002
- * Copyright (C) Stefan (metze) Metzmacher 2002-2003
- * Copyright (C) Guenther Deschner 2004-2005
- * Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2004-2005
- * Copyright (C) Vince Brimhall 2004-2005
- * Copyright (C) Volker Lendecke 2006
- * Copyright (C) Michael Adam 2007
- * Copyright (C) Dan Sledz 2009
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from passdb/account_pol.c */
NTSTATUS create_builtin_users(const struct dom_sid *sid);
NTSTATUS create_builtin_administrators(const struct dom_sid *sid);
-#endif
-#ifndef __PRINTING_LOAD_H__
-#define __PRINTING_LOAD_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from printing/load.c */
void load_printers(struct tevent_context *ev,
struct messaging_context *msg_ctx);
-#endif
-#ifndef __PRINTING_PCAP_H__
-#define __PRINTING_PCAP_H__
/*
Unix SMB/CIFS implementation.
printcap headers
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
/* The following definitions come from printing/print_standard.c */
bool std_pcap_cache_reload(const char *pcap_name);
-#endif
/* Samba Unix/Linux SMB client library
- *
- * (C) Gregor Beck <gb@sernet.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
-#ifndef __RPC_CLIENT_CLI_NETLOGON_H__
-#define __RPC_CLIENT_CLI_NETLOGON_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_client/cli_netlogon.c */
NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
const char *new_trust_pwd_cleartext,
const unsigned char new_trust_passwd_hash[16],
enum netr_SchannelType sec_channel_type);
-#endif
+
-#ifndef __RPC_CLIENT_CLI_SPOOLSS_H__
-#define __RPC_CLIENT_CLI_SPOOLSS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_client/cli_spoolss.c */
WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli,
uint32_t offered,
uint32_t *count,
struct spoolss_PrinterEnumValues **info);
-#endif
-#ifndef __RPC_CLIENT_INIT_LSA_H__
-#define __RPC_CLIENT_INIT_LSA_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
struct lsa_String;
struct lsa_StringLarge;
struct lsa_AsciiString;
void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);
-#endif
-#ifndef __RPC_CLIENT_INIT_NETLOGON_H__
-#define __RPC_CLIENT_INIT_NETLOGON_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_client/init_netlogon.c */
void init_netr_CryptPassword(const char *pwd,
unsigned char session_key[16],
struct netr_CryptPassword *pwd_buf);
-#endif
-#ifndef __RPC_CLIENT_INIT_SAMR_H__
-#define __RPC_CLIENT_INIT_SAMR_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_client/init_samr.c */
void init_samr_CryptPasswordEx(const char *pwd,
DATA_BLOB *session_key,
struct samr_CryptPassword *pwd_buf);
-#endif
-#ifndef _RPC_CLIENT_INIT_SPOOLSS_H__
-#define _RPC_CLIENT_INIT_SPOOLSS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
/* The following definitions come from rpc_client/init_spoolss.c */
union spoolss_PrinterData *data);
void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i,
struct spoolss_SetPrinterInfo2 *s);
-#endif
+
-#ifndef __RPC_CLIENT_UTIL_NETLOGON_H__
-#define __RPC_CLIENT_UTIL_NETLOGON_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_client/util_netlogon.c */
NTSTATUS copy_netr_SamBaseInfo(TALLOC_CTX *mem_ctx,
const struct netr_SamBaseInfo *in,
struct netr_SamBaseInfo *out);
-#endif
-#ifndef __RPC_SERVER_SRV_ACCESS_CHECK_H__
-#define __RPC_SERVER_SRV_ACCESS_CHECK_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* The following definitions come from rpc_server/srv_access_check.c */
NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token,
void map_max_allowed_access(const struct security_token *nt_token,
const struct security_unix_token *unix_token,
uint32_t *pacc_requested);
-#endif
-#ifndef __SMBD_PROTO_H__
-#define __SMBD_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * Main SMB server routines
- *
- * Copyright (C) Andrew Tridgell 1992-2002,2006
- * Copyright (C) Jeremy Allison 1992-2010
- * Copyright (C) Volker Lendecke 1993-2009
- * Copyright (C) John H Terpstra 1995-1998
- * Copyright (C) Luke Kenneth Casson Leighton 1996-1998
- * Copyright (C) Paul Ashton 1997-1998
- * Copyright (C) Tim Potter 1999-2000
- * Copyright (C) T.D.Lee@durham.ac.uk 1999
- * Copyright (C) Ying Chen 2000
- * Copyright (C) Shirish Kalele 2000
- * Copyright (C) Andrew Bartlett 2001-2003
- * Copyright (C) Alexander Bokovoy 2002,2005
- * Copyright (C) Simo Sorce 2001-2002,2009
- * Copyright (C) Andreas Gruenbacher 2002
- * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2002
- * Copyright (C) Martin Pool 2002
- * Copyright (C) Luke Howard 2003
- * Copyright (C) Stefan (metze) Metzmacher 2003,2009
- * Copyright (C) Steve French 2005
- * Copyright (C) Gerald (Jerry) Carter 2006
- * Copyright (C) James Peach 2006-2007
- * Copyright (C) Jelmer Vernooij 2002-2003
- * Copyright (C) Michael Adam 2007
- * Copyright (C) Rishi Srivatsavai 2007
- * Copyright (C) Tim Prouty 2009
- * Copyright (C) Gregor Beck 2011
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
/* The following definitions come from smbd/signing.c */
/* The following definitions come from smbd/msg_idmap.c */
void msg_idmap_register_msgs(struct messaging_context *ctx);
-#endif
Unix SMB/CIFS implementation.
Main SMB server routines
- (C) 2011 Samba Team.
-
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
-#ifndef __WINBINDD_IDMAP_PROTO_H__
-#define __WINBINDD_IDMAP_PROTO_H__
-
-/*
- * Unix SMB/CIFS implementation.
- * ID Mapping
- *
- * Copyright (C) Tim Potter 2000
- * Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2003
- * Copyright (C) Simo Sorce 2003-2007
- * Copyright (C) Jeremy Allison 2006
- * Copyright (C) Michael Adam 2009-2010
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
/* The following definitions come from winbindd/idmap.c */
bool idmap_is_offline(void);
NTSTATUS idmap_sid_to_uid(const char *dom_name, struct dom_sid *sid, uid_t *uid);
NTSTATUS idmap_sid_to_gid(const char *domname, struct dom_sid *sid, gid_t *gid);
bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);
-
-#endif
-#ifndef __DSDB_COMMON_DSDB_DN_H__
-#define __DSDB_COMMON_DSDB_DN_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
enum dsdb_dn_format {
DSDB_NORMAL_DN,
DSDB_BINARY_DN,
/* RMD_FLAGS component in a DN */
#define DSDB_RMD_FLAG_DELETED 1
#define DSDB_RMD_FLAG_INVISIBLE 2
-#endif
-#ifndef __DSDB_SAMDB_LDB_LDB_MODULES_PASSWORD_MODULES_H__
-#define __DSDB_SAMDB_LDB_LDB_MODULES_PASSWORD_MODULES_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/* We store these passwords under this base DN: */
#define LOCAL_BASE "cn=Passwords"
-#endif
#ifndef __LIB_EVENTS_H__
#define __LIB_EVENTS_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#define TEVENT_COMPAT_DEFINES 1
#include <tevent.h>
struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx);
#ifndef __LIB_LDB_SAMBA_LDIF_HANDLERS_H__
#define __LIB_LDB_SAMBA_LDIF_HANDLERS_H__
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#define LDB_SYNTAX_SAMBA_SID "LDB_SYNTAX_SAMBA_SID"
#define LDB_SYNTAX_SAMBA_SECURITY_DESCRIPTOR "1.2.840.113556.1.4.907"
#define LDB_SYNTAX_SAMBA_GUID "LDB_SYNTAX_SAMBA_GUID"
-#ifndef __LIB_LDB_LDB_LDB_MAP_LDB_MAP_PRIVATE_H__
-#define __LIB_LDB_LDB_LDB_MAP_LDB_MAP_PRIVATE_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "replace.h"
#include "system/filesys.h"
#include "system/time.h"
int error);
int map_return_entry(struct map_context *ac, struct ldb_reply *ares);
-#endif
-#ifndef __LIB_LDB_LDB_LDB_TDB_LDB_TDB_H__
-#define __LIB_LDB_LDB_LDB_TDB_LDB_TDB_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
#include "replace.h"
#include "system/filesys.h"
#include "system/time.h"
const char *path, int hash_size, int tdb_flags,
int open_flags, mode_t mode,
struct ldb_context *ldb);
-#endif
Unix SMB/CIFS implementation.
SMB Signing
- (C) Andrew Bartlett <abartlet@samba.org> 2003-2004
+ Andrew Bartlett <abartlet@samba.org> 2003-2004
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-#ifndef __NTVFS_CIFS_POSIX_CLI_CIFSPOSIX_H__
-#define __NTVFS_CIFS_POSIX_CLI_CIFSPOSIX_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
struct cifspsx_private {
struct ntvfs_module_context *ntvfs;
unsigned int current_index;
struct cifspsx_dir *dir;
};
-#endif
-#ifndef __NTFVFS_SIMPLE_SVFS_H__
-#define __NTFVFS_SIMPLE_SVFS_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
struct svfs_private {
struct ntvfs_module_context *ntvfs;
unsigned int current_index;
struct svfs_dir *dir;
};
-#endif
-#ifndef __TORTURE_BASIC_CXD_KNOWN_H__
-#define __TORTURE_BASIC_CXD_KNOWN_H__
-
-/*
- Unix SMB/CIFS implementation.
-
- (C) 2011 Samba Team.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
/**
* Results file used for BASE-CREATEX_* TESTS.
*/
{ .cxd_test = 2, .cxd_flags = 0x1, .cxd_access1 = 0x1201bf, .cxd_sharemode1=7, .cxd_access2= 0x1201b6, .cxd_sharemode2=7, .cxd_result = { NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, }, .cxd_result2 = { NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, }},
{ .cxd_test = 2, .cxd_flags = 0x1, .cxd_access1 = 0x1201bf, .cxd_sharemode1=7, .cxd_access2= 0x1201bf, .cxd_sharemode2=7, .cxd_result = { NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, }, .cxd_result2 = { NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, NT_STATUS_OK, }},
};
-#endif