From db3d5ad3163785a5b9a69162e18b4e382c7683c1 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 30 May 2011 23:38:13 +0200 Subject: [PATCH 01/73] s3:passdb/proto.h: add GPL/copyright comment header (cherry picked from commit b3cbcd0eda4fdb993acc63c8cb6923feea067a7d) --- source3/passdb/proto.h | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index a64985c..17882a9 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -1,3 +1,39 @@ +/* + * Unix SMB/CIFS implementation. + * passdb - password and authentication handling + * + * Copyright (C) Andrew Tridgell 1992-1998 + * Copyright (C) Jeremy Allison 1995-2009 + * Copyright (C) Luke Kenneth Casson Leighton 1996-1998 + * Copyright (C) Jean François Micouleau 1998-2001 + * Copyright (C) Gerald (Jerry) Carter 2000-2006 + * Copyright (C) Simo Sorce 2000-2003,2006 + * Copyright (C) Andrew Bartlett 2001-2002 + * Copyright (C) Shahms King 2001 + * Copyright (C) Jelmer Vernooij 2002 + * Copyright (C) Rafal Szczesniak 2002 + * Copyright (C) Stefan (metze) Metzmacher 2002-2003 + * Copyright (C) Guenther Deschner 2004-2005 + * Copyright (C) Jim McDonough (jmcd@us.ibm.com) 2004-2005 + * Copyright (C) Vince Brimhall 2004-2005 + * Copyright (C) Volker Lendecke 2006 + * Copyright (C) Michael Adam 2007 + * Copyright (C) Dan Sledz 2009 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + /* The following definitions come from passdb/account_pol.c */ -- 1.7.5.2 From 08e2b021d995171560b392cdfc5aeca287ee6c9d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 30 May 2011 23:42:02 +0200 Subject: [PATCH 02/73] s3:passdb/proto.h: add _PASSDB_PROTO_H_ guard (cherry picked from commit 7d40c88695173e93606546e895731f66b87381d2) --- source3/passdb/proto.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 17882a9..8b95b72 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -34,6 +34,8 @@ * along with this program; if not, see . */ +#ifndef _PASSDB_PROTO_H_ +#define _PASSDB_PROTO_H_ /* The following definitions come from passdb/account_pol.c */ @@ -336,3 +338,5 @@ NTSTATUS pdb_tdbsam_init(void); NTSTATUS create_builtin_users(const struct dom_sid *sid); NTSTATUS create_builtin_administrators(const struct dom_sid *sid); + +#endif /* _PASSDB_PROTO_H_ */ -- 1.7.5.2 From 2189886450ad6f2faa7b383903233c2f8d74edde Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 30 May 2011 23:54:36 +0200 Subject: [PATCH 03/73] s3:auth/proto.h: add GPL/Copyright header (cherry picked from commit 1b7077204d30c4151662cf2f4547bf22baaae6fe) --- source3/auth/proto.h | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/source3/auth/proto.h b/source3/auth/proto.h index 88cc707..bda64df 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -1,3 +1,34 @@ +/* + * Unix SMB/CIFS implementation. + * Password and authentication handling + * + * Copyright (C) Andrew Tridgell 1992-2001 + * Copyright (C) Luke Kenneth Casson Leighton 1996-2000 + * Copyright (C) Jeremy Allison 1997-2001 + * Copyright (C) John H Terpsta 1999-2001 + * Copyright (C) Tim Potter 2000 + * Copyright (C) Andrew Bartlett 2001-2003 + * Copyright (C) Jelmer Vernooij 2002 + * Copyright (C) Rafal Szczesniak 2002 + * Copyright (C) Gerald Carter 2003 + * Copyright (C) Volker Lendecke 2006,2010 + * Copyright (C) Michael Adam 2007 + * Copyright (C) Dan Sledz 2009 + * Copyright (C) Simo Sorce 2010 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* The following definitions come from auth/auth.c */ -- 1.7.5.2 From bff0135aabbe9ee588f75cd8c0d6aa85171eff7f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 30 May 2011 23:57:23 +0200 Subject: [PATCH 04/73] s3:auth/proto.h: add _AUTH_PROTO_H_ guard (cherry picked from commit 9cc1410718ae16bd30a7aa24878901dd70c19f75) Conflicts: source3/auth/proto.h --- source3/auth/proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/auth/proto.h b/source3/auth/proto.h index bda64df..b23d827 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -30,6 +30,9 @@ * along with this program. If not, see . */ +#ifndef _AUTH_PROTO_H_ +#define _AUTH_PROTO_H_ + /* The following definitions come from auth/auth.c */ NTSTATUS smb_register_auth(int version, const char *name, auth_init_function init); @@ -297,3 +300,5 @@ 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 /* _AUTH_PROTO_H_ */ -- 1.7.5.2 From 8804fe542c46354ccf0084f9501f3414766d1f7b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:09:28 +0200 Subject: [PATCH 05/73] s3:locking/proto.h: add GPL/Copyright header (cherry picked from commit 93b8e90b5beb5704807834bb710f3b4f303ba5a8) --- source3/locking/proto.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 6f13096..2726a1d 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -1,3 +1,24 @@ +/* + * Unix SMB/CIFS implementation. + * Locking functions + * + * Copyright (C) Andrew Tridgell 1992-2000 + * Copyright (C) Jeremy Allison 1992-2006 + * Copyright (C) Volker Lendecke 2005 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* The following definitions come from locking/brlock.c */ -- 1.7.5.2 From bf3a0e9f91aab4cd1b29c13dc70785d883b42aad Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:10:29 +0200 Subject: [PATCH 06/73] s3:locking/proto.h: add _LOCKING_PROTO_H_ guard (cherry picked from commit ff82f77796f0d867089962f7970efbe53c51289d) --- source3/locking/proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 2726a1d..b7c8990 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -20,6 +20,9 @@ * along with this program. If not, see . */ +#ifndef _LOCKING_PROTO_H_ +#define _LOCKING_PROTO_H_ + /* The following definitions come from locking/brlock.c */ bool brl_same_context(const struct lock_context *ctx1, @@ -220,3 +223,5 @@ bool release_posix_lock_posix_flavour(files_struct *fsp, const struct lock_context *lock_ctx, const struct lock_struct *plocks, int num_locks); + +#endif /* _LOCKING_PROTO_H_ */ -- 1.7.5.2 From 1849770bdd895a471db749dde2e11be67c5c4bae Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:12:27 +0200 Subject: [PATCH 07/73] s3:smbd/proto.h: add GPL/Copyright header (cherry picked from commit e1bad49f3e6490ac7ff28b7bf8ddb8fb1447c7bd) --- source3/smbd/proto.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index cff417b..1250f27 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1,3 +1,47 @@ +/* + * Unix SMB/CIFS implementation. + * Main SMB server routines + * + * Copyright (C) Andrew Tridgell 1992-2002,2006 + * Copyright (C) Jeremy Allison 1992-2010 + * Copyright (C) Volker Lendecke 1993-2009 + * Copyright (C) John H Terpstra 1995-1998 + * Copyright (C) Luke Kenneth Casson Leighton 1996-1998 + * Copyright (C) Paul Ashton 1997-1998 + * Copyright (C) Tim Potter 1999-2000 + * Copyright (C) T.D.Lee@durham.ac.uk 1999 + * Copyright (C) Ying Chen 2000 + * Copyright (C) Shirish Kalele 2000 + * Copyright (C) Andrew Bartlett 2001-2003 + * Copyright (C) Alexander Bokovoy 2002,2005 + * Copyright (C) Simo Sorce 2001-2002,2009 + * Copyright (C) Andreas Gruenbacher 2002 + * Copyright (C) Jim McDonough 2002 + * Copyright (C) Martin Pool 2002 + * Copyright (C) Luke Howard 2003 + * Copyright (C) Stefan (metze) Metzmacher 2003,2009 + * Copyright (C) Steve French 2005 + * Copyright (C) Gerald (Jerry) Carter 2006 + * Copyright (C) James Peach 2006-2007 + * Copyright (C) Jelmer Vernooij 2002-2003 + * Copyright (C) Michael Adam 2007 + * Copyright (C) Rishi Srivatsavai 2007 + * Copyright (C) Tim Prouty 2009 + * Copyright (C) Gregor Beck 2011 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* The following definitions come from smbd/signing.c */ -- 1.7.5.2 From 776931ea1b2c3448492edef2c870e31970948b7c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:13:15 +0200 Subject: [PATCH 08/73] s3:smbd/proto.h: add _SMBD_PROTO_H_ guard (cherry picked from commit 2e6f8f7bdadd4b6e8b8c9ff2adf3dc1275c50430) --- source3/smbd/proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 1250f27..7364479 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -43,6 +43,9 @@ * along with this program. If not, see . */ +#ifndef _SMBD_PROTO_H_ +#define _SMBD_PROTO_H_ + /* The following definitions come from smbd/signing.c */ struct smbd_server_connection; @@ -1180,3 +1183,5 @@ 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 /* _SMBD_PROTO_H_ */ -- 1.7.5.2 From 088b85eb3202cfd965b0b2b5bc378a4a6a097456 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:18:26 +0200 Subject: [PATCH 09/73] s3:groupdb/proto.h: add GPL/Copyright header (cherry picked from commit f2cbced75e33c5467672b8eb5c9bc2fc82a2f7da) --- source3/groupdb/proto.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/groupdb/proto.h b/source3/groupdb/proto.h index 11162e6..bc27d13 100644 --- a/source3/groupdb/proto.h +++ b/source3/groupdb/proto.h @@ -1,3 +1,25 @@ +/* + * Unix SMB/CIFS implementation. + * Group Mapping Database + * + * Copyright (C) Andrew Tridgell 1992-2006 + * Copyright (C) Jean François Micouleau 1998-2001 + * Copyright (C) Gerald Carter 2006 + * Copyright (C) Volker Lendecke 2006 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ /* The following definitions come from groupdb/mapping.c */ -- 1.7.5.2 From 60dd7f15137269436fcd3bc656ec95eca6eb87bd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:19:22 +0200 Subject: [PATCH 10/73] s3:groupdb/proto.h: add _GROUPDB_PROTO_H_ guard (cherry picked from commit 447f0d356b4cef3e8501923d040146e782022d44) --- source3/groupdb/proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/groupdb/proto.h b/source3/groupdb/proto.h index bc27d13..db07d4d 100644 --- a/source3/groupdb/proto.h +++ b/source3/groupdb/proto.h @@ -21,6 +21,9 @@ * along with this program; if not, see . */ +#ifndef _GROUPDB_PROTO_H_ +#define _GROUPDB_PROTO_H_ + /* The following definitions come from groupdb/mapping.c */ NTSTATUS add_initial_entry(gid_t gid, const char *sid, enum lsa_SidType sid_name_use, const char *nt_name, const char *comment); @@ -95,3 +98,5 @@ 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 /* _GROUPDB_PROTO_H_ */ -- 1.7.5.2 From d9728e0e2c5bb6c8edcba570040b593c18f90d22 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:23:46 +0200 Subject: [PATCH 11/73] s3:winbindd/idmap_proto.h: add GPL/Copyright header (cherry picked from commit 88078c856976ebcad68251129ddc0556663dcf9c) --- source3/winbindd/idmap_proto.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index fa7f712..73f0500 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -1,3 +1,28 @@ +/* + * Unix SMB/CIFS implementation. + * ID Mapping + * + * Copyright (C) Tim Potter 2000 + * Copyright (C) Jim McDonough 2003 + * Copyright (C) Simo Sorce 2003-2007 + * Copyright (C) Jeremy Allison 2006 + * Copyright (C) Michael Adam 2009-2010 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + /* The following definitions come from winbindd/idmap.c */ bool idmap_is_offline(void); -- 1.7.5.2 From cb8ae70a6722635cd4dd9ef80e1eac2186366f9a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:25:05 +0200 Subject: [PATCH 12/73] s3:winbindd/idmap_proto.h: add _WINBINDD_IDMAP_PROTO_H_ guard (cherry picked from commit b88d80a97572a9d7730830f09b25a7d6dc655653) --- source3/winbindd/idmap_proto.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index 73f0500..4fa9ed1 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -22,6 +22,8 @@ * along with this program. If not, see . */ +#ifndef _WINBINDD_IDMAP_PROTO_H_ +#define _WINBINDD_IDMAP_PROTO_H_ /* The following definitions come from winbindd/idmap.c */ @@ -56,3 +58,5 @@ 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 /* _WINBINDD_IDMAP_PROTO_H_ */ -- 1.7.5.2 From ef8994118f5d7b82b7dad75aaa76f681b5664b0e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:29:17 +0200 Subject: [PATCH 13/73] s3:nmbd/nmbd_proto.h: add GPL/Copyright header (cherry picked from commit d8f269feefc3891c01788d5c74cf0954702c6022) --- source3/nmbd/nmbd_proto.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h index 1c6ec0c..0258b4a 100644 --- a/source3/nmbd/nmbd_proto.h +++ b/source3/nmbd/nmbd_proto.h @@ -1,3 +1,28 @@ +/* + * Unix SMB/CIFS implementation. + * NBT netbios routines and daemon - version 2 + * + * Copyright (C) Andrew Tridgell 1994-1998 + * Copyright (C) Jeremy Allison 1994-2005 + * Copyright (C) Luke Kenneth Casson Leighton 1994-1998 + * Copyright (C) John H Terpstra 1995-1998 + * Copyright (C) Christopher R. Hertel 1998 + * Copyright (C) Jim McDonough 2002 + * Copyright (C) Jelmer Vernooij 2002,2003 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* The following definitions come from nmbd/asyncdns.c */ -- 1.7.5.2 From 8db6796b5910f0c5ddceb34264467c348cc76e0b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:33:13 +0200 Subject: [PATCH 14/73] s3:libads/ads_proto.h: add GPL/Copyright header (cherry picked from commit 6e9c055ce28d66be76957dc0bde87655190bc622) --- source3/libads/ads_proto.h | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/source3/libads/ads_proto.h b/source3/libads/ads_proto.h index ed702de..12cbb68 100644 --- a/source3/libads/ads_proto.h +++ b/source3/libads/ads_proto.h @@ -1,3 +1,34 @@ +/* + * Unix SMB/CIFS implementation. + * ads (active directory) utility library + * + * Copyright (C) Andrew Bartlett 2001 + * Copyright (C) Andrew Tridgell 2001 + * Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001 + * Copyright (C) Alexey Kotovich 2002 + * Copyright (C) Jim McDonough 2002-2003 + * Copyright (C) Luke Howard 2003 + * Copyright (C) Guenther Deschner 2003-2008 + * Copyright (C) Rakesh Patel 2004 + * Copyright (C) Dan Perry 2004 + * Copyright (C) Jeremy Allison 2004 + * Copyright (C) Gerald Carter 2006 + * Copyright (C) Stefan Metzmacher 2007 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /* The following definitions come from libads/ads_struct.c */ char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse); -- 1.7.5.2 From 269cc4b456e78790cd725518444c620932bc83a1 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:34:17 +0200 Subject: [PATCH 15/73] s3:libads/ads_proto.h: add _LIBADS_ADS_PROTO_H_ guard (cherry picked from commit eb5db22771d1c700f881f879b98ae08c69d2203b) --- source3/libads/ads_proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/libads/ads_proto.h b/source3/libads/ads_proto.h index 12cbb68..324fa2a 100644 --- a/source3/libads/ads_proto.h +++ b/source3/libads/ads_proto.h @@ -29,6 +29,9 @@ * along with this program. If not, see . */ +#ifndef _LIBADS_ADS_PROTO_H_ +#define _LIBADS_ADS_PROTO_H_ + /* The following definitions come from libads/ads_struct.c */ char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse); @@ -183,3 +186,5 @@ 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 /* _LIBADS_ADS_PROTO_H_ */ -- 1.7.5.2 From 7b635621384f799700edac6524af66a0dc21415d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:38:18 +0200 Subject: [PATCH 16/73] s3:libads/kerberos_proto.h: add GPL/Copyright header (cherry picked from commit 6bf3228f2850b2960276f683e51ccfd6c952a62d) --- source3/libads/kerberos_proto.h | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index f23346f..8acfb45 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -1,3 +1,32 @@ +/* + * Unix SMB/CIFS implementation. + * kerberos utility library + * + * Copyright (C) Andrew Tridgell 2001 + * Copyright (C) Remus Koos (remuskoos@yahoo.com) 2001 + * Copyright (C) Luke Howard 2002-2003 + * Copyright (C) Jim McDonough 2003 + * Copyright (C) Guenther Deschner 2003-2008 + * Copyright (C) Andrew Bartlett 2004-2005 + * Copyright (C) Jeremy Allison 2004,2007 + * Copyright (C) Stefan Metzmacher 2004-2005 + * Copyright (C) Nalin Dahyabhai 2004 + * Copyright (C) Gerald Carter 2006 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + struct PAC_LOGON_INFO; #include "libads/ads_status.h" -- 1.7.5.2 From 640b5ed47ab04475ec3a5273275e1f2b0234733a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:39:09 +0200 Subject: [PATCH 17/73] s3:libads/kerberos_proto.h: add _LIBADS_KERBEROS_PROTO_H_ guard (cherry picked from commit 4c542015a1a36a230a1a5b6f4ba6b643494e1185) --- source3/libads/kerberos_proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index 8acfb45..406669cc 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -27,6 +27,9 @@ * along with this program. If not, see . */ +#ifndef _LIBADS_KERBEROS_PROTO_H_ +#define _LIBADS_KERBEROS_PROTO_H_ + struct PAC_LOGON_INFO; #include "libads/ads_status.h" @@ -98,3 +101,5 @@ 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 /* _LIBADS_KERBEROS_PROTO_H_ */ -- 1.7.5.2 From 9e6a5a005caec1aba1d5ff66eb0a0d547b49e374 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:45:06 +0200 Subject: [PATCH 18/73] s3:libgpo/gpo_proto.h: add GPL/Copyright header (cherry picked from commit 59950faddc898ea97171d2eac5759314cc1cbeb9) --- source3/libgpo/gpo_proto.h | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/source3/libgpo/gpo_proto.h b/source3/libgpo/gpo_proto.h index 8bc5874..504704e 100644 --- a/source3/libgpo/gpo_proto.h +++ b/source3/libgpo/gpo_proto.h @@ -1,3 +1,22 @@ +/* + * Unix SMB/CIFS implementation. + * Group Policy Object Support + * + * Copyright (C) Guenther Deschner 2006-2008 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ /* The following definitions come from libgpo/gpo_filesync.c */ -- 1.7.5.2 From 4420654c2d3e93c16058ad125e9c3fbe9015bb75 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 00:45:57 +0200 Subject: [PATCH 19/73] s3:libgpo/gpo_proto.h: add _LIBGPO_GPO_PROTO_H_ guard (cherry picked from commit 6ef8122cba3566d4ed177612066cbbe1b8684677) --- source3/libgpo/gpo_proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/libgpo/gpo_proto.h b/source3/libgpo/gpo_proto.h index 504704e..fa2f873 100644 --- a/source3/libgpo/gpo_proto.h +++ b/source3/libgpo/gpo_proto.h @@ -18,6 +18,9 @@ * along with this program; if not, see . */ +#ifndef _LIBGPO_GPO_PROTO_H_ +#define _LIBGPO_GPO_PROTO_H_ + /* The following definitions come from libgpo/gpo_filesync.c */ NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx, @@ -94,3 +97,5 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx, struct gp_registry_entry *entry, const struct security_token *token, uint32_t flags); + +#endif /* _LIBGPO_GPO_PROTO_H_ */ -- 1.7.5.2 From ab8cf7fa58d1e27512942b10131a4c3f64355f0a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 07:31:14 +0200 Subject: [PATCH 20/73] s3:lib/eventlog/proto.h: add GPL/Copyright header (cherry picked from commit 00530e3d0166641a4f9716067e3c5d1146b0db17) --- source3/lib/eventlog/proto.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/lib/eventlog/proto.h b/source3/lib/eventlog/proto.h index 21790d0..722b08c 100644 --- a/source3/lib/eventlog/proto.h +++ b/source3/lib/eventlog/proto.h @@ -1,3 +1,25 @@ +/* + * Unix SMB/CIFS implementation. + * Eventlog utility routines + * + * Copyright (C) Marcin Krzysztof Porwit 2005 + * Copyright (C) Brian Moran 2005 + * Copyright (C) Gerald (Jerry) Carter 2005 + * Copyright (C) Guenther Deschner 2009 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ /* The following definitions come from lib/eventlog/eventlog.c */ -- 1.7.5.2 From 9922293893b8fe57e9ebcb808f17c1983c77a833 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 07:32:15 +0200 Subject: [PATCH 21/73] s3:lib/eventlog/proto.h: add _LIB_EVENTLOG_PROTO_H_ guard (cherry picked from commit 36feb8a240a7f061e25223364c1f7ca8476a029f) --- source3/lib/eventlog/proto.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/lib/eventlog/proto.h b/source3/lib/eventlog/proto.h index 722b08c..d3341ce 100644 --- a/source3/lib/eventlog/proto.h +++ b/source3/lib/eventlog/proto.h @@ -21,6 +21,9 @@ * along with this program; if not, see . */ +#ifndef _LIB_EVENTLOG_PROTO_H_ +#define _LIB_EVENTLOG_PROTO_H_ + /* The following definitions come from lib/eventlog/eventlog.c */ TDB_CONTEXT *elog_init_tdb( char *tdbfilename ); @@ -55,3 +58,5 @@ NTSTATUS evlog_convert_tdb_to_evt(TALLOC_CTX *mem_ctx, ELOG_TDB *etdb, DATA_BLOB *blob_p, uint32_t *num_records_p); + +#endif /* _LIB_EVENTLOG_PROTO_H_ */ -- 1.7.5.2 From 48469ea227c6fd0e90823997bfd0ed4c78f84f7d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:18:51 +0200 Subject: [PATCH 22/73] s3: add GPL/Copyright header to lib/idmap_cache.h (cherry picked from commit 2b8803d458465508d0f4299248d858b9c393323e) --- source3/lib/idmap_cache.h | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h index af2ba82..c3e44c2 100644 --- a/source3/lib/idmap_cache.h +++ b/source3/lib/idmap_cache.h @@ -1,3 +1,23 @@ +/* + * Unix SMB/CIFS implementation. + * ID Mapping Cache + * + * Copyright (C) Volker Lendecke 2008 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /* The following definitions come from lib/idmap_cache.c */ bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid, -- 1.7.5.2 From 57fe594c7f256994e4cf4989df7bccee50c35d4b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:19:52 +0200 Subject: [PATCH 23/73] s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.h (cherry picked from commit c2887f060954bd0e77bc6f3ac8fedec38e26c168) --- source3/lib/idmap_cache.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h index c3e44c2..1a62dba 100644 --- a/source3/lib/idmap_cache.h +++ b/source3/lib/idmap_cache.h @@ -18,6 +18,9 @@ * along with this program. If not, see . */ +#ifndef _LIB_IDMAP_CACHE_H_ +#define _LIB_IDMAP_CACHE_H_ + /* The following definitions come from lib/idmap_cache.c */ bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid, @@ -32,3 +35,5 @@ 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 /* _LIB_IDMAP_CACHE_H_ */ -- 1.7.5.2 From 0b53a87aa1c656812d654f2f9f3b506aee23c5ca Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:24:24 +0200 Subject: [PATCH 24/73] s3:rpc_server: add GPL/Copyright header to rpc_server/srv_access_check.h (cherry picked from commit 942ae874b85570f44b3257c8d229792ede7f8fd9) --- source3/rpc_server/srv_access_check.h | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/source3/rpc_server/srv_access_check.h b/source3/rpc_server/srv_access_check.h index 27a09bd..db25ed6 100644 --- a/source3/rpc_server/srv_access_check.h +++ b/source3/rpc_server/srv_access_check.h @@ -1,3 +1,32 @@ +/* + * Unix SMB/CIFS implementation. + * RPC Pipe client / server routines + * Copyright (C) Andrew Tridgell 1992-1997, + * Copyright (C) Luke Kenneth Casson Leighton 1996-1997, + * Copyright (C) Paul Ashton 1997, + * Copyright (C) Marc Jacobsen 1999, + * Copyright (C) Jeremy Allison 2001-2008, + * Copyright (C) Jean François Micouleau 1998-2001, + * Copyright (C) Jim McDonough 2002, + * Copyright (C) Gerald (Jerry) Carter 2003-2004, + * Copyright (C) Simo Sorce 2003. + * Copyright (C) Volker Lendecke 2005. + * Copyright (C) Guenther Deschner 2008. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + /* The following definitions come from rpc_server/srv_access_check.c */ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token, -- 1.7.5.2 From 39f1470f2c567fce41b8ee6218d440a997c3c1a2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:25:34 +0200 Subject: [PATCH 25/73] s3:rpc_server: add _RPC_SERVER_SRV_ACCESS_CHECK_H_ guard to srv_access_check.h (cherry picked from commit e40331552137f513c6c2404d96adcf421212ec86) --- source3/rpc_server/srv_access_check.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/rpc_server/srv_access_check.h b/source3/rpc_server/srv_access_check.h index db25ed6..72ce539 100644 --- a/source3/rpc_server/srv_access_check.h +++ b/source3/rpc_server/srv_access_check.h @@ -27,6 +27,9 @@ * along with this program; if not, see . */ +#ifndef _RPC_SERVER_SRV_ACCESS_CHECK_H_ +#define _RPC_SERVER_SRV_ACCESS_CHECK_H_ + /* The following definitions come from rpc_server/srv_access_check.c */ NTSTATUS access_check_object( struct security_descriptor *psd, struct security_token *token, @@ -37,3 +40,5 @@ 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 /* _RPC_SERVER_SRV_ACCESS_CHECK_H_ */ -- 1.7.5.2 From 9a0028e02517c8b68a9e1635c5a07eba7c509be8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:29:34 +0200 Subject: [PATCH 26/73] s3:nmbd: add GPL/Copyright header to nmbd.h (cherry picked from commit 75cfafd69864fccacd1e6c3ca8d27b42a48dbe1c) --- source3/nmbd/nmbd.h | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/source3/nmbd/nmbd.h b/source3/nmbd/nmbd.h index e100e7d..5ee4edf 100644 --- a/source3/nmbd/nmbd.h +++ b/source3/nmbd/nmbd.h @@ -1,3 +1,23 @@ +/* + * Unix SMB/CIFS implementation. + * NBT netbios routines and daemon - version 2 + * + * Copyright (C) Guenther Deschner 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 . + */ + #ifndef HAVE_PIPE #define SYNC_DNS 1 #endif -- 1.7.5.2 From bf004740574d3e6c8073792551421cc96eb21490 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 13:30:34 +0200 Subject: [PATCH 27/73] s3:nmbd: add _NMBD_NMBD_H_ guard to nmbd.h (cherry picked from commit fdd225c3e41ed5a81ef02d39ac037818bde49c03) --- source3/nmbd/nmbd.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/nmbd/nmbd.h b/source3/nmbd/nmbd.h index 5ee4edf..47940e1 100644 --- a/source3/nmbd/nmbd.h +++ b/source3/nmbd/nmbd.h @@ -18,9 +18,14 @@ * along with this program. If not, see . */ +#ifndef _NMBD_NMBD_H_ +#define _NMBD_NMBD_H_ + #ifndef HAVE_PIPE #define SYNC_DNS 1 #endif #include "libsmb/nmblib.h" #include "nmbd/nmbd_proto.h" + +#endif /* _NMBD_NMBD_H_ */ -- 1.7.5.2 From e51f8482715c654862878aa3cb17c7e587193894 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 31 May 2011 14:32:40 +0200 Subject: [PATCH 28/73] s3:passdb: add GPL/copyright header to machine_sid.h (cherry picked from commit c0fc7aa129c25664c76b3fdb4b9150c63fe3dd70) --- source3/passdb/machine_sid.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/source3/passdb/machine_sid.h b/source3/passdb/machine_sid.h index 2da281a..12fde2f 100644 --- a/source3/passdb/machine_sid.h +++ b/source3/passdb/machine_sid.h @@ -1,3 +1,24 @@ +/* + * Unix SMB/CIFS implementation. + * Password and authentication handling + * Copyright (C) Jeremy Allison 1996-2002 + * Copyright (C) Andrew Tridgell 2002 + * Copyright (C) Gerald (Jerry) Carter 2000 + * Copyright (C) Stefan (metze) Metzmacher 2002 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* The following definitions come from passdb/machine_sid.c */ -- 1.7.5.2 From c70822147e7a6823dad837d0754256ec29fa1d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 14:56:50 +0200 Subject: [PATCH 29/73] auth/auth_sam_reply.h: fix licence/copyright Guenther (cherry picked from commit 9211f232aa597ccb5802df24c57f3eb03904ec04) --- auth/auth_sam_reply.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h index dea6501..bd92872 100644 --- a/auth/auth_sam_reply.h +++ b/auth/auth_sam_reply.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + + Convert a server info struct into the form for PAC and NETLOGON replies + + Copyright (C) Andrew Bartlett 2004 + Copyright (C) Stefan Metzmacher 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 . +*/ + #ifndef __AUTH_AUTH_SAM_REPLY_H__ #define __AUTH_AUTH_SAM_REPLY_H__ -- 1.7.5.2 From 5d1750acc710c47052813af0a80ad751a0f294d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 14:59:23 +0200 Subject: [PATCH 30/73] lib/util/data_blob.h: fix licence/copyright Guenther (cherry picked from commit a602cb2a0a0bc19121232444117486d8286e0af9) --- lib/util/data_blob.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h index 83e6cd5..558ade9 100644 --- a/lib/util/data_blob.h +++ b/lib/util/data_blob.h @@ -1,7 +1,10 @@ /* Unix SMB/CIFS implementation. DATA BLOB - + + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Andrew Bartlett 2001 + 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 -- 1.7.5.2 From 8d7c0232e6d36a319cfec03624e813e45aacda4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 14:59:35 +0200 Subject: [PATCH 31/73] lib/util/time.h: fix licence/copyright Guenther (cherry picked from commit 74610109ac3140713140038d10df644024796907) --- lib/util/time.h | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/lib/util/time.h b/lib/util/time.h index 3a40634..dd41a35 100644 --- a/lib/util/time.h +++ b/lib/util/time.h @@ -1,7 +1,12 @@ /* Unix SMB/CIFS implementation. time utility functions - + + Copyright (C) Andrew Tridgell 1992-2004 + Copyright (C) Stefan (metze) Metzmacher 2002 + Copyright (C) Jeremy Allison 2007 + Copyright (C) Andrew Bartlett 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 -- 1.7.5.2 From 034df51a613d4fc44ca8726fa4635bf30f777e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 14:59:48 +0200 Subject: [PATCH 32/73] lib/util/util_ldb.h: fix licence/copyright Guenther (cherry picked from commit 4fe4487cd9391cac813ab94d7002eac6dc722f4c) --- lib/util/util_ldb.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/lib/util/util_ldb.h b/lib/util/util_ldb.h index d2bc3b0..6691644 100644 --- a/lib/util/util_ldb.h +++ b/lib/util/util_ldb.h @@ -1,3 +1,26 @@ +/* + Unix SMB/CIFS implementation. + + common share info functions + + Copyright (C) Andrew Tridgell 2004 + Copyright (C) Tim Potter 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 + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + + #ifndef __LIB_UTIL_UTIL_LDB_H__ #define __LIB_UTIL_UTIL_LDB_H__ -- 1.7.5.2 From 70f7c6ffb1d83bef0d764644324230abb9da2a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 14:59:58 +0200 Subject: [PATCH 33/73] lib/util/util_tdb.h: fix licence/copyright Guenther (cherry picked from commit eaa400216570403e67f7f06db509ce90fba02c13) --- lib/util/util_tdb.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/lib/util/util_tdb.h b/lib/util/util_tdb.h index c11a347..c563f0d 100644 --- a/lib/util/util_tdb.h +++ b/lib/util/util_tdb.h @@ -1,3 +1,24 @@ +/* + Unix SMB/CIFS implementation. + + tdb utility functions + + Copyright (C) Andrew Tridgell 1992-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 . +*/ + #ifndef _____LIB_UTIL_UTIL_TDB_H__ #define _____LIB_UTIL_UTIL_TDB_H__ -- 1.7.5.2 From f24b7aca466d5ec20516ca8761b1b02942f6e5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:00:10 +0200 Subject: [PATCH 34/73] lib/util/wrap_xattr.h: fix licence/copyright Guenther (cherry picked from commit d228fc35f38b77877f0fd07b415df87d4ccdb812) --- lib/util/wrap_xattr.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/lib/util/wrap_xattr.h b/lib/util/wrap_xattr.h index 64b28d2..745b93d 100644 --- a/lib/util/wrap_xattr.h +++ b/lib/util/wrap_xattr.h @@ -1,3 +1,24 @@ +/* + Unix SMB/CIFS implementation. + + POSIX NTVFS backend - xattr support using filesystem xattrs + + Copyright (C) Andrew Tridgell 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 + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef __LIB_UTIL_WRAP_XATTR_H__ #define __LIB_UTIL_WRAP_XATTR_H__ -- 1.7.5.2 From 8ffef0706091155d0a91f729a687d314440635bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:00:32 +0200 Subject: [PATCH 35/73] libcli/auth/msrpc_parse.h: fix licence/copyright Guenther (cherry picked from commit f04b673aba26404fbf2c19eb57262fd1d9f3fd9d) --- libcli/auth/msrpc_parse.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/libcli/auth/msrpc_parse.h b/libcli/auth/msrpc_parse.h index d976a95..47529f2 100644 --- a/libcli/auth/msrpc_parse.h +++ b/libcli/auth/msrpc_parse.h @@ -1,3 +1,24 @@ +/* + Unix SMB/CIFS implementation. + simple kerberos5/SPNEGO routines + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Jim McDonough 2002 + Copyright (C) Andrew Bartlett 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 . +*/ + #ifndef _LIBCLI_AUTH_MSRPC_PARSE_H__ #define _LIBCLI_AUTH_MSRPC_PARSE_H__ -- 1.7.5.2 From d9b3e3dd7b4028f99480c8a47d08c50b22af5b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:00:48 +0200 Subject: [PATCH 36/73] libcli/ldap/ldap_ndr.h: fix licence/copyright Guenther (cherry picked from commit 218273841cd4180dbdb662e84d2337eaa03cea7d) --- libcli/ldap/ldap_ndr.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/libcli/ldap/ldap_ndr.h b/libcli/ldap/ldap_ndr.h index df5ee47..8b3c55d 100644 --- a/libcli/ldap/ldap_ndr.h +++ b/libcli/ldap/ldap_ndr.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS mplementation. + + wrap/unwrap NDR encoded elements for ldap calls + + Copyright (C) Andrew Tridgell 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 . + +*/ + #ifndef __LIBCLI_LDAP_LDAP_NDR_H__ #define __LIBCLI_LDAP_LDAP_NDR_H__ -- 1.7.5.2 From b5f52ae3ac2e7a949352d6723bc0b8991fbc78c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:01:03 +0200 Subject: [PATCH 37/73] libcli/nbt/nbt_proto.h: fix licence/copyright Guenther (cherry picked from commit d41519f99e784f934e025f6d982e9ed681a4adc7) --- libcli/nbt/nbt_proto.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/libcli/nbt/nbt_proto.h b/libcli/nbt/nbt_proto.h index b2e8d85..281ce25 100644 --- a/libcli/nbt/nbt_proto.h +++ b/libcli/nbt/nbt_proto.h @@ -1,3 +1,24 @@ +/* + Unix SMB/CIFS implementation. + + manipulate nbt name structures + + Copyright (C) Andrew Tridgell 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 . +*/ + #ifndef _____LIBCLI_NBT_NBT_PROTO_H__ #define _____LIBCLI_NBT_NBT_PROTO_H__ -- 1.7.5.2 From c6530a09449f5392c0d450b2ef2fcb7cbdca139b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:01:27 +0200 Subject: [PATCH 38/73] libcli/smbreadline/smbreadline.h: fix licence/copyright Guenther (cherry picked from commit faf73c72af6a3f66fda7dee3cc2ae9b69b472586) --- libcli/smbreadline/smbreadline.h | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/libcli/smbreadline/smbreadline.h b/libcli/smbreadline/smbreadline.h index 102106f..9adc4b3 100644 --- a/libcli/smbreadline/smbreadline.h +++ b/libcli/smbreadline/smbreadline.h @@ -1,3 +1,23 @@ +/* + Unix SMB/CIFS implementation. + Samba readline wrapper implementation + Copyright (C) Simo Sorce 2001 + Copyright (C) Andrew Tridgell 2001 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef __SMBREADLINE_H__ #define __SMBREADLINE_H__ -- 1.7.5.2 From c5fbf6ae940d7913903aa67edeb686e4fa769ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:01:38 +0200 Subject: [PATCH 39/73] libds/common/flag_mapping.h: fix licence/copyright Guenther (cherry picked from commit 76f0bf61efb8bd2a1d32a5d150f592f6fb72962c) --- libds/common/flag_mapping.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/libds/common/flag_mapping.h b/libds/common/flag_mapping.h index 4b1cc3b..ae721da 100644 --- a/libds/common/flag_mapping.h +++ b/libds/common/flag_mapping.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + helper mapping functions for the UF and ACB flags + + Copyright (C) Stefan (metze) Metzmacher 2002 + Copyright (C) Andrew Tridgell 2004 + Copyright (C) Matthias Dieter Wallnöfer 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 . +*/ + #ifndef __LIBDS_COMMON_FLAG_MAPPING_H__ #define __LIBDS_COMMON_FLAG_MAPPING_H__ -- 1.7.5.2 From 93dceaadf493939c56cea36293805ad3943f8ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:01:56 +0200 Subject: [PATCH 40/73] librpc/ndr/ndr_backupkey.h: fix licence/copyright Guenther (cherry picked from commit cfa1507610992b4a3caeb6d35b16ccecf7b86939) --- librpc/ndr/ndr_backupkey.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr_backupkey.h b/librpc/ndr/ndr_backupkey.h index c5c7c39..4e82f62 100644 --- a/librpc/ndr/ndr_backupkey.h +++ b/librpc/ndr/ndr_backupkey.h @@ -1,2 +1,23 @@ +/* + Unix SMB/CIFS implementation. + + routines for top backup key protocol marshalling/unmarshalling + + Copyright (C) Matthieu Patou 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 . +*/ + _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); -- 1.7.5.2 From 34b546037c56ebe16a962b6e12195e1f7a8e4cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:02:06 +0200 Subject: [PATCH 41/73] librpc/ndr/ndr_compression.h: fix licence/copyright Guenther (cherry picked from commit e9e2f3034e8771b36cfbd19a661724a6039eaca4) --- librpc/ndr/ndr_compression.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr_compression.h b/librpc/ndr/ndr_compression.h index b939f6a..1c22fbf 100644 --- a/librpc/ndr/ndr_compression.h +++ b/librpc/ndr/ndr_compression.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + + libndr compression support + + Copyright (C) Stefan Metzmacher 2005 + Copyright (C) Matthieu Suiche 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 . +*/ + #ifndef __LIBRPC_NDR_NDR_COMPRESSION_H__ #define __LIBRPC_NDR_NDR_COMPRESSION_H__ -- 1.7.5.2 From 5ab6fccd058cc26c40b4974ca2ea47e9867bc172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:02:16 +0200 Subject: [PATCH 42/73] librpc/ndr/ndr_dns.h: fix licence/copyright Guenther (cherry picked from commit 4dadee3adf4deb212f14c0a574dc0e91baa6589a) --- librpc/ndr/ndr_dns.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr_dns.h b/librpc/ndr/ndr_dns.h index d97d57f..16bf11b 100644 --- a/librpc/ndr/ndr_dns.h +++ b/librpc/ndr/ndr_dns.h @@ -1,3 +1,28 @@ +/* + Unix SMB/CIFS implementation. + + manipulate dns name structures + + Copyright (C) 2010 Kai Blin + + Heavily based on nbtname.c which is: + + Copyright (C) Andrew Tridgell 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 . +*/ + void ndr_print_dns_string(struct ndr_print *ndr, const char *name, const char *s); -- 1.7.5.2 From 49a1803215879c23b3f329554140dedce535e2fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:02:26 +0200 Subject: [PATCH 43/73] librpc/ndr/ndr_spoolss_buf.h: fix licence/copyright Guenther (cherry picked from commit 8b75b65b36f79a4d94b11d3fc599d3c884a335e0) --- librpc/ndr/ndr_spoolss_buf.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr_spoolss_buf.h b/librpc/ndr/ndr_spoolss_buf.h index c5938c0..77053cb 100644 --- a/librpc/ndr/ndr_spoolss_buf.h +++ b/librpc/ndr/ndr_spoolss_buf.h @@ -1,3 +1,26 @@ +/* + Unix SMB/CIFS implementation. + + routines for marshalling/unmarshalling spoolss subcontext buffer structures + + Copyright (C) Andrew Tridgell 2003 + Copyright (C) Tim Potter 2003 + 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 . +*/ + #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__ -- 1.7.5.2 From 2240bd141b5b7d04ef021308bb1956baf8bfa386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:02:38 +0200 Subject: [PATCH 44/73] librpc/ndr/ndr_table.h: fix licence/copyright Guenther (cherry picked from commit 768ed8b98517d0146317fd409ccaede3e53942ef) --- librpc/ndr/ndr_table.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr_table.h b/librpc/ndr/ndr_table.h index 9e8fea1..207618f 100644 --- a/librpc/ndr/ndr_table.h +++ b/librpc/ndr/ndr_table.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + + dcerpc utility functions + + Copyright (C) Andrew Tridgell 2003 + Copyright (C) Jelmer Vernooij 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 + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef _NDR_TABLE_PROTO_H_ #define _NDR_TABLE_PROTO_H_ -- 1.7.5.2 From e148b144f57281cb455bb1e44e524096dac3ad74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:02:47 +0200 Subject: [PATCH 45/73] nsswitch/pam_winbind.h: fix licence/copyright. Guenther (cherry picked from commit acf9ca5f8f9942a94e06d59cf6759837d9e4171a) --- nsswitch/pam_winbind.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h index ed92479..0d9529e 100644 --- a/nsswitch/pam_winbind.h +++ b/nsswitch/pam_winbind.h @@ -1,9 +1,55 @@ +/* + * Copyright (c) Andrew Tridgell 2000 + * Copyright (c) Tim Potter 2000 + * Copyright (c) Andrew Bartlettt 2002 + * Copyright (c) Guenther Deschner 2005-2008 + * Copyright (c) Jan Rêkorajski 1999. + * Copyright (c) Andrew G. Morgan 1996-8. + * Copyright (c) Alex O. Yuriev, 1996. + * Copyright (c) Cristian Gafton 1996. + * Copyright (C) Elliot Lee 1996, Red Hat Software. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * ALTERNATIVELY, this product may be distributed under the terms of + * the GNU Public License, in which case the provisions of the GPL are + * required INSTEAD OF the above restrictions. (This clause is + * necessary due to a potential bad interaction between the GPL and + * the restrictions contained in a BSD-style copyright.) + * + * THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ + /* pam_winbind header file (Solaris needs some macros from Linux for common PAM code) Shirish Kalele 2000 */ +#ifndef _NSSWITCH_PAM_WINBIND_H_ +#define _NSSWITCH_PAM_WINBIND_H_ + #include "../lib/replace/replace.h" #include "system/syslog.h" #include "system/time.h" @@ -175,3 +221,5 @@ 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 /* _NSSWITCH_PAM_WINBIND_H_ */ -- 1.7.5.2 From 6f527a45aaf49f4f1e045f9b397a493e581ce41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:03:31 +0200 Subject: [PATCH 46/73] nsswitch/winbind_client.h: fix licence/copyright Guenther (cherry picked from commit 850460c96c6337695dae8e601d4e1aa9d676f32d) --- nsswitch/winbind_client.h | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/nsswitch/winbind_client.h b/nsswitch/winbind_client.h index ed1c81d..905a189 100644 --- a/nsswitch/winbind_client.h +++ b/nsswitch/winbind_client.h @@ -1,3 +1,30 @@ +/* + Unix SMB/CIFS implementation. + + winbind client common code + + Copyright (C) Tim Potter 2000 + Copyright (C) Andrew Tridgell 2000 + Copyright (C) Andrew Bartlett 2002 + + + 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 . +*/ + +#ifndef _NSSWITCH_WINBIND_CLIENT_H_ +#define _NSSWITCH_WINBIND_CLIENT_H_ + #include "winbind_nss_config.h" #include "winbind_struct_protocol.h" @@ -19,3 +46,5 @@ NSS_STATUS winbindd_priv_request_response(int req_type, #define winbind_on() \ (setenv(WINBINDD_DONT_ENV, "0", 1) == 0) + +#endif /* _NSSWITCH_WINBIND_CLIENT_H_ */ -- 1.7.5.2 From e8467d00ff694d37399d8be07c14f5c8a1830055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:03:43 +0200 Subject: [PATCH 47/73] source3/include/krb5_env.h: fix licence/copyright Guenther (cherry picked from commit 0d7581b22b76774a1ef58a7eeb71df9c5bd69943) --- source3/include/krb5_env.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/source3/include/krb5_env.h b/source3/include/krb5_env.h index aa96795..0022da8 100644 --- a/source3/include/krb5_env.h +++ b/source3/include/krb5_env.h @@ -1,2 +1,26 @@ +/* + Samba Unix/Linux SMB client library + + Copyright (C) 2010 Günther Deschner + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef _INCLUDE_KRB5_ENV_H_ +#define _INCLUDE_KRB5_ENV_H_ + /* Kerberos environment variable names */ #define KRB5_ENV_CCNAME "KRB5CCNAME" + +#endif /* _INCLUDE_KRB5_ENV_H_ */ -- 1.7.5.2 From e5c81f7f06e361517bcf708d971da5b73c234e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:03:55 +0200 Subject: [PATCH 48/73] source3/include/krb5_protos.h: fix licence/copyright Guenther (cherry picked from commit ef84a5b2aafa7c90c2aaff82006a69dec485d2ab) --- source3/include/krb5_protos.h | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/source3/include/krb5_protos.h b/source3/include/krb5_protos.h index e9f282b..7b53389 100644 --- a/source3/include/krb5_protos.h +++ b/source3/include/krb5_protos.h @@ -1,3 +1,28 @@ +/* + Unix SMB/CIFS implementation. + simple kerberos5 routines for active directory + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Luke Howard 2002-2003 + Copyright (C) Andrew Bartlett 2005 + Copyright (C) Guenther Deschner 2005-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 . +*/ + +#ifndef _INCLUDE_KRB5_PROTOS_H_ +#define _INCLUDE_KRB5_PROTOS_H_ + struct PAC_DATA; struct PAC_SIGNATURE_DATA; @@ -39,6 +64,8 @@ void krb5_free_unparsed_name(krb5_context ctx, char *val); #define initialize_krb5_error_table() #endif +/* The following definitions come from libsmb/clikrb5.c */ + /* Samba wrapper function for krb5 functionality. */ bool setup_kaddr( krb5_address *pkaddr, struct sockaddr_storage *paddr); int create_kerberos_key_from_string(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype, bool no_salt); @@ -146,9 +173,9 @@ int cli_krb5_get_ticket(TALLOC_CTX *mem_ctx, time_t *tgs_expire, const char *impersonate_princ_s); -/* The following definitions come from libsmb/clikrb5.c */ - 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 /* _INCLUDE_KRB5_PROTOS_H_ */ -- 1.7.5.2 From 07cc5ad827de07f5bcff0f8d40fdaaedd87cfaf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:05 +0200 Subject: [PATCH 49/73] source3/include/mangle.h: fix licence/copyright Guenther (cherry picked from commit d357b5ce2a1eeead19760ecfad8c7d2bbf9e7622) --- source3/include/mangle.h | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/source3/include/mangle.h b/source3/include/mangle.h index c07b852..7c4602b 100644 --- a/source3/include/mangle.h +++ b/source3/include/mangle.h @@ -1,3 +1,22 @@ +/* + Unix SMB/CIFS implementation. + Name mangling interface + Copyright (C) Andrew Tridgell 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 . +*/ + #ifndef _MANGLE_H_ #define _MANGLE_H_ /* -- 1.7.5.2 From e7cd1bfff9041231003980f5627a11cb3971688b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:16 +0200 Subject: [PATCH 50/73] source3/include/smb_krb5.h: fix licence/copyright Guenther (cherry picked from commit 769f8793cff7d336ab04442208039f87147388bd) --- source3/include/smb_krb5.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/include/smb_krb5.h b/source3/include/smb_krb5.h index adbb0de..5a55d30 100644 --- a/source3/include/smb_krb5.h +++ b/source3/include/smb_krb5.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + simple kerberos5 routines for active directory + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Luke Howard 2002-2003 + Copyright (C) Andrew Bartlett 2005 + Copyright (C) Guenther Deschner 2005-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 . +*/ + #ifndef _HEADER_smb_krb5_h #define _HEADER_smb_krb5_h -- 1.7.5.2 From bb42fc657ec92bce900668e45d76284ac4ee6a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:26 +0200 Subject: [PATCH 51/73] source3/include/smb_ldap.h: fix licence/copyright Guenther (cherry picked from commit e14b60c7ee6a76c444f12b8987740602c7b5f1d3) --- source3/include/smb_ldap.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/include/smb_ldap.h b/source3/include/smb_ldap.h index 45e5868..5dc6cd0 100644 --- a/source3/include/smb_ldap.h +++ b/source3/include/smb_ldap.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Remus Koos 2001 + Copyright (C) Jim McDonough 2002 + Copyright (C) Guenther Deschner 2005 + 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 . +*/ + #ifndef _SMB_LDAP_H #define _SMB_LDAP_H -- 1.7.5.2 From fd32bd68a0919487a13fd1c26ba1fc2eeb8c16ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:36 +0200 Subject: [PATCH 52/73] source3/intl/lang_tdb.h: fix licence/copyright Guenther (cherry picked from commit 3ec4966942dc468cfd6e32bf221d4427cc6aba86) --- source3/intl/lang_tdb.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/source3/intl/lang_tdb.h b/source3/intl/lang_tdb.h index da24684..2f9c3f1 100644 --- a/source3/intl/lang_tdb.h +++ b/source3/intl/lang_tdb.h @@ -1,3 +1,24 @@ +/* + Unix SMB/CIFS implementation. + tdb based replacement for gettext + Copyright (C) Andrew Tridgell 2001 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef _INTL_LANG_TDB_H_ +#define _INTL_LANG_TDB_H_ /* The following definitions come from intl/lang_tdb.c */ @@ -5,3 +26,5 @@ 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 /* _INTL_LANG_TDB_H_ */ -- 1.7.5.2 From b13e1d22bf602886d7ae4e0924222a0609e85330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:48 +0200 Subject: [PATCH 53/73] source3/lib/netapi/libnetapi.h: fix licence/copyright Guenther (cherry picked from commit 387ddc2c295e92363c83dcd29353cdd4c56984ab) --- source3/lib/netapi/libnetapi.h | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/source3/lib/netapi/libnetapi.h b/source3/lib/netapi/libnetapi.h index 2711558..e832dea 100644 --- a/source3/lib/netapi/libnetapi.h +++ b/source3/lib/netapi/libnetapi.h @@ -1,3 +1,22 @@ +/* + * Unix SMB/CIFS implementation. + * NetApi Support + * Copyright (C) Guenther Deschner 2007-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 . + */ + #ifndef __LIBNETAPI_LIBNETAPI__ #define __LIBNETAPI_LIBNETAPI__ NET_API_STATUS NetJoinDomain(const char * server /* [in] [unique] */, -- 1.7.5.2 From 7cedf828f40750e437783a587e6443f7a3841468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:04:59 +0200 Subject: [PATCH 54/73] source3/lib/privileges.h: fix licence/copyright Guenther (cherry picked from commit 5672d83b23e89f716300940126bef0a738aa3599) --- source3/lib/privileges.h | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/source3/lib/privileges.h b/source3/lib/privileges.h index 13bc3eb..ca2a7c9 100644 --- a/source3/lib/privileges.h +++ b/source3/lib/privileges.h @@ -1,3 +1,28 @@ +/* + Unix SMB/CIFS implementation. + Privileges handling functions + Copyright (C) Jean François Micouleau 1998-2001 + Copyright (C) Simo Sorce 2002-2003 + Copyright (C) Gerald (Jerry) Carter 2005 + Copyright (C) Michael Adam 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 . +*/ + +#ifndef _LIB_PRIVILEGES_H_ +#define _LIB_PRIVILEGES_H_ + #include "../libcli/security/privileges.h" /* The following definitions come from lib/privileges.c */ @@ -16,3 +41,5 @@ 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 /* _LIB_PRIVILEGES_H_ */ -- 1.7.5.2 From 81d0f323cdc335222bc032facca7456f41641a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:09 +0200 Subject: [PATCH 55/73] source3/libads/ads_ldap_protos.h: fix licence/copyright Guenther (cherry picked from commit f2d4252dfa790b65031fe3221afe89d0e285ebd7) --- source3/libads/ads_ldap_protos.h | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/source3/libads/ads_ldap_protos.h b/source3/libads/ads_ldap_protos.h index 03869fe..0fb7134 100644 --- a/source3/libads/ads_ldap_protos.h +++ b/source3/libads/ads_ldap_protos.h @@ -1,4 +1,30 @@ /* + Unix SMB/CIFS implementation. + ads (active directory) utility library + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Remus Koos 2001 + Copyright (C) Jim McDonough 2002 + Copyright (C) Guenther Deschner 2005 + 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 . +*/ + +#ifndef _LIBADS_ADS_LDAP_PROTOS_H_ +#define _LIBADS_ADS_LDAP_PROTOS_H_ + +/* * Prototypes for ads */ @@ -112,3 +138,5 @@ ADS_STATUS ads_get_joinable_ous(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, char ***ous, size_t *num_ous); + +#endif /* _LIBADS_ADS_LDAP_PROTOS_H_ */ -- 1.7.5.2 From bce0ee32d60fa5266c6fdc39a99fd73774994d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:18 +0200 Subject: [PATCH 56/73] source3/libads/ads_status.h: fix licence/copyright Guenther (cherry picked from commit d5c5aa1c5fcc0e3c74cf1216cce7a8c767a6df2a) --- source3/libads/ads_status.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/libads/ads_status.h b/source3/libads/ads_status.h index cc8d9a5..ff7c103 100644 --- a/source3/libads/ads_status.h +++ b/source3/libads/ads_status.h @@ -1,3 +1,25 @@ +/* + Unix SMB/CIFS implementation. + ads (active directory) utility library + Copyright (C) Andrew Tridgell 2001 + Copyright (C) Remus Koos 2001 + Copyright (C) Andrew Bartlett 2001 + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #ifndef _LIBADS_ADS_STATUS_H_ #define _LIBADS_ADS_STATUS_H_ -- 1.7.5.2 From 40006e288caa6ea32b29eb1199557c481ab519f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:27 +0200 Subject: [PATCH 57/73] source3/libads/cldap.h: fix licence/copyright Guenther (cherry picked from commit 59e878ff625989d4d2e04ea017f92d29a40f4c44) --- source3/libads/cldap.h | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/source3/libads/cldap.h b/source3/libads/cldap.h index e2d05ce..d2ad4b0 100644 --- a/source3/libads/cldap.h +++ b/source3/libads/cldap.h @@ -1,3 +1,28 @@ +/* + Samba Unix/Linux SMB client library + net ads cldap functions + Copyright (C) 2001 Andrew Tridgell (tridge@samba.org) + Copyright (C) 2003 Jim McDonough (jmcd@us.ibm.com) + Copyright (C) 2008 Guenther Deschner (gd@samba.org) + Copyright (C) 2009 Stefan Metzmacher (metze@samba.org) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef _LIBADS_CLDAP_H_ +#define _LIBADS_CLDAP_H_ + #include "../libcli/netlogon/netlogon.h" /* The following definitions come from libads/cldap.c */ @@ -10,3 +35,5 @@ bool ads_cldap_netlogon_5(TALLOC_CTX *mem_ctx, const char *server, const char *realm, struct NETLOGON_SAM_LOGON_RESPONSE_EX *reply5); + +#endif /* _LIBADS_CLDAP_H_ */ -- 1.7.5.2 From be43d5ec2137b15778920c430e7277d9c2a006bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:37 +0200 Subject: [PATCH 58/73] source3/libads/ldap_schema.h: fix licence/copyright Guenther (cherry picked from commit 183835d05515b5b437bbeff5ff7685a4f08415ad) --- source3/libads/ldap_schema.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/source3/libads/ldap_schema.h b/source3/libads/ldap_schema.h index 44964dd..fc4ed07 100644 --- a/source3/libads/ldap_schema.h +++ b/source3/libads/ldap_schema.h @@ -1,3 +1,26 @@ +/* + Unix SMB/CIFS implementation. + ads (active directory) utility library + Copyright (C) Guenther Deschner 2005-2007 + Copyright (C) Gerald (Jerry) 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 . +*/ + +#ifndef _LIBADS_LDAP_SCHEMA_H_ +#define _LIBADS_LDAP_SCHEMA_H_ + /* used to remember the names of the posix attributes in AD */ /* see the rfc2307 & sfu nss backends */ @@ -55,3 +78,5 @@ 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 /* _LIBADS_LDAP_SCHEMA_H_ */ -- 1.7.5.2 From b72ccc2eb9ffed76f618e07e17289a8f2e300ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:47 +0200 Subject: [PATCH 59/73] source3/libnet/libnet_join.h: fix licence/copyright Guenther (cherry picked from commit 81f269211a80c17a33ec9f05c7847dd29b8c4251) --- source3/libnet/libnet_join.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/source3/libnet/libnet_join.h b/source3/libnet/libnet_join.h index 5659828..dccf03b 100644 --- a/source3/libnet/libnet_join.h +++ b/source3/libnet/libnet_join.h @@ -1,3 +1,26 @@ +/* + * Unix SMB/CIFS implementation. + * libnet Join Support + * Copyright (C) Gerald (Jerry) Carter 2006 + * Copyright (C) Guenther Deschner 2007-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 . + */ + +#ifndef _LIBNET_LIBNET_JOIN_H_ +#define _LIBNET_LIBNET_JOIN_H_ + /* The following definitions come from libnet/libnet_join.c */ NTSTATUS libnet_join_ok(const char *netbios_domain_name, @@ -11,3 +34,5 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx, struct libnet_JoinCtx *r); WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx, struct libnet_UnjoinCtx *r); + +#endif /* _LIBNET_LIBNET_JOIN_H_ */ -- 1.7.5.2 From 629d9441cf33c411bf1f65ef3f8fa0d5c0239315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:05:57 +0200 Subject: [PATCH 60/73] source3/libsmb/clidgram.h: fix licence/copyright Guenther (cherry picked from commit 1e9f2bdb2f7f9e809dd3044dc94018e0b5b6e8d3) --- source3/libsmb/clidgram.h | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h index 01a8a6a..a449724 100644 --- a/source3/libsmb/clidgram.h +++ b/source3/libsmb/clidgram.h @@ -1,3 +1,27 @@ +/* + Unix SMB/CIFS implementation. + client dgram calls + Copyright (C) Andrew Tridgell 1994-1998 + Copyright (C) Richard Sharpe 2001 + Copyright (C) John Terpstra 2001 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef _LIBSMB_CLIDGRAM_H_ +#define _LIBSMB_CLIDGRAM_H_ + #include "../libcli/netlogon/netlogon.h" /* The following definitions come from libsmb/clidgram.c */ @@ -21,3 +45,5 @@ NTSTATUS nbt_getdc(struct messaging_context *msg_ctx, uint32_t *pnt_version, const char **dc_name, struct netlogon_samlogon_response **samlogon_response); + +#endif /* _LIBSMB_CLIDGRAM_H_ */ -- 1.7.5.2 From ec764822e0ad044fab3a79ced5f43b4abb49ec6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:06:07 +0200 Subject: [PATCH 61/73] source3/libsmb/errormap_wbc.h: fix licence/copyright Guenther (cherry picked from commit c1058ad47607c089ba630b21df1f6b72a24a861c) --- source3/libsmb/errormap_wbc.h | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/source3/libsmb/errormap_wbc.h b/source3/libsmb/errormap_wbc.h index 2042da4..6323dee 100644 --- a/source3/libsmb/errormap_wbc.h +++ b/source3/libsmb/errormap_wbc.h @@ -1,3 +1,29 @@ +/* + * Unix SMB/CIFS implementation. + * error mapping functions + * Copyright (C) Andrew Tridgell 2001 + * Copyright (C) Andrew Bartlett 2001 + * Copyright (C) Tim Potter 2000 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#ifndef _LIBSMB_ERRORMAP_WBC_H_ +#define _LIBSMB_ERRORMAP_WBC_H_ + /* The following definitions come from libsmb/errormap_wbc.c */ NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err); + +#endif /* _LIBSMB_ERRORMAP_WBC_H_ */ -- 1.7.5.2 From a000324945e58aa417bfc38c915c05138afb4609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:06:17 +0200 Subject: [PATCH 62/73] source3/libsmb/libsmb.h: fix licence/copyright Guenther (cherry picked from commit 81b5d8538a00181af814e98af83718ef5f413868) --- source3/libsmb/libsmb.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/source3/libsmb/libsmb.h b/source3/libsmb/libsmb.h index 48d6ae5..061f317 100644 --- a/source3/libsmb/libsmb.h +++ b/source3/libsmb/libsmb.h @@ -1,6 +1,11 @@ /* Unix SMB/CIFS implementation. + Copyright (C) Andrew Tridgell 1992-1998,2001 + Copyright (C) Jeremy Allison 1998 + Copyright (C) Remus Koos 2001 + Copyright (C) Andrew Bartlett 2001 + 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 -- 1.7.5.2 From d9df30abdd2bcd0641a01210f1925a132e7e14b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:06:27 +0200 Subject: [PATCH 63/73] source3/libsmb/nmblib.h: fix licence/copyright Guenther (cherry picked from commit 005930411ccbb2793023d2a4d29bdb536d822aba) --- source3/libsmb/nmblib.h | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/source3/libsmb/nmblib.h b/source3/libsmb/nmblib.h index a6666a8..d1e89f1 100644 --- a/source3/libsmb/nmblib.h +++ b/source3/libsmb/nmblib.h @@ -1,3 +1,28 @@ +/* + Unix SMB/CIFS implementation. + handle unexpected packets + NBT netbios library routines + Copyright (C) Andrew Tridgell 1994-1998, 2000 + Copyright (C) Jeremy Allison 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 . + +*/ + +#ifndef _LIBSMB_NMBLIB_H_ +#define _LIBSMB_NMBLIB_H_ + /* The following definitions come from libsmb/unexpected.c */ #include "nameserv.h" @@ -47,3 +72,5 @@ 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 /* _LIBSMB_NMBLIB_H_ */ -- 1.7.5.2 From 7ebb7b0caf9221a64242b6a3cf0bb71a3bdf278b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:06:36 +0200 Subject: [PATCH 64/73] source3/libsmb/proto.h: fix licence/copyright Guenther (cherry picked from commit ed10726abca2194d21ea5174c2ff2cda79db499e) --- source3/libsmb/proto.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 3703c95..3b917a1 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -1,6 +1,14 @@ /* Unix SMB/CIFS implementation. + Copyright (C) Andrew Bartlett 2001-2003 + Copyright (C) Andrew Tridgell 1994-1998,2000-2001 + Copyright (C) Gerald (Jerry) Carter 2004 + Copyright (C) Jelmer Vernooij 2003 + Copyright (C) Jeremy Allison 2001-2009,2011 + Copyright (C) Stefan Metzmacher 2003,2009 + Copyright (C) Volker Lendecke 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 -- 1.7.5.2 From c4945c64dd96097e41696ff950067f3040625552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:06:49 +0200 Subject: [PATCH 65/73] source3/printing/load.h: fix licence/copyright Guenther (cherry picked from commit 942b2d5baf4347c796d823ad72754c302b38cdca) --- source3/printing/load.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/source3/printing/load.h b/source3/printing/load.h index df401a4..4611e97 100644 --- a/source3/printing/load.h +++ b/source3/printing/load.h @@ -1,4 +1,28 @@ +/* + Unix SMB/CIFS implementation. + load printer lists + Copyright (C) Andrew Tridgell 1992-2000 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef _PRINTING_LOAD_H_ +#define _PRINTING_LOAD_H_ + /* The following definitions come from printing/load.c */ void load_printers(struct tevent_context *ev, struct messaging_context *msg_ctx); + +#endif /* _PRINTING_LOAD_H_ */ -- 1.7.5.2 From 7f397062d2c5252f78a78c93ecb2900aa9f2ddeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:03 +0200 Subject: [PATCH 66/73] source3/printing/pcap.h: fix licence/copyright Guenther (cherry picked from commit ef5bcb6e23093086e1450833745b7e5b7b5d46ee) --- source3/printing/pcap.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/source3/printing/pcap.h b/source3/printing/pcap.h index 63497fd..7056213 100644 --- a/source3/printing/pcap.h +++ b/source3/printing/pcap.h @@ -2,6 +2,16 @@ Unix SMB/CIFS implementation. printcap headers + Copyright (C) Karl Auer 1993-1998 + + Re-working by Martin Kiff, 1994 + + Re-written again by Andrew Tridgell + + Modified for SVID support by Norm Jacobs, 1997 + + Modified for CUPS support by Michael Sweet, 1999 + 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 @@ -16,6 +26,9 @@ along with this program. If not, see . */ +#ifndef _PRINTING_PCAP_H_ +#define _PRINTING_PCAP_H_ + struct pcap_cache; /* The following definitions come from printing/pcap.c */ @@ -55,3 +68,5 @@ bool sysv_cache_reload(void); /* The following definitions come from printing/print_standard.c */ bool std_pcap_cache_reload(const char *pcap_name); + +#endif /* _PRINTING_PCAP_H_ */ -- 1.7.5.2 From 85c5ce902d1acf3efbb81b4f036307851a31c854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:16 +0200 Subject: [PATCH 67/73] source3/rpc_client/cli_netlogon.h: fix licence/copyright Guenther (cherry picked from commit 2d10c48259ec234ae110c60405a9da5e720302cb) --- source3/rpc_client/cli_netlogon.h | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/cli_netlogon.h b/source3/rpc_client/cli_netlogon.h index 808a428..ad59d5b 100644 --- a/source3/rpc_client/cli_netlogon.h +++ b/source3/rpc_client/cli_netlogon.h @@ -1,3 +1,28 @@ +/* + Unix SMB/CIFS implementation. + NT Domain Authentication SMB / MSRPC client + Copyright (C) Andrew Tridgell 1992-2000 + Copyright (C) Jeremy Allison 1998. + Largely re-written by Jeremy Allison (C) 2005. + Copyright (C) Guenther Deschner 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 . +*/ + +#ifndef _RPC_CLIENT_CLI_NETLOGON_H_ +#define _RPC_CLIENT_CLI_NETLOGON_H_ + /* The following definitions come from rpc_client/cli_netlogon.c */ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli, @@ -49,3 +74,4 @@ NTSTATUS rpccli_netlogon_set_trust_password(struct rpc_pipe_client *cli, const unsigned char new_trust_passwd_hash[16], enum netr_SchannelType sec_channel_type); +#endif /* _RPC_CLIENT_CLI_NETLOGON_H_ */ -- 1.7.5.2 From 1e4d3cb0765dea874a59c97636a95a97ef400a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:27 +0200 Subject: [PATCH 68/73] source3/rpc_client/cli_spoolss.h: fix licence/copyright Guenther (cherry picked from commit b95b1813b9ab53b9490d8b37af4f6ced7fea7bdb) --- source3/rpc_client/cli_spoolss.h | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/cli_spoolss.h b/source3/rpc_client/cli_spoolss.h index 285a34f..9883874 100644 --- a/source3/rpc_client/cli_spoolss.h +++ b/source3/rpc_client/cli_spoolss.h @@ -1,3 +1,30 @@ +/* + Unix SMB/CIFS implementation. + RPC pipe client + + Copyright (C) Gerald Carter 2001-2005, + Copyright (C) Tim Potter 2000-2002, + Copyright (C) Andrew Tridgell 1994-2000, + Copyright (C) Jean-Francois Micouleau 1999-2000. + Copyright (C) Jeremy Allison 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 . +*/ + +#ifndef _RPC_CLIENT_CLI_SPOOLSS_H_ +#define _RPC_CLIENT_CLI_SPOOLSS_H_ + /* The following definitions come from rpc_client/cli_spoolss.c */ WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli, @@ -122,3 +149,5 @@ WERROR rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client *cli, uint32_t offered, uint32_t *count, struct spoolss_PrinterEnumValues **info); + +#endif /* _RPC_CLIENT_CLI_SPOOLSS_H_ */ -- 1.7.5.2 From 0fc26e70a9e87d2d62cc8472809b93655dcea37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:39 +0200 Subject: [PATCH 69/73] source3/rpc_client/init_lsa.h: fix licence/copyright Guenther (cherry picked from commit 9284036ce17b569c1f2203362eacd99ebc362af6) --- source3/rpc_client/init_lsa.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/init_lsa.h b/source3/rpc_client/init_lsa.h index 670caed..e4e5c11 100644 --- a/source3/rpc_client/init_lsa.h +++ b/source3/rpc_client/init_lsa.h @@ -1,3 +1,25 @@ +/* + * Unix SMB/CIFS implementation. + * RPC Pipe client / server routines + * Copyright (C) Guenther Deschner 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 . + */ + +#ifndef _RPC_CLIENT_INIT_LSA_H_ +#define _RPC_CLIENT_INIT_LSA_H_ + struct lsa_String; struct lsa_StringLarge; struct lsa_AsciiString; @@ -9,3 +31,5 @@ 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 /* _RPC_CLIENT_INIT_LSA_H_ */ -- 1.7.5.2 From 5c474527c738b662471edeee8bb15e971f683c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:48 +0200 Subject: [PATCH 70/73] source3/rpc_client/init_netlogon.h: fix licence/copyright Guenther (cherry picked from commit f3ca8ff2bfb61cfa4b9ce2e4be93653f7b309351) --- source3/rpc_client/init_netlogon.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/init_netlogon.h b/source3/rpc_client/init_netlogon.h index d87a9ea..826d0c5 100644 --- a/source3/rpc_client/init_netlogon.h +++ b/source3/rpc_client/init_netlogon.h @@ -1,5 +1,29 @@ +/* + * Unix SMB/CIFS implementation. + * RPC Pipe client / server routines + * Copyright (C) Guenther Deschner 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 . + */ + +#ifndef _RPC_CLIENT_INIT_NETLOGON_H_ +#define _RPC_CLIENT_INIT_NETLOGON_H_ + /* 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 /* _RPC_CLIENT_INIT_NETLOGON_H_ */ -- 1.7.5.2 From a289bfaa6b350089cffa8ae505a5cbf33ba02676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:07:57 +0200 Subject: [PATCH 71/73] source3/rpc_client/init_samr.h: fix licence/copyright Guenther (cherry picked from commit 054e54e881eeab18387ae6e94cf04ecf205ebe64) --- source3/rpc_client/init_samr.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/init_samr.h b/source3/rpc_client/init_samr.h index 1ddaef6..223fa91 100644 --- a/source3/rpc_client/init_samr.h +++ b/source3/rpc_client/init_samr.h @@ -1,3 +1,25 @@ +/* + * Unix SMB/CIFS implementation. + * RPC Pipe client / server routines + * Copyright (C) Guenther Deschner 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 . + */ + +#ifndef _RPC_CLIENT_INIT_SAMR_H_ +#define _RPC_CLIENT_INIT_SAMR_H_ + /* The following definitions come from rpc_client/init_samr.c */ void init_samr_CryptPasswordEx(const char *pwd, @@ -7,3 +29,4 @@ void init_samr_CryptPassword(const char *pwd, DATA_BLOB *session_key, struct samr_CryptPassword *pwd_buf); +#endif /* _RPC_CLIENT_INIT_SAMR_H_ */ -- 1.7.5.2 From adb0e73b0f6d52d9545fb5e6cf6e9878c86a025c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:08:07 +0200 Subject: [PATCH 72/73] source3/rpc_client/init_spoolss.h: fix licence/copyright Guenther (cherry picked from commit 4942aeb9b562f3621cbe6adc8e79366887f0d4b9) --- source3/rpc_client/init_spoolss.h | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/init_spoolss.h b/source3/rpc_client/init_spoolss.h index 60ee041..a937445 100644 --- a/source3/rpc_client/init_spoolss.h +++ b/source3/rpc_client/init_spoolss.h @@ -1,3 +1,24 @@ +/* + * Unix SMB/CIFS implementation. + * RPC Pipe client / server routines + * 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 . + */ + +#ifndef _RPC_CLIENT_INIT_SPOOLSS_H_ +#define _RPC_CLIENT_INIT_SPOOLSS_H_ /* The following definitions come from rpc_client/init_spoolss.c */ @@ -14,3 +35,4 @@ WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i, struct spoolss_SetPrinterInfo2 *s); +#endif /* _RPC_CLIENT_INIT_SPOOLSS_H_ */ -- 1.7.5.2 From 8e83fb695e7dfbab5cef8dac7a4c45aa3bee03ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 10 Jun 2011 15:08:17 +0200 Subject: [PATCH 73/73] source3/rpc_client/util_netlogon.h: fix licence/copyright MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Jun 10 16:27:24 CEST 2011 on sn-devel-104 (cherry picked from commit cd16a1be9371448532be7362d3e5d3f2a1ae3df3) --- source3/rpc_client/util_netlogon.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/source3/rpc_client/util_netlogon.h b/source3/rpc_client/util_netlogon.h index 42e4326..cea9787 100644 --- a/source3/rpc_client/util_netlogon.h +++ b/source3/rpc_client/util_netlogon.h @@ -1,5 +1,29 @@ +/* + Unix SMB/CIFS implementation. + Authentication utility functions + Copyright (C) Volker Lendecke 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 . +*/ + +#ifndef _RPC_CLIENT_UTIL_NETLOGON_H_ +#define _RPC_CLIENT_UTIL_NETLOGON_H_ + /* 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 /* _RPC_CLIENT_UTIL_NETLOGON_H_ */ -- 1.7.5.2