diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_smbpasswd.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_smbpasswd.h | 30 | ||||
-rw-r--r-- | source3/passdb/proto.h | 4 |
3 files changed, 31 insertions, 4 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index 2cfacd3a13..6dbb72a577 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -26,6 +26,7 @@ #include "system/filesys.h" #include "../librpc/gen_ndr/samr.h" #include "../libcli/security/security.h" +#include "passdb/pdb_smbpasswd.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_smbpasswd.h b/source3/passdb/pdb_smbpasswd.h new file mode 100644 index 0000000000..ccabd38eda --- /dev/null +++ b/source3/passdb/pdb_smbpasswd.h @@ -0,0 +1,30 @@ +/* + * Unix SMB/CIFS implementation. + * SMB parameters and setup + * Copyright (C) Andrew Tridgell 1992-1998 + * Modified by Jeremy Allison 1995. + * Modified by Gerald (Jerry) Carter 2000-2001,2003 + * Modified by Andrew Bartlett 2002. + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef _PASSDB_PDB_SMBPASSWD_H_ +#define _PASSDB_PDB_SMBPASSWD_H_ + +/* The following definitions come from passdb/pdb_smbpasswd.c */ + +NTSTATUS pdb_smbpasswd_init(void) ; + +#endif /* _PASSDB_PDB_SMBPASSWD_H_ */ diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 486dc3709c..6a95454a0b 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -340,10 +340,6 @@ NTSTATUS pdb_nds_init(void); NTSTATUS pdb_ipa_init(void); -/* The following definitions come from passdb/pdb_smbpasswd.c */ - -NTSTATUS pdb_smbpasswd_init(void) ; - /* The following definitions come from passdb/pdb_util.c */ NTSTATUS create_builtin_users(const struct dom_sid *sid); |