summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-04 17:32:41 +0200
committerGünther Deschner <gd@samba.org>2011-10-10 18:40:40 +0200
commit8c2f72d6b86a7607e2563bb8149bb338575be2ee (patch)
tree2bf7a026ff5ea42284d1f675eeb0cbf9fe6308dc
parentefab0086ba154ef50256a66325661d7b3d636df5 (diff)
downloadsamba-8c2f72d6b86a7607e2563bb8149bb338575be2ee.tar.gz
samba-8c2f72d6b86a7607e2563bb8149bb338575be2ee.tar.bz2
samba-8c2f72d6b86a7607e2563bb8149bb338575be2ee.zip
s3-passdb: split out passdb/pdb_wbc_sam.h.
Guenther
-rw-r--r--source3/passdb/pdb_wbc_sam.c1
-rw-r--r--source3/passdb/pdb_wbc_sam.h33
-rw-r--r--source3/passdb/proto.h4
3 files changed, 34 insertions, 4 deletions
diff --git a/source3/passdb/pdb_wbc_sam.c b/source3/passdb/pdb_wbc_sam.c
index 91adc8108b..399d7580fa 100644
--- a/source3/passdb/pdb_wbc_sam.c
+++ b/source3/passdb/pdb_wbc_sam.c
@@ -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
index 0000000000..02473c9b6e
--- /dev/null
+++ b/source3/passdb/pdb_wbc_sam.h
@@ -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_ */
diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h
index fc66c2fb18..486dc3709c 100644
--- a/source3/passdb/proto.h
+++ b/source3/passdb/proto.h
@@ -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);