From 8c2f72d6b86a7607e2563bb8149bb338575be2ee Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Oct 2011 17:32:41 +0200 Subject: s3-passdb: split out passdb/pdb_wbc_sam.h. Guenther --- source3/passdb/pdb_wbc_sam.c | 1 + source3/passdb/pdb_wbc_sam.h | 33 +++++++++++++++++++++++++++++++++ source3/passdb/proto.h | 4 ---- 3 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 source3/passdb/pdb_wbc_sam.h (limited to 'source3/passdb') 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 . +*/ + +#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); -- cgit