s3-passdb: split out passdb/pdb_wbc_sam.h.
authorGünther Deschner <gd@samba.org>
Tue, 4 Oct 2011 15:32:41 +0000 (17:32 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 10 Oct 2011 16:40:40 +0000 (18:40 +0200)
Guenther

source3/passdb/pdb_wbc_sam.c
source3/passdb/pdb_wbc_sam.h [new file with mode: 0644]
source3/passdb/proto.h

index 91adc8108b31c2f692c8f111491780f247c71c7a..399d7580fad99c260301b5e13645f71789805c36 100644 (file)
@@ -39,6 +39,7 @@
 #include "includes.h"
 #include "passdb.h"
 #include "lib/winbind_util.h"
+#include "passdb/pdb_wbc_sam.h"
 
 /***************************************************************************
   Default implementations of some functions.
diff --git a/source3/passdb/pdb_wbc_sam.h b/source3/passdb/pdb_wbc_sam.h
new file mode 100644 (file)
index 0000000..02473c9
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+   Unix SMB/CIFS implementation.
+
+   Password and authentication handling by wbclient
+
+   Copyright (C) Andrew Bartlett                       2002
+   Copyright (C) Jelmer Vernooij                       2002
+   Copyright (C) Simo Sorce                            2003
+   Copyright (C) Volker Lendecke                       2006
+   Copyright (C) Dan Sledz                             2009
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _PASSDB_PDB_WBC_SAM_H_
+#define _PASSDB_PDB_WBC_SAM_H_
+
+/* The following definitions come from passdb/pdb_wbc_sam.c  */
+
+NTSTATUS pdb_wbc_sam_init(void);
+
+#endif /* _PASSDB_PDB_WBC_SAM_H_ */
index fc66c2fb18248834d7cc63d0677b283884ee5577..486dc3709c8725f2e35c1bbfd79e5d7b94167f78 100644 (file)
@@ -344,10 +344,6 @@ NTSTATUS pdb_ipa_init(void);
 
 NTSTATUS pdb_smbpasswd_init(void) ;
 
-/* The following definitions come from passdb/pdb_wbc_sam.c  */
-
-NTSTATUS pdb_wbc_sam_init(void);
-
 /* The following definitions come from passdb/pdb_util.c  */
 
 NTSTATUS create_builtin_users(const struct dom_sid *sid);