Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL header...
authorKarolin Seeger <kseeger@samba.org>
Tue, 7 Jun 2011 17:52:06 +0000 (19:52 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 7 Jun 2011 17:52:06 +0000 (19:52 +0200)
This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff.

94 files changed:
auth/auth_sam_reply.h
examples/libsmbclient/get_auth_data_fn.h
lib/compression/mszip.h
lib/crypto/arcfour.h
lib/crypto/crc32.h
lib/crypto/md4.h
lib/crypto/md5.h
lib/replace/hdr_replace.h
lib/replace/replace-test.h
lib/replace/system/readline.h
lib/replace/win32_replace.h
lib/talloc/talloc_testsuite.h
lib/util/data_blob.h
lib/util/time.h
lib/util/util_ldb.h
lib/util/util_tdb.h
lib/util/wrap_xattr.h
libcli/auth/libcli_auth.h
libcli/auth/msrpc_parse.h
libcli/auth/proto.h
libcli/ldap/ldap_ndr.h
libcli/nbt/nbt_proto.h
libcli/netlogon/ndr_netlogon_proto.h
libcli/netlogon/netlogon_proto.h
libcli/smbreadline/smbreadline.h
libcli/util/error.h
libds/common/flag_mapping.h
librpc/idl/idl_types.h
librpc/ndr/ndr_backupkey.h
librpc/ndr/ndr_compression.h
librpc/ndr/ndr_dns.h
librpc/ndr/ndr_spoolss_buf.h
librpc/ndr/ndr_table.h
nsswitch/pam_winbind.h
nsswitch/winbind_client.h
source3/auth/proto.h
source3/groupdb/proto.h
source3/include/ads.h
source3/include/krb5_env.h
source3/include/krb5_protos.h
source3/include/mangle.h
source3/include/smb_krb5.h
source3/include/smb_ldap.h
source3/intl/lang_tdb.h
source3/lib/eventlog/proto.h
source3/lib/idmap_cache.h
source3/lib/netapi/examples/common.h
source3/lib/netapi/libnetapi.h
source3/lib/privileges.h
source3/libads/ads_ldap_protos.h
source3/libads/ads_proto.h
source3/libads/ads_status.h
source3/libads/cldap.h
source3/libads/kerberos_proto.h
source3/libads/ldap_schema.h
source3/libgpo/gpo_proto.h
source3/libnet/libnet_join.h
source3/librpc/ndr/util.h
source3/libsmb/clidgram.h
source3/libsmb/errormap_wbc.h
source3/libsmb/libsmb.h
source3/libsmb/nmblib.h
source3/libsmb/proto.h
source3/locking/proto.h
source3/nmbd/nmbd.h
source3/nmbd/nmbd_proto.h
source3/pam_smbpass/general.h
source3/pam_smbpass/support.h
source3/passdb/machine_sid.h
source3/passdb/proto.h
source3/printing/load.h
source3/printing/pcap.h
source3/registry/reg_parse_internal.h
source3/rpc_client/cli_netlogon.h
source3/rpc_client/cli_spoolss.h
source3/rpc_client/init_lsa.h
source3/rpc_client/init_netlogon.h
source3/rpc_client/init_samr.h
source3/rpc_client/init_spoolss.h
source3/rpc_client/util_netlogon.h
source3/rpc_server/srv_access_check.h
source3/smbd/proto.h
source3/smbd/smbd.h
source3/winbindd/idmap_proto.h
source4/dsdb/common/dsdb_dn.h
source4/dsdb/samdb/ldb_modules/password_modules.h
source4/lib/events/events.h
source4/lib/ldb-samba/ldif_handlers.h
source4/lib/ldb/ldb_map/ldb_map_private.h
source4/lib/ldb/ldb_tdb/ldb_tdb.h
source4/libcli/raw/signing.h
source4/ntvfs/cifs_posix_cli/cifsposix.h
source4/ntvfs/simple/svfs.h
source4/torture/basic/cxd_known.h

index 0a972963a6faa57ad708009fb11d410cf63a56bd..dea6501257b2fa184f7613fe0ea81ae928bc1247 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* this file contains prototypes for functions that are private
index 92015a51ddbeffe67db2d7b186b323856a61d622..6b91c973375a08d5b50e88c1f306c7240daf49ef 100644 (file)
@@ -1,5 +1,3 @@
-#ifndef __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__
-#define __LIBSMBCLIENT_GET_AUTH_DATA_DN_H__
 #include <stdlib.h>
 
 static void
@@ -82,4 +80,3 @@ get_auth_data_fn(const char * pServer,
 
     krb5_set = 1;
 }
-#endif
index 0f183ef4f5211427c1e27ec81eb5c78367aa5f66..bb835f25954a2b71d57e39377989f8edfe0eb0c4 100644 (file)
@@ -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
index 17532744147a965624259dd8b9a1f088558b4630..a9f80c474d5a03d4211221fac6d067103bee179b 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #include "../lib/util/data_blob.h"
 
 struct arcfour_state {
index 34b43524b40c735185ab110533386acbf22febfc..7854abf865a4508dcf8b18d98eb0d27bf1cf1105 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 uint32_t crc32_calc_buffer(const uint8_t *buf, size_t size);
-#endif
index 6811b2161d0cfc1f31c1c1a55339fe2ad9d8c373..234e488e4ffa5cc8984505864331c677187bcf0e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 void mdfour(uint8_t *out, const uint8_t *in, int n);
-#endif
index e1dcbd35afddb73020a35c8e953cc38b5639e162..4064d6f00396e82aae362978fcea68a01fd7f470 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 struct MD5Context {
        uint32_t buf[4];
        uint32_t bits[2];
index 134e354a581eab0ece6342694200fcbb10fea111..6cfa50f809615eaa7b7eda118d2c974f1936399c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* this is a replacement header for a missing system header */
 #include "replace.h"
-#endif
index 8c299ba81dd9779fe2e60ce1e6bebb9c3a3d2b2d..95fb7abe1ce8eca97a41a85306c40d50940a7c12 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 bool torture_local_replace(struct torture_context *ctx);
 int libreplace_test_strptime(void);
 int test_readdir_os2_delete(void);
index 439b533e918160cc9e592c80c715e01ab0c76a77..e6b8fb9129b73f19af6c66c976aa8dab8e01f38b 100644 (file)
@@ -3,8 +3,6 @@
 /* 
    Unix SMB/CIFS implementation.
 
-   (C) 2001 Samba Team.
-
    Readline wrappers
    
      ** NOTE! The following LGPL license applies to the replace
index 98b9c5b04425c3d78edb0ed3fa3366fc4fcc51bf..9901e72f6efd398e23c1836b8570803cd41e9182 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #ifdef HAVE_WINSOCK2_H
 #include <winsock2.h>
 #endif
index 21607f1134e690f6a34b3236801b40f5f09fe814..acb97010416477e986d04e8b8946aab22909685b 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 struct torture_context;
 bool torture_local_talloc(struct torture_context *tctx);
 
index c3da975022f19cb5f427e1a89f447e4ab44af85b..83e6cd5f096878a9e824073a3c8f863bbf18b1d5 100644 (file)
@@ -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
index d3548966467e92b5a3580c1329657fec121676cb..3a406340f45287e9f5333b16cc7da1c0a9aa7224 100644 (file)
@@ -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
index 5257b656af06d14c401c0996d48c8496b3a84f1f..d2bc3b0ff7119132d6a03e793eeccb497549744d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 struct ldb_dn;
 
 /* The following definitions come from lib/util/util_ldb.c  */
index 24d8f48e4ba75b699282658bdd61515a0b94a5c6..c11a347e079e9316bb24cd15fec202a59578e124 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /***************************************************************
  Make a TDB_DATA and keep the const warning in one place
 ****************************************************************/
index 5dc5d28bb3dc73a699f1fc0cd9861fc6fe3db392..64b28d250cd95a1b1d071b77189b2f2e5b11c3dd 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 ssize_t wrap_fgetxattr(int fd, const char *name, void *value, size_t size);
 ssize_t wrap_getxattr(const char *path, const char *name, void *value, size_t size);
 int wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags);
index 6ee7e9d3c2e767283468e323434181f1475cbff3..c5c7a7b0fa8944f6d5af51214f47ca0e5f29bcf9 100644 (file)
@@ -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
index be492522d88894a7ca3ebf6958666a87b570b662..d976a95b737a1dd58500498b48d9a6191f48f06e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 
index b561dc12c49cd30d94de1d6538c08bdd5f4980c5..34a0052f7a4804e547c350713c18268c7bce1ddf 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 
index 2e95458d5255112f6a47bfd11c9358934a03963e..df5ee478cb96d574ab7a20214ecd12c7d470be10 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #include "librpc/gen_ndr/ndr_misc.h"
 
 char *ldap_encode_ndr_uint32(TALLOC_CTX *mem_ctx, uint32_t value);
index dee29ea828186545d786a7fc142199cd1d15ce44..b2e8d8525a6de38494f48525236938c2cc65da55 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
index 666b918ea11880b92ad19357b5e89b713446ec83..ca61c16138258706f84ae99da0b2333156d627ab 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
index 88073e56f5d22384147adb36b1fa47e029904c6a..53c7d004ee9f200335a927211b614c40adc021c9 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
index 6554e2b2deb2e6a0dcd2a3317217777bf33e7605..102106f2626fe20f31e73fb8fa169d71c39ef5a3 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 char *smb_readline(const char *prompt, void (*callback)(void),
                   char **(completion_fn)(const char *text, int start, int end));
 const char *smb_readline_get_line_buffer(void);
index fac948930bc147400d044f3ee02d8a45e0d2e83e..7b7de6c4f0fa9125dfb746d08ef63557098460a7 100644 (file)
@@ -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
index ef8a867acbdd475a74f3c95e2836558e32eac6e1..4b1cc3b05fc83a44ca188c5f384533273b7ea483 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from flag_mapping.c  */
 
 uint32_t ds_acb2uf(uint32_t acb);
index 0b6c6fc791a2413b622ba56c2f54428633ead715..023c04020ea9528c7590c77d670c30643bb8b8ea 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #define STR_ASCII      LIBNDR_FLAG_STR_ASCII
 #define STR_LEN4       LIBNDR_FLAG_STR_LEN4
 #define STR_SIZE4      LIBNDR_FLAG_STR_SIZE4
@@ -69,4 +47,3 @@
 
 #define NDR_RELATIVE_REVERSE LIBNDR_FLAG_RELATIVE_REVERSE
 #define NDR_NO_RELATIVE_REVERSE LIBNDR_FLAG_NO_RELATIVE_REVERSE
-#endif
index 39f48db084ef44dd1683386216423b65c83c8c70..c5c7c39995a329fad579664a422a0854d54dcc8f 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 _PUBLIC_ enum ndr_err_code ndr_push_bkrp_access_check_v2(struct ndr_push *ndr, int ndr_flags, const struct bkrp_access_check_v2 *r);
 _PUBLIC_ enum ndr_err_code ndr_pull_bkrp_access_check_v2(struct ndr_pull *ndr, int ndr_flags, struct bkrp_access_check_v2 *r);
-#endif
index 4fa595c8a27dd8f72a3f95d28d1923ed1f36ebe1..b939f6a42badabf2af52b3d29176c78e100c4467 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
index b6a88e6bbe50b9bf42b53207df5fa3247179319e..d97d57fdacd1a84bd52532184d4a2cc6f89e3be2 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 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
index dcc448622c598163821c6fefd527ad96a4cacd01..c5938c00c867fe9a61f131a6395513d75d64e5f1 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #undef _PRINTF_ATTRIBUTE
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
index 99df752aabc034b5cfc8e1e2a1f4e4bae56aca0f..9e8fea1db6a2ee99492fe95f860e9441221fd122 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 NTSTATUS ndr_table_register(const struct ndr_interface_table *table);
 const char *ndr_interface_name(const struct GUID *uuid, uint32_t if_version);
 int ndr_interface_num_calls(const struct GUID *uuid, uint32_t if_version);
index 01e68d5f0c352d56ff39f1505cc0e2442d4d5c79..ed924794c4866ae516c701c30034c1676e07603d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
+   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
index d63b59c7df739612768025d38695c3cf6d37b411..ed1c81ddb2b5c4fb949d05315ea70f6182276706 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index 92b16caffffb9bebf43d90ee8686b709c9c2630f..88cc7074ed147c9e582dee203f0247c472b76104 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index 3cfaaa33f14ea7278952211f903165b53f6c5413..11162e6d3c7cabf655db398fbe2af7aa310ab0f6 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index f1141110621d3bf9ae6b6b6f7d51485255c8ab72..8a8ce28e5305dd7fc80f01e23b396dba7afdb3b5 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /*
   header for ads (active directory) library routines
 
index c799aced6095406cdbc78ecaff5a8e9569a52e26..aa96795392813916525c597200369ffcc70a4cd4 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* Kerberos environment variable names */
 #define KRB5_ENV_CCNAME "KRB5CCNAME"
-
-#endif
index 52ec7b939de7c56a657ba51b8803497493834c97..e9f282b288a961080bfbe8e7dbc4c721b65c449d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 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
index 57afafcd803950dae552d38a240872e64c3267fe..c07b852453eb90404209e61a15ee3706d7ceaef6 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /*
   header for 8.3 name mangling interface 
 */
index 34ccaf7241f8bd7b87c36ae7d6d1cc30262ff9f0..adbb0debc38dc0a33c26984855b875f35ce1c5cf 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #define KRB5_PRIVATE    1       /* this file uses PRIVATE interfaces! */
 /* this file uses DEPRECATED interfaces! */
 
index 4fe0dcdfe5cf48716004d2179f909f46754f1ef4..45e586859dbd2aee051bda0136e43c69e85065ef 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #if HAVE_LBER_H
 #include <lber.h>
 #if defined(HPUX) && !defined(_LBER_TYPES_H)
index 096a583535f9dab89813da4f85a7f4846f1ef994..da246846d0d1e95680a56992d29a0258e4214cfb 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 /* 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
index 363338db6da496339ad87e623a0b2c8ed4f51dab..21790d0795c8b58fad4ffe167b6c725585ca02e5 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index 21f778b85ac94672d7d65447f4bcd7540294559b..af2ba82bf8deafaa15c0e544e7826d191ee01a88 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
-
 /* The following definitions come from lib/idmap_cache.c  */
 
 bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
@@ -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
index 043b3cdcd01c096eca2c03cb58f07dff80ff73dd..85df51d8683076abaeca010e0a1261f3c0ab6ce2 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #include <popt.h>
 
 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
+
index ae8709de506d6068d1e7ac5c5ea9571b953596ee..2711558dbc16c833faa737bfb93e27710a80edfd 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 NET_API_STATUS NetJoinDomain(const char * server /* [in] [unique] */,
                             const char * domain /* [in] [ref] */,
                             const char * account_ou /* [in] [unique] */,
index acfd38b870d2a178b96c8615489ffc1b6e2dcbb1..13bc3eb0830dd73ed941f7612c513176f2e4229c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index 98fe902447a989adcc2b777ab68aaccf2086d40e..03869fe5c998ee8e73ddd9544c68f78cc4f60211 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /*
  * 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
index 562b446a3c85fd7e5e1838fd4c014725cb0967c1..ed702de8a6c642723fafb5dcbb5e249faf262f23 100644 (file)
@@ -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 <jmcd@us.ibm.com>       2002-2003
- *  Copyright (C) Luke Howard                           2003
- *  Copyright (C) Guenther Deschner                     2003-2008
- *  Copyright (C) Rakesh Patel                          2004
- *  Copyright (C) Dan Perry                             2004
- *  Copyright (C) Jeremy Allison                        2004
- *  Copyright (C) Gerald Carter                         2006
- *  Copyright (C) Stefan Metzmacher                     2007
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
 /* The following definitions come from libads/ads_struct.c  */
 
 char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse);
@@ -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
index 1cea4cb8563ba9db053f74646c284a7b600c475d..cc8d9a5c0853b09ad533d0196de148b8744736de 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* there are 5 possible types of errors the ads subsystem can produce */
 enum ads_error_type {ENUM_ADS_ERROR_KRB5, ENUM_ADS_ERROR_GSS,
                     ENUM_ADS_ERROR_LDAP, ENUM_ADS_ERROR_SYSTEM, ENUM_ADS_ERROR_NT};
index 1727ea2368a897339bb476ff908d58d94dfd24dc..e2d05ce73130afed7fa7b095126c8943077e97ee 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index 81a7c05ffa93799a4f3f82011280fcdcde5e4def..f23346f709af9135206c3ce0cdcd2e53fb248ce4 100644 (file)
@@ -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 <jmcd@us.ibm.com>       2003
- *  Copyright (C) Guenther Deschner                     2003-2008
- *  Copyright (C) Andrew Bartlett <abartlet@samba.org>  2004-2005
- *  Copyright (C) Jeremy Allison                        2004,2007
- *  Copyright (C) Stefan Metzmacher                     2004-2005
- *  Copyright (C) Nalin Dahyabhai <nalin@redhat.com>    2004
- *  Copyright (C) Gerald Carter                         2006
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
 struct PAC_LOGON_INFO;
 
 #include "libads/ads_status.h"
@@ -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
index 8b67d389f61b08796bff4db5b8dae05488c94457..44964dd1c15ba0b98ad8c595e2a889683fa9804e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* 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
index 2b13d3ce44ddcebc71e781dbe92e617df54e57bc..8bc5874c9dde2b8625099403d475b5cec7a386a3 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 /* 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
index 8036db3023c96f7d48ed40b43ef649bd736bdb1c..5659828a5caf45cdb2ca23b3f3f22570553ffb58 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* 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
index fb7f585783eebbb29e79c3be18796d6730aaeb03..3bf9c0eb438d8da61cd72b2f5e9f2b67637825a7 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 /* The following definitions come from librpc/ndr/util.c  */
 
 _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
-#endif
index cc33e870dc08897497ca7e4a29b905d508f3cfe3..01a8a6a4049f479499f6df62d97aa80ef0b19ded 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index ea21d2787c86baca4dfa9b54ee0284500ce2950c..2042da4efca5ca2ef8ca4ef644c7acfed94c4e23 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from libsmb/errormap_wbc.c  */
 
 NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err);
-#endif
index 4dfd077041adce6f2c61ae148557d83b9510300b..48d6ae5e0e67458d3885b9aa152a4a901be447c3 100644 (file)
@@ -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
index 4bbc1233016b1466f4ea9d991fb30a224a2dec48..a6666a84c61b9efef5a2235ef409690c040dc2d3 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* 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
index 2436a5e99455aa269cf8f474e80b5dd9cd5c3b5b..3703c95b6a6299f6542826e50d4b1fe32c7d089d 100644 (file)
@@ -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
index 4e99c636c2a49c86127c9515ccaccb44e1134011..6f130961a86b4c4b70b6ee1f943ea9818204e045 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index 569ff64b352666de6898396d3717bea788dac546..e100e7d693244904ccd6e7ed1ea52c3b882272c2 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #ifndef HAVE_PIPE
 #define SYNC_DNS 1
 #endif
 
 #include "libsmb/nmblib.h"
 #include "nmbd/nmbd_proto.h"
-#endif
index 442c6afb7d89d35b35db236ecfccb87a31f7b005..1c6ec0cfe4ed2e68db5b13cb0596369817ced693 100644 (file)
@@ -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 <jmcd@us.ibm.com>       2002
- *  Copyright (C) Jelmer Vernooij                       2002,2003
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
 
 /* The following definitions come from nmbd/asyncdns.c  */
 
@@ -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
index cba45c53ef48dd1b4f165347ade94354b931fe90..6e13f8d936164b7bb54f21f056badd28bffadb4c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index d222bc5ebaaa582f6f68187255948b17d0aa2ff8..7ee77042d7fbd943b5e7a0b964295d3926ebb411 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* 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
index 9e6cba474aef262d8ed35cce229983d58841d262..2da281ac34c0b8c53226110894c929744d10c888 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index b53b605f57f0d6e79acf61658fde119100749371..a64985c70914c3ef99187c1c342f71c59a532e1c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
- */
 
 /* 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
index 0dcd8b7fc987fe8e8066c15a5ff9fb8a52bf5a43..df401a437724b8551a3ce94ca28401cc73af1992 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from printing/load.c  */
 
 void load_printers(struct tevent_context *ev,
                   struct messaging_context *msg_ctx);
-#endif
index 497a6a763a91810b4db197d6109d93a455528f95..63497fd8ec568f41c5accbfa1b00e1c9e5d585af 100644 (file)
@@ -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
index 459941415bf7e383abe1711f5824fd38569b39b0..ef5916175696e0770648dfb10a995b16bedf1966 100644 (file)
@@ -1,6 +1,4 @@
 /* Samba Unix/Linux SMB client library
- *
- * (C) Gregor Beck <gb@sernet.de>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index f84bdc9d4e16f65a55d89a8e9daf0a951beeaf32..808a4283ce74a9f39b534ccc9f52db8ed2f713c3 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from rpc_client/cli_netlogon.c  */
 
 NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
@@ -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
+
index 926f753b6778b7f916faf9707a67b3aa83eb6e09..285a34fab400a4ba57df7b9999823fd429d2fea4 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from rpc_client/cli_spoolss.c  */
 
 WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli,
@@ -144,4 +122,3 @@ WERROR rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client *cli,
                                        uint32_t offered,
                                        uint32_t *count,
                                        struct spoolss_PrinterEnumValues **info);
-#endif
index 652bcbde320b1d1cadf3e23bb7fd10ceca5b8561..670caed21288bbc848d55292c546b6fb179b924d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 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
index 91ad3ebe47ad812e4f2651fac2e71e9a821608ea..d87a9ea493aeb1633698e5b30a3c36bd7905a3e6 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from rpc_client/init_netlogon.c  */
 
 void init_netr_CryptPassword(const char *pwd,
                             unsigned char session_key[16],
                             struct netr_CryptPassword *pwd_buf);
-#endif
index b5b8b6bd33eead4e78b39b6316406304d2644f53..1ddaef66153fffaf3527d9494b35c2680d827686 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* 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
index cb19a8d99755092b5f0b407927f7a4301abb9e41..60ee041ae5962b68675f4cd00fce39e4ece67d7e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 /* 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
+
index 44312482dc323496ffd7e82faf3247e33e9b7e85..42e4326f7dc1376a9cf655829b23156759314f29 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from rpc_client/util_netlogon.c  */
 
 NTSTATUS copy_netr_SamBaseInfo(TALLOC_CTX *mem_ctx,
                               const struct netr_SamBaseInfo *in,
                               struct netr_SamBaseInfo *out);
-#endif
index 56ee94c7b935d6efea50a51c3278009c3f9596c7..27a09bd007491fc21b179ed9d3a863c4c6854c8d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* The following definitions come from rpc_server/srv_access_check.c */
 
 NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token,
@@ -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
index c96e07587c07af25d07b2c2b7ae7c9154b10c21b..cff417b215e3d1cfe5e2bc22dc4d4093dd046278 100644 (file)
@@ -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 <jmcd@us.ibm.com>       2002
- *  Copyright (C) Martin Pool                           2002
- *  Copyright (C) Luke Howard                           2003
- *  Copyright (C) Stefan (metze) Metzmacher             2003,2009
- *  Copyright (C) Steve French                          2005
- *  Copyright (C) Gerald (Jerry) Carter                 2006
- *  Copyright (C) James Peach                           2006-2007
- *  Copyright (C) Jelmer Vernooij                       2002-2003
- *  Copyright (C) Michael Adam                          2007
- *  Copyright (C) Rishi Srivatsavai                     2007
- *  Copyright (C) Tim Prouty                            2009
- *  Copyright (C) Gregor Beck                           2011
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
 
 /* The following definitions come from smbd/signing.c  */
 
@@ -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
index a3631c13b764f2510d648f81f26181c6775cd138..f0eb601d8cf25e94a76babfffb2206033c04b007 100644 (file)
@@ -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
index b58b2ab5de32c63a11f817852e2030035a3fa0f3..fa7f7120246fa1eb0a999d6f01945270775f88f7 100644 (file)
@@ -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 <jmcd@us.ibm.com> 2003
- *  Copyright (C) Simo Sorce 2003-2007
- *  Copyright (C) Jeremy Allison 2006
- *  Copyright (C) Michael Adam 2009-2010
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
 /* The following definitions come from winbindd/idmap.c  */
 
 bool idmap_is_offline(void);
@@ -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
index db037974a9c8f32795cb56f415a5f2c3f6ba8542..b713bdd27b9a76cd7196a159d4fe1ea58af38335 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 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
index ea2e044d3d5d07ea1f49977738fadc513e600a01..40d0144416fe1be2ef87f66937914ea07c0ad38f 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /* We store these passwords under this base DN: */
 
 #define LOCAL_BASE "cn=Passwords"
-#endif
index d4c8689667fac60d758ee77fcf0eeee022c7d8e1..f66698838d726b442db4624513e5527433202881 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #define TEVENT_COMPAT_DEFINES 1
 #include <tevent.h>
 struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx);
index 028eadef396b911d04850b69a3314342d38a0aa0..62903c4a964c2b617b81a445787077ab0c35aef6 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #define LDB_SYNTAX_SAMBA_SID                   "LDB_SYNTAX_SAMBA_SID"
 #define LDB_SYNTAX_SAMBA_SECURITY_DESCRIPTOR   "1.2.840.113556.1.4.907"
 #define LDB_SYNTAX_SAMBA_GUID                  "LDB_SYNTAX_SAMBA_GUID"
index 3444668e317a5a4ef3d3d53bf68c71c5cffbd1ee..7faaa9970885ac888dfe1c21c411c7135ffdc496 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index 7d9986b6a2f72c380adc8c1198d6d64ef1921fdb..33313b00da9472a3ba596fd7dd59c4dc2711c0df 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 #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
index ea05a97fb0b5f17172975b54f0011cf1a77e0fc5..56e977ed7c3465dd0e21e5a3f66723c0c6ded996 100644 (file)
@@ -4,7 +4,7 @@
    Unix SMB/CIFS implementation.
    SMB Signing
 
-   (C) Andrew Bartlett <abartlet@samba.org> 2003-2004
+   Andrew Bartlett <abartlet@samba.org> 2003-2004
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 873313a75f76579dd8578e906473945ef787f958..bf9e588b74f2cdf1e535efbdb9e739c16728379c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 struct cifspsx_private {
        struct ntvfs_module_context *ntvfs;
@@ -57,4 +36,3 @@ struct search_state {
        unsigned int current_index;
        struct cifspsx_dir *dir;
 };
-#endif
index 713573343dfddf0266fe6a7f291bfb56b89d7753..e5ad3b95d9526c84a24b935f0ca434d958e7de15 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
 
 struct svfs_private {
        struct ntvfs_module_context *ntvfs;
@@ -57,4 +36,3 @@ struct search_state {
        unsigned int current_index;
        struct svfs_dir *dir;
 };
-#endif
index e41cc56dc6ed8430dfa200d150e5f203b697d849..2fc0928dd30b33d034253d84a3bb3154de1496e1 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
-*/
-
 /**
  * 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