diff options
author | Günther Deschner <gd@samba.org> | 2011-10-10 21:53:15 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-11 12:15:36 +0200 |
commit | e5682847fa04f96f5a8546c47727d06218fc3a6c (patch) | |
tree | 41ee3d03ec1682562303182df3132ace02e6174d | |
parent | 6cc2843dc67174a795fc9a69020853f44fbca4b7 (diff) | |
download | samba-e5682847fa04f96f5a8546c47727d06218fc3a6c.tar.gz samba-e5682847fa04f96f5a8546c47727d06218fc3a6c.tar.bz2 samba-e5682847fa04f96f5a8546c47727d06218fc3a6c.zip |
s3-passdb: split out passdb/pdb_ipa.h.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 12:15:36 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/passdb/pdb_ipa.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ipa.h | 28 | ||||
-rw-r--r-- | source3/passdb/pdb_ldap.c | 1 | ||||
-rw-r--r-- | source3/passdb/proto.h | 4 |
4 files changed, 30 insertions, 4 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index 619cac18f5..f177a226e2 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -27,6 +27,7 @@ #include "smbldap.h" #include "passdb/pdb_ldap.h" +#include "passdb/pdb_ipa.h" #define IPA_KEYTAB_SET_OID "2.16.840.1.113730.3.8.3.1" #define IPA_MAGIC_ID_STR "999" diff --git a/source3/passdb/pdb_ipa.h b/source3/passdb/pdb_ipa.h new file mode 100644 index 0000000000..46e6ffe1a8 --- /dev/null +++ b/source3/passdb/pdb_ipa.h @@ -0,0 +1,28 @@ +/* + Unix SMB/CIFS implementation. + IPA helper functions for SAMBA + Copyright (C) Sumit Bose <sbose@redhat.com> 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 <http://www.gnu.org/licenses/>. + +*/ + +#ifndef _PASSDB_PDB_IPA_H_ +#define _PASSDB_PDB_IPA_H_ + +/* The following definitions come from passdb/pdb_ipa.c */ + +NTSTATUS pdb_ipa_init(void); + +#endif /* _PASSDB_PDB_IPA_H_ */ diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 9d6eb451cd..3d3d16c789 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -62,6 +62,7 @@ #include "smbldap.h" #include "passdb/pdb_ldap.h" #include "passdb/pdb_nds.h" +#include "passdb/pdb_ipa.h" /********************************************************************** Simple helper function to make stuff better readable diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 714c1d8b23..36acc313f6 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -314,10 +314,6 @@ NTSTATUS pdb_set_secret(const char *secret_name, struct security_descriptor *sd); NTSTATUS pdb_delete_secret(const char *secret_name); -/* The following definitions come from passdb/pdb_nds.c */ - -NTSTATUS pdb_ipa_init(void); - /* The following definitions come from passdb/pdb_util.c */ NTSTATUS create_builtin_users(const struct dom_sid *sid); |