From: Karolin Seeger Date: Tue, 7 Jun 2011 17:52:06 +0000 (+0200) Subject: Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL header... X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=664e45ad111ed67b16c0e07b7c2362457d5312c2;p=ddiss%2Fsamba.git Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL header comments." This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff. --- diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h index 0a972963a6f..dea6501257b 100644 --- a/auth/auth_sam_reply.h +++ b/auth/auth_sam_reply.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* this file contains prototypes for functions that are private diff --git a/examples/libsmbclient/get_auth_data_fn.h b/examples/libsmbclient/get_auth_data_fn.h index 92015a51ddb..6b91c973375 100644 --- a/examples/libsmbclient/get_auth_data_fn.h +++ b/examples/libsmbclient/get_auth_data_fn.h @@ -1,5 +1,3 @@ -#ifndef __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__ -#define __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__ #include static void @@ -82,4 +80,3 @@ get_auth_data_fn(const char * pServer, krb5_set = 1; } -#endif diff --git a/lib/compression/mszip.h b/lib/compression/mszip.h index 0f183ef4f52..bb835f25954 100644 --- a/lib/compression/mszip.h +++ b/lib/compression/mszip.h @@ -1,5 +1,3 @@ -#ifndef __LIB_COMPRESSION_MSZIP_H__ -#define __LIB_COMPRESSION_MSZIP_H__ /* mszip decompression - based on cabextract.c code from * Stuart Caie * @@ -33,4 +31,3 @@ struct decomp_state *ZIPdecomp_state(TALLOC_CTX *mem_ctx); #define DECR_INPUT (5) #define DECR_OUTPUT (6) int ZIPdecompress(struct decomp_state *decomp_state, DATA_BLOB *inbuf, DATA_BLOB *outbuf); -#endif diff --git a/lib/crypto/arcfour.h b/lib/crypto/arcfour.h index 17532744147..a9f80c474d5 100644 --- a/lib/crypto/arcfour.h +++ b/lib/crypto/arcfour.h @@ -1,25 +1,6 @@ #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 . -*/ - #include "../lib/util/data_blob.h" struct arcfour_state { diff --git a/lib/crypto/crc32.h b/lib/crypto/crc32.h index 34b43524b40..7854abf865a 100644 --- a/lib/crypto/crc32.h +++ b/lib/crypto/crc32.h @@ -1,23 +1 @@ -#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 . -*/ uint32_t crc32_calc_buffer(const uint8_t *buf, size_t size); -#endif diff --git a/lib/crypto/md4.h b/lib/crypto/md4.h index 6811b2161d0..234e488e4ff 100644 --- a/lib/crypto/md4.h +++ b/lib/crypto/md4.h @@ -1,23 +1 @@ -#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 . -*/ void mdfour(uint8_t *out, const uint8_t *in, int n); -#endif diff --git a/lib/crypto/md5.h b/lib/crypto/md5.h index e1dcbd35afd..4064d6f0039 100644 --- a/lib/crypto/md5.h +++ b/lib/crypto/md5.h @@ -5,25 +5,6 @@ #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 . -*/ - struct MD5Context { uint32_t buf[4]; uint32_t bits[2]; diff --git a/lib/replace/hdr_replace.h b/lib/replace/hdr_replace.h index 134e354a581..6cfa50f8096 100644 --- a/lib/replace/hdr_replace.h +++ b/lib/replace/hdr_replace.h @@ -1,27 +1,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 . -*/ - /* this is a replacement header for a missing system header */ #include "replace.h" -#endif diff --git a/lib/replace/replace-test.h b/lib/replace/replace-test.h index 8c299ba81dd..95fb7abe1ce 100644 --- a/lib/replace/replace-test.h +++ b/lib/replace/replace-test.h @@ -1,25 +1,6 @@ #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 . -*/ - bool torture_local_replace(struct torture_context *ctx); int libreplace_test_strptime(void); int test_readdir_os2_delete(void); diff --git a/lib/replace/system/readline.h b/lib/replace/system/readline.h index 439b533e918..e6b8fb9129b 100644 --- a/lib/replace/system/readline.h +++ b/lib/replace/system/readline.h @@ -3,8 +3,6 @@ /* Unix SMB/CIFS implementation. - (C) 2001 Samba Team. - Readline wrappers ** NOTE! The following LGPL license applies to the replace diff --git a/lib/replace/win32_replace.h b/lib/replace/win32_replace.h index 98b9c5b0442..9901e72f6ef 100644 --- a/lib/replace/win32_replace.h +++ b/lib/replace/win32_replace.h @@ -1,25 +1,6 @@ #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 . -*/ - #ifdef HAVE_WINSOCK2_H #include #endif diff --git a/lib/talloc/talloc_testsuite.h b/lib/talloc/talloc_testsuite.h index 21607f1134e..acb97010416 100644 --- a/lib/talloc/talloc_testsuite.h +++ b/lib/talloc/talloc_testsuite.h @@ -1,25 +1,6 @@ #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 . -*/ - struct torture_context; bool torture_local_talloc(struct torture_context *tctx); diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h index c3da975022f..83e6cd5f096 100644 --- a/lib/util/data_blob.h +++ b/lib/util/data_blob.h @@ -2,8 +2,6 @@ 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 diff --git a/lib/util/time.h b/lib/util/time.h index d3548966467..3a406340f45 100644 --- a/lib/util/time.h +++ b/lib/util/time.h @@ -2,8 +2,6 @@ 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 diff --git a/lib/util/util_ldb.h b/lib/util/util_ldb.h index 5257b656af0..d2bc3b0ff71 100644 --- a/lib/util/util_ldb.h +++ b/lib/util/util_ldb.h @@ -1,24 +1,6 @@ #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 . -*/ struct ldb_dn; /* The following definitions come from lib/util/util_ldb.c */ diff --git a/lib/util/util_tdb.h b/lib/util/util_tdb.h index 24d8f48e4ba..c11a347e079 100644 --- a/lib/util/util_tdb.h +++ b/lib/util/util_tdb.h @@ -1,25 +1,6 @@ #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 . -*/ - /*************************************************************** Make a TDB_DATA and keep the const warning in one place ****************************************************************/ diff --git a/lib/util/wrap_xattr.h b/lib/util/wrap_xattr.h index 5dc5d28bb3d..64b28d250cd 100644 --- a/lib/util/wrap_xattr.h +++ b/lib/util/wrap_xattr.h @@ -1,25 +1,6 @@ #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 . -*/ - 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); diff --git a/libcli/auth/libcli_auth.h b/libcli/auth/libcli_auth.h index 6ee7e9d3c2e..c5c7a7b0fa8 100644 --- a/libcli/auth/libcli_auth.h +++ b/libcli/auth/libcli_auth.h @@ -1,8 +1,6 @@ /* 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 diff --git a/libcli/auth/msrpc_parse.h b/libcli/auth/msrpc_parse.h index be492522d88..d976a95b737 100644 --- a/libcli/auth/msrpc_parse.h +++ b/libcli/auth/msrpc_parse.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h index b561dc12c49..34a0052f7a4 100644 --- a/libcli/auth/proto.h +++ b/libcli/auth/proto.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) diff --git a/libcli/ldap/ldap_ndr.h b/libcli/ldap/ldap_ndr.h index 2e95458d525..df5ee478cb9 100644 --- a/libcli/ldap/ldap_ndr.h +++ b/libcli/ldap/ldap_ndr.h @@ -1,25 +1,6 @@ #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 . -*/ - #include "librpc/gen_ndr/ndr_misc.h" char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value); diff --git a/libcli/nbt/nbt_proto.h b/libcli/nbt/nbt_proto.h index dee29ea8281..b2e8d8525a6 100644 --- a/libcli/nbt/nbt_proto.h +++ b/libcli/nbt/nbt_proto.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ diff --git a/libcli/netlogon/ndr_netlogon_proto.h b/libcli/netlogon/ndr_netlogon_proto.h index 666b918ea11..ca61c161382 100644 --- a/libcli/netlogon/ndr_netlogon_proto.h +++ b/libcli/netlogon/ndr_netlogon_proto.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ diff --git a/libcli/netlogon/netlogon_proto.h b/libcli/netlogon/netlogon_proto.h index 88073e56f5d..53c7d004ee9 100644 --- a/libcli/netlogon/netlogon_proto.h +++ b/libcli/netlogon/netlogon_proto.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ diff --git a/libcli/smbreadline/smbreadline.h b/libcli/smbreadline/smbreadline.h index 6554e2b2deb..102106f2626 100644 --- a/libcli/smbreadline/smbreadline.h +++ b/libcli/smbreadline/smbreadline.h @@ -1,25 +1,6 @@ #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 . -*/ - 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); diff --git a/libcli/util/error.h b/libcli/util/error.h index fac948930bc..7b7de6c4f0f 100644 --- a/libcli/util/error.h +++ b/libcli/util/error.h @@ -2,8 +2,6 @@ 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 diff --git a/libds/common/flag_mapping.h b/libds/common/flag_mapping.h index ef8a867acbd..4b1cc3b05fc 100644 --- a/libds/common/flag_mapping.h +++ b/libds/common/flag_mapping.h @@ -1,25 +1,6 @@ #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 . -*/ - /* The following definitions come from flag_mapping.c */ uint32_t ds_acb2uf(uint32_t acb); diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h index 0b6c6fc791a..023c04020ea 100644 --- a/librpc/idl/idl_types.h +++ b/librpc/idl/idl_types.h @@ -1,25 +1,3 @@ -#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 . -*/ - #define STR_ASCII LIBNDR_FLAG_STR_ASCII #define STR_LEN4 LIBNDR_FLAG_STR_LEN4 #define STR_SIZE4 LIBNDR_FLAG_STR_SIZE4 @@ -69,4 +47,3 @@ #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE -#endif diff --git a/librpc/ndr/ndr_backupkey.h b/librpc/ndr/ndr_backupkey.h index 39f48db084e..c5c7c39995a 100644 --- a/librpc/ndr/ndr_backupkey.h +++ b/librpc/ndr/ndr_backupkey.h @@ -1,24 +1,2 @@ -#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 . -*/ - _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 diff --git a/librpc/ndr/ndr_compression.h b/librpc/ndr/ndr_compression.h index 4fa595c8a27..b939f6a42ba 100644 --- a/librpc/ndr/ndr_compression.h +++ b/librpc/ndr/ndr_compression.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ diff --git a/librpc/ndr/ndr_dns.h b/librpc/ndr/ndr_dns.h index b6a88e6bbe5..d97d57fdacd 100644 --- a/librpc/ndr/ndr_dns.h +++ b/librpc/ndr/ndr_dns.h @@ -1,25 +1,3 @@ -#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 . -*/ - void ndr_print_dns_string(struct ndr_print *ndr, const char *name, const char *s); @@ -35,4 +13,3 @@ enum ndr_err_code ndr_push_dns_res_rec(struct ndr_push *ndr, enum ndr_err_code ndr_pull_dns_res_rec(struct ndr_pull *ndr, int ndr_flags, struct dns_res_rec *r); -#endif diff --git a/librpc/ndr/ndr_spoolss_buf.h b/librpc/ndr/ndr_spoolss_buf.h index dcc448622c5..c5938c00c86 100644 --- a/librpc/ndr/ndr_spoolss_buf.h +++ b/librpc/ndr/ndr_spoolss_buf.h @@ -1,25 +1,6 @@ #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 . -*/ - #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ diff --git a/librpc/ndr/ndr_table.h b/librpc/ndr/ndr_table.h index 99df752aabc..9e8fea1db6a 100644 --- a/librpc/ndr/ndr_table.h +++ b/librpc/ndr/ndr_table.h @@ -1,25 +1,6 @@ #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 . -*/ - 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); diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h index 01e68d5f0c3..ed924794c48 100644 --- a/nsswitch/pam_winbind.h +++ b/nsswitch/pam_winbind.h @@ -1,26 +1,7 @@ -#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 . + Shirish Kalele 2000 */ #include "../lib/replace/replace.h" @@ -194,4 +175,3 @@ struct pwb_context { #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 diff --git a/nsswitch/winbind_client.h b/nsswitch/winbind_client.h index d63b59c7df7..ed1c81ddb2b 100644 --- a/nsswitch/winbind_client.h +++ b/nsswitch/winbind_client.h @@ -1,24 +1,3 @@ -#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 . -*/ - #include "winbind_nss_config.h" #include "winbind_struct_protocol.h" @@ -40,4 +19,3 @@ NSS_STATUS winbindd_priv_request_response(int req_type, #define winbind_on() \ (setenv(WINBINDD_DONT_ENV, "0", 1) == 0) -#endif diff --git a/source3/auth/proto.h b/source3/auth/proto.h index 92b16caffff..88cc7074ed1 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -1,37 +1,3 @@ -#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 . - */ /* The following definitions come from auth/auth.c */ @@ -300,4 +266,3 @@ NTSTATUS make_server_info_krb5(TALLOC_CTX *mem_ctx, struct PAC_LOGON_INFO *logon_info, bool mapped_to_guest, struct auth_serversupplied_info **server_info); -#endif diff --git a/source3/groupdb/proto.h b/source3/groupdb/proto.h index 3cfaaa33f14..11162e6d3c7 100644 --- a/source3/groupdb/proto.h +++ b/source3/groupdb/proto.h @@ -1,28 +1,3 @@ -#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 . - */ /* The following definitions come from groupdb/mapping.c */ @@ -98,4 +73,3 @@ NTSTATUS pdb_create_builtin_alias(uint32 rid); /* The following definitions come from groupdb/mapping_tdb.c */ const struct mapping_backend *groupdb_tdb_init(void); -#endif diff --git a/source3/include/ads.h b/source3/include/ads.h index f1141110621..8a8ce28e530 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -1,25 +1,5 @@ #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 . -*/ - /* header for ads (active directory) library routines diff --git a/source3/include/krb5_env.h b/source3/include/krb5_env.h index c799aced609..aa967953928 100644 --- a/source3/include/krb5_env.h +++ b/source3/include/krb5_env.h @@ -1,25 +1,2 @@ -#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 . -*/ - /* Kerberos environment variable names */ #define KRB5_ENV_CCNAME "KRB5CCNAME" - -#endif diff --git a/source3/include/krb5_protos.h b/source3/include/krb5_protos.h index 52ec7b939de..e9f282b288a 100644 --- a/source3/include/krb5_protos.h +++ b/source3/include/krb5_protos.h @@ -1,25 +1,3 @@ -#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 . -*/ - struct PAC_DATA; struct PAC_SIGNATURE_DATA; @@ -174,4 +152,3 @@ bool unwrap_edata_ntstatus(TALLOC_CTX *mem_ctx, DATA_BLOB *edata, DATA_BLOB *edata_out); bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_pac_data); -#endif diff --git a/source3/include/mangle.h b/source3/include/mangle.h index 57afafcd803..c07b852453e 100644 --- a/source3/include/mangle.h +++ b/source3/include/mangle.h @@ -1,25 +1,5 @@ #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 . -*/ - /* header for 8.3 name mangling interface */ diff --git a/source3/include/smb_krb5.h b/source3/include/smb_krb5.h index 34ccaf7241f..adbb0debc38 100644 --- a/source3/include/smb_krb5.h +++ b/source3/include/smb_krb5.h @@ -1,25 +1,6 @@ #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 . -*/ - #define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */ /* this file uses DEPRECATED interfaces! */ diff --git a/source3/include/smb_ldap.h b/source3/include/smb_ldap.h index 4fe0dcdfe5c..45e586859db 100644 --- a/source3/include/smb_ldap.h +++ b/source3/include/smb_ldap.h @@ -1,25 +1,6 @@ #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 . -*/ - #if HAVE_LBER_H #include #if defined(HPUX) && !defined(_LBER_TYPES_H) diff --git a/source3/intl/lang_tdb.h b/source3/intl/lang_tdb.h index 096a583535f..da246846d0d 100644 --- a/source3/intl/lang_tdb.h +++ b/source3/intl/lang_tdb.h @@ -1,24 +1,3 @@ -#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 . -*/ /* The following definitions come from intl/lang_tdb.c */ @@ -26,4 +5,3 @@ bool lang_tdb_init(const char *lang); const char *lang_msg(const char *msgid); void lang_msg_free(const char *msgstr); char *lang_tdb_current(void); -#endif diff --git a/source3/lib/eventlog/proto.h b/source3/lib/eventlog/proto.h index 363338db6da..21790d0795c 100644 --- a/source3/lib/eventlog/proto.h +++ b/source3/lib/eventlog/proto.h @@ -1,28 +1,3 @@ -#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 . - */ /* The following definitions come from lib/eventlog/eventlog.c */ @@ -58,4 +33,3 @@ NTSTATUS evlog_convert_tdb_to_evt(TALLOC_CTX *mem_ctx, ELOG_TDB *etdb, DATA_BLOB *blob_p, uint32_t *num_records_p); -#endif diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h index 21f778b85ac..af2ba82bf8d 100644 --- a/source3/lib/idmap_cache.h +++ b/source3/lib/idmap_cache.h @@ -1,26 +1,3 @@ -#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 . - */ - /* The following definitions come from lib/idmap_cache.c */ bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid, @@ -35,4 +12,3 @@ void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid); 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 diff --git a/source3/lib/netapi/examples/common.h b/source3/lib/netapi/examples/common.h index 043b3cdcd01..85df51d8683 100644 --- a/source3/lib/netapi/examples/common.h +++ b/source3/lib/netapi/examples/common.h @@ -1,24 +1,3 @@ -#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 . -*/ - #include void popt_common_callback(poptContext con, @@ -29,4 +8,4 @@ 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 + diff --git a/source3/lib/netapi/libnetapi.h b/source3/lib/netapi/libnetapi.h index ae8709de506..2711558dbc1 100644 --- a/source3/lib/netapi/libnetapi.h +++ b/source3/lib/netapi/libnetapi.h @@ -1,24 +1,5 @@ #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 . -*/ - NET_API_STATUS NetJoinDomain(const char * server /* [in] [unique] */, const char * domain /* [in] [ref] */, const char * account_ou /* [in] [unique] */, diff --git a/source3/lib/privileges.h b/source3/lib/privileges.h index acfd38b870d..13bc3eb0830 100644 --- a/source3/lib/privileges.h +++ b/source3/lib/privileges.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "../libcli/security/privileges.h" /* The following definitions come from lib/privileges.c */ @@ -38,4 +16,3 @@ NTSTATUS privilege_create_account(const struct dom_sid *sid ); 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 diff --git a/source3/libads/ads_ldap_protos.h b/source3/libads/ads_ldap_protos.h index 98fe902447a..03869fe5c99 100644 --- a/source3/libads/ads_ldap_protos.h +++ b/source3/libads/ads_ldap_protos.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* * Prototypes for ads */ @@ -134,4 +112,3 @@ ADS_STATUS ads_get_joinable_ous(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, char ***ous, size_t *num_ous); -#endif diff --git a/source3/libads/ads_proto.h b/source3/libads/ads_proto.h index 562b446a3c8..ed702de8a6c 100644 --- a/source3/libads/ads_proto.h +++ b/source3/libads/ads_proto.h @@ -1,37 +1,3 @@ -#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 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 . - */ - /* The following definitions come from libads/ads_struct.c */ char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse); @@ -186,4 +152,3 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads, /* The following definitions come from libads/util.c */ ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_principal); -#endif diff --git a/source3/libads/ads_status.h b/source3/libads/ads_status.h index 1cea4cb8563..cc8d9a5c085 100644 --- a/source3/libads/ads_status.h +++ b/source3/libads/ads_status.h @@ -1,25 +1,6 @@ #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 . -*/ - /* 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}; diff --git a/source3/libads/cldap.h b/source3/libads/cldap.h index 1727ea2368a..e2d05ce7313 100644 --- a/source3/libads/cldap.h +++ b/source3/libads/cldap.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "../libcli/netlogon/netlogon.h" /* The following definitions come from libads/cldap.c */ @@ -32,4 +10,3 @@ bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx, const char *server, const char *realm, struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5); -#endif diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index 81a7c05ffa9..f23346f709a 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -1,35 +1,3 @@ -#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 2003 - * Copyright (C) Guenther Deschner 2003-2008 - * Copyright (C) Andrew Bartlett 2004-2005 - * Copyright (C) Jeremy Allison 2004,2007 - * Copyright (C) Stefan Metzmacher 2004-2005 - * Copyright (C) Nalin Dahyabhai 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 . - */ - struct PAC_LOGON_INFO; #include "libads/ads_status.h" @@ -101,4 +69,3 @@ ADS_STATUS kerberos_set_password(const char *kpasswd_server, const char *auth_principal, const char *auth_password, const char *target_principal, const char *new_password, int time_offset); -#endif diff --git a/source3/libads/ldap_schema.h b/source3/libads/ldap_schema.h index 8b67d389f61..44964dd1c15 100644 --- a/source3/libads/ldap_schema.h +++ b/source3/libads/ldap_schema.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* used to remember the names of the posix attributes in AD */ /* see the rfc2307 & sfu nss backends */ @@ -77,4 +55,3 @@ ADS_STATUS ads_check_posix_schema_mapping(TALLOC_CTX *mem_ctx, ADS_STRUCT *ads, enum wb_posix_mapping map_type, struct posix_schema **s ) ; -#endif diff --git a/source3/libgpo/gpo_proto.h b/source3/libgpo/gpo_proto.h index 2b13d3ce44d..8bc5874c9dd 100644 --- a/source3/libgpo/gpo_proto.h +++ b/source3/libgpo/gpo_proto.h @@ -1,25 +1,3 @@ -#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 . -*/ /* The following definitions come from libgpo/gpo_filesync.c */ @@ -97,4 +75,3 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx, struct gp_registry_entry *entry, const struct security_token *token, uint32_t flags); -#endif diff --git a/source3/libnet/libnet_join.h b/source3/libnet/libnet_join.h index 8036db3023c..5659828a5ca 100644 --- a/source3/libnet/libnet_join.h +++ b/source3/libnet/libnet_join.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from libnet/libnet_join.c */ NTSTATUS libnet_join_ok(const char *netbios_domain_name, @@ -33,4 +11,3 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx, struct libnet_JoinCtx *r); WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx, struct libnet_UnjoinCtx *r); -#endif diff --git a/source3/librpc/ndr/util.h b/source3/librpc/ndr/util.h index fb7f585783e..3bf9c0eb438 100644 --- a/source3/librpc/ndr/util.h +++ b/source3/librpc/ndr/util.h @@ -1,25 +1,4 @@ -#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 . -*/ /* 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 diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h index cc33e870dc0..01a8a6a4049 100644 --- a/source3/libsmb/clidgram.h +++ b/source3/libsmb/clidgram.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "../libcli/netlogon/netlogon.h" /* The following definitions come from libsmb/clidgram.c */ @@ -43,4 +21,3 @@ NTSTATUS nbt_getdc(struct messaging_context *msg_ctx, uint32_t *pnt_version, const char **dc_name, struct netlogon_samlogon_response **samlogon_response); -#endif diff --git a/source3/libsmb/errormap_wbc.h b/source3/libsmb/errormap_wbc.h index ea21d2787c8..2042da4efca 100644 --- a/source3/libsmb/errormap_wbc.h +++ b/source3/libsmb/errormap_wbc.h @@ -1,26 +1,3 @@ -#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 . -*/ - /* The following definitions come from libsmb/errormap_wbc.c */ NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err); -#endif diff --git a/source3/libsmb/libsmb.h b/source3/libsmb/libsmb.h index 4dfd077041a..48d6ae5e0e6 100644 --- a/source3/libsmb/libsmb.h +++ b/source3/libsmb/libsmb.h @@ -1,8 +1,6 @@ /* 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 diff --git a/source3/libsmb/nmblib.h b/source3/libsmb/nmblib.h index 4bbc1233016..a6666a84c61 100644 --- a/source3/libsmb/nmblib.h +++ b/source3/libsmb/nmblib.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from libsmb/unexpected.c */ #include "nameserv.h" @@ -69,4 +47,3 @@ void sort_query_replies(char *data, int n, struct in_addr ip); 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 diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 2436a5e9945..3703c95b6a6 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -1,8 +1,6 @@ /* 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 diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 4e99c636c2a..6f130961a86 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -1,27 +1,3 @@ -#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 . - */ /* The following definitions come from locking/brlock.c */ @@ -223,4 +199,3 @@ bool release_posix_lock_posix_flavour(files_struct *fsp, const struct lock_context *lock_ctx, const struct lock_struct *plocks, int num_locks); -#endif diff --git a/source3/nmbd/nmbd.h b/source3/nmbd/nmbd.h index 569ff64b352..e100e7d6932 100644 --- a/source3/nmbd/nmbd.h +++ b/source3/nmbd/nmbd.h @@ -1,28 +1,6 @@ -#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 . -*/ - #ifndef HAVE_PIPE #define SYNC_DNS 1 #endif #include "libsmb/nmblib.h" #include "nmbd/nmbd_proto.h" -#endif diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h index 442c6afb7d8..1c6ec0cfe4e 100644 --- a/source3/nmbd/nmbd_proto.h +++ b/source3/nmbd/nmbd_proto.h @@ -1,31 +1,3 @@ -#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 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 . - */ /* The following definitions come from nmbd/asyncdns.c */ @@ -385,4 +357,3 @@ void update_workgroup_ttl(struct work_record *work, int ttl); 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 diff --git a/source3/pam_smbpass/general.h b/source3/pam_smbpass/general.h index cba45c53ef4..6e13f8d9361 100644 --- a/source3/pam_smbpass/general.h +++ b/source3/pam_smbpass/general.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "../librpc/gen_ndr/samr.h" #include "../libcli/auth/pam_errors.h" #include "passdb.h" @@ -157,4 +135,3 @@ struct _pam_failed_auth { /* from support.c */ int make_remark(pam_handle_t *, unsigned int, int, const char *); -#endif diff --git a/source3/pam_smbpass/support.h b/source3/pam_smbpass/support.h index d222bc5ebaa..7ee77042d7f 100644 --- a/source3/pam_smbpass/support.h +++ b/source3/pam_smbpass/support.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* syslogging function for errors and other information */ extern void _log_err(pam_handle_t *, int, const char *, ...); @@ -77,4 +55,3 @@ int _pam_get_item(const pam_handle_t *pamh, int _pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void *_data); -#endif diff --git a/source3/passdb/machine_sid.h b/source3/passdb/machine_sid.h index 9e6cba474ae..2da281ac34c 100644 --- a/source3/passdb/machine_sid.h +++ b/source3/passdb/machine_sid.h @@ -1,27 +1,3 @@ -#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 . - */ /* The following definitions come from passdb/machine_sid.c */ @@ -29,4 +5,3 @@ struct dom_sid *get_global_sam_sid(void); 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 diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index b53b605f57f..a64985c7091 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -1,41 +1,3 @@ -#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 . - */ /* The following definitions come from passdb/account_pol.c */ @@ -338,4 +300,3 @@ NTSTATUS pdb_tdbsam_init(void); NTSTATUS create_builtin_users(const struct dom_sid *sid); NTSTATUS create_builtin_administrators(const struct dom_sid *sid); -#endif diff --git a/source3/printing/load.h b/source3/printing/load.h index 0dcd8b7fc98..df401a43772 100644 --- a/source3/printing/load.h +++ b/source3/printing/load.h @@ -1,27 +1,4 @@ -#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 . -*/ - /* The following definitions come from printing/load.c */ void load_printers(struct tevent_context *ev, struct messaging_context *msg_ctx); -#endif diff --git a/source3/printing/pcap.h b/source3/printing/pcap.h index 497a6a763a9..63497fd8ec5 100644 --- a/source3/printing/pcap.h +++ b/source3/printing/pcap.h @@ -1,11 +1,7 @@ -#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 @@ -59,4 +55,3 @@ bool sysv_cache_reload(void); /* The following definitions come from printing/print_standard.c */ bool std_pcap_cache_reload(const char *pcap_name); -#endif diff --git a/source3/registry/reg_parse_internal.h b/source3/registry/reg_parse_internal.h index 459941415bf..ef591617569 100644 --- a/source3/registry/reg_parse_internal.h +++ b/source3/registry/reg_parse_internal.h @@ -1,6 +1,4 @@ /* Samba Unix/Linux SMB client library - * - * (C) Gregor Beck * * 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 diff --git a/source3/rpc_client/cli_netlogon.h b/source3/rpc_client/cli_netlogon.h index f84bdc9d4e1..808a4283ce7 100644 --- a/source3/rpc_client/cli_netlogon.h +++ b/source3/rpc_client/cli_netlogon.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from rpc_client/cli_netlogon.c */ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli, @@ -70,4 +48,4 @@ NTSTATUS rpccli_netlogon_set_trust_password(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 + diff --git a/source3/rpc_client/cli_spoolss.h b/source3/rpc_client/cli_spoolss.h index 926f753b677..285a34fab40 100644 --- a/source3/rpc_client/cli_spoolss.h +++ b/source3/rpc_client/cli_spoolss.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from rpc_client/cli_spoolss.c */ WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli, @@ -144,4 +122,3 @@ WERROR rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client *cli, uint32_t offered, uint32_t *count, struct spoolss_PrinterEnumValues **info); -#endif diff --git a/source3/rpc_client/init_lsa.h b/source3/rpc_client/init_lsa.h index 652bcbde320..670caed2128 100644 --- a/source3/rpc_client/init_lsa.h +++ b/source3/rpc_client/init_lsa.h @@ -1,25 +1,3 @@ -#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 . -*/ - struct lsa_String; struct lsa_StringLarge; struct lsa_AsciiString; @@ -31,4 +9,3 @@ void init_lsa_String(struct lsa_String *name, const char *s); 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 diff --git a/source3/rpc_client/init_netlogon.h b/source3/rpc_client/init_netlogon.h index 91ad3ebe47a..d87a9ea493a 100644 --- a/source3/rpc_client/init_netlogon.h +++ b/source3/rpc_client/init_netlogon.h @@ -1,28 +1,5 @@ -#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 . -*/ - /* 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 diff --git a/source3/rpc_client/init_samr.h b/source3/rpc_client/init_samr.h index b5b8b6bd33e..1ddaef66153 100644 --- a/source3/rpc_client/init_samr.h +++ b/source3/rpc_client/init_samr.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from rpc_client/init_samr.c */ void init_samr_CryptPasswordEx(const char *pwd, @@ -29,4 +7,3 @@ void init_samr_CryptPassword(const char *pwd, DATA_BLOB *session_key, struct samr_CryptPassword *pwd_buf); -#endif diff --git a/source3/rpc_client/init_spoolss.h b/source3/rpc_client/init_spoolss.h index cb19a8d9975..60ee041ae59 100644 --- a/source3/rpc_client/init_spoolss.h +++ b/source3/rpc_client/init_spoolss.h @@ -1,24 +1,3 @@ -#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 . -*/ /* The following definitions come from rpc_client/init_spoolss.c */ @@ -34,4 +13,4 @@ WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, union spoolss_PrinterData *data); void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i, struct spoolss_SetPrinterInfo2 *s); -#endif + diff --git a/source3/rpc_client/util_netlogon.h b/source3/rpc_client/util_netlogon.h index 44312482dc3..42e4326f7dc 100644 --- a/source3/rpc_client/util_netlogon.h +++ b/source3/rpc_client/util_netlogon.h @@ -1,28 +1,5 @@ -#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 . -*/ - /* 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 diff --git a/source3/rpc_server/srv_access_check.h b/source3/rpc_server/srv_access_check.h index 56ee94c7b93..27a09bd0074 100644 --- a/source3/rpc_server/srv_access_check.h +++ b/source3/rpc_server/srv_access_check.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* The following definitions come from rpc_server/srv_access_check.c */ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token, @@ -30,4 +8,3 @@ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_t void map_max_allowed_access(const struct security_token *nt_token, const struct security_unix_token *unix_token, uint32_t *pacc_requested); -#endif diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index c96e07587c0..cff417b215e 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1,50 +1,3 @@ -#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 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 . - */ /* The following definitions come from smbd/signing.c */ @@ -1183,4 +1136,3 @@ void *avahi_start_register(TALLOC_CTX *mem_ctx, struct tevent_context *ev, /* The following definitions come from smbd/msg_idmap.c */ void msg_idmap_register_msgs(struct messaging_context *ctx); -#endif diff --git a/source3/smbd/smbd.h b/source3/smbd/smbd.h index a3631c13b76..f0eb601d8cf 100644 --- a/source3/smbd/smbd.h +++ b/source3/smbd/smbd.h @@ -2,8 +2,6 @@ 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 diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index b58b2ab5de3..fa7f7120246 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -1,30 +1,3 @@ -#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 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 . - */ - /* The following definitions come from winbindd/idmap.c */ bool idmap_is_offline(void); @@ -58,5 +31,3 @@ NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid); 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 diff --git a/source4/dsdb/common/dsdb_dn.h b/source4/dsdb/common/dsdb_dn.h index db037974a9c..b713bdd27b9 100644 --- a/source4/dsdb/common/dsdb_dn.h +++ b/source4/dsdb/common/dsdb_dn.h @@ -1,24 +1,3 @@ -#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 . -*/ - enum dsdb_dn_format { DSDB_NORMAL_DN, DSDB_BINARY_DN, @@ -41,4 +20,3 @@ struct dsdb_dn { /* RMD_FLAGS component in a DN */ #define DSDB_RMD_FLAG_DELETED 1 #define DSDB_RMD_FLAG_INVISIBLE 2 -#endif diff --git a/source4/dsdb/samdb/ldb_modules/password_modules.h b/source4/dsdb/samdb/ldb_modules/password_modules.h index ea2e044d3d5..40d0144416f 100644 --- a/source4/dsdb/samdb/ldb_modules/password_modules.h +++ b/source4/dsdb/samdb/ldb_modules/password_modules.h @@ -1,25 +1,3 @@ -#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 . -*/ - /* We store these passwords under this base DN: */ #define LOCAL_BASE "cn=Passwords" -#endif diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h index d4c8689667f..f66698838d7 100644 --- a/source4/lib/events/events.h +++ b/source4/lib/events/events.h @@ -1,24 +1,5 @@ #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 . -*/ - #define TEVENT_COMPAT_DEFINES 1 #include struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx); diff --git a/source4/lib/ldb-samba/ldif_handlers.h b/source4/lib/ldb-samba/ldif_handlers.h index 028eadef396..62903c4a964 100644 --- a/source4/lib/ldb-samba/ldif_handlers.h +++ b/source4/lib/ldb-samba/ldif_handlers.h @@ -1,25 +1,6 @@ #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 . -*/ - #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" diff --git a/source4/lib/ldb/ldb_map/ldb_map_private.h b/source4/lib/ldb/ldb_map/ldb_map_private.h index 3444668e317..7faaa997088 100644 --- a/source4/lib/ldb/ldb_map/ldb_map_private.h +++ b/source4/lib/ldb/ldb_map/ldb_map_private.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "replace.h" #include "system/filesys.h" #include "system/time.h" @@ -116,4 +94,3 @@ int map_return_normal_error(struct ldb_request *req, int error); int map_return_entry(struct map_context *ac, struct ldb_reply *ares); -#endif diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.h b/source4/lib/ldb/ldb_tdb/ldb_tdb.h index 7d9986b6a2f..33313b00da9 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.h +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.h @@ -1,25 +1,3 @@ -#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 . -*/ - #include "replace.h" #include "system/filesys.h" #include "system/time.h" @@ -164,4 +142,3 @@ struct tdb_context *ltdb_wrap_open(TALLOC_CTX *mem_ctx, const char *path, int hash_size, int tdb_flags, int open_flags, mode_t mode, struct ldb_context *ldb); -#endif diff --git a/source4/libcli/raw/signing.h b/source4/libcli/raw/signing.h index ea05a97fb0b..56e977ed7c3 100644 --- a/source4/libcli/raw/signing.h +++ b/source4/libcli/raw/signing.h @@ -4,7 +4,7 @@ Unix SMB/CIFS implementation. SMB Signing - (C) Andrew Bartlett 2003-2004 + Andrew Bartlett 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 diff --git a/source4/ntvfs/cifs_posix_cli/cifsposix.h b/source4/ntvfs/cifs_posix_cli/cifsposix.h index 873313a75f7..bf9e588b74f 100644 --- a/source4/ntvfs/cifs_posix_cli/cifsposix.h +++ b/source4/ntvfs/cifs_posix_cli/cifsposix.h @@ -1,24 +1,3 @@ -#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 . -*/ struct cifspsx_private { struct ntvfs_module_context *ntvfs; @@ -57,4 +36,3 @@ struct search_state { unsigned int current_index; struct cifspsx_dir *dir; }; -#endif diff --git a/source4/ntvfs/simple/svfs.h b/source4/ntvfs/simple/svfs.h index 713573343df..e5ad3b95d95 100644 --- a/source4/ntvfs/simple/svfs.h +++ b/source4/ntvfs/simple/svfs.h @@ -1,24 +1,3 @@ -#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 . -*/ struct svfs_private { struct ntvfs_module_context *ntvfs; @@ -57,4 +36,3 @@ struct search_state { unsigned int current_index; struct svfs_dir *dir; }; -#endif diff --git a/source4/torture/basic/cxd_known.h b/source4/torture/basic/cxd_known.h index e41cc56dc6e..2fc0928dd30 100644 --- a/source4/torture/basic/cxd_known.h +++ b/source4/torture/basic/cxd_known.h @@ -1,25 +1,3 @@ -#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 . -*/ - /** * Results file used for BASE-CREATEX_* TESTS. */ @@ -8690,4 +8668,3 @@ static const struct createx_data cxd_known[] = { { .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