summaryrefslogtreecommitdiff
path: root/source3/include/passdb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-26 17:58:55 +0100
committerVolker Lendecke <vl@samba.org>2007-12-26 18:57:15 +0100
commite70c97ef85b309d6e005c07e16a003725d21ffc8 (patch)
tree5242d8ac652b48c0e0b49638837860ba9f6cc16c /source3/include/passdb.h
parentc90f731ef21d682f808cf3da0f24510a2eaea4ff (diff)
downloadsamba-e70c97ef85b309d6e005c07e16a003725d21ffc8.tar.gz
samba-e70c97ef85b309d6e005c07e16a003725d21ffc8.tar.bz2
samba-e70c97ef85b309d6e005c07e16a003725d21ffc8.zip
Remove the sampwent interface
(This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r--source3/include/passdb.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index bb8a336b8c..b72ec6b0ba 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -242,20 +242,15 @@ struct pdb_search {
* changed to version 14 to move lookup_rids and lookup_names to return
* enum lsa_SidType rather than uint32.
* Changed to 16 for access to the trusted domain passwords (obnox).
+ * Changed to 17, the sampwent interface is gone.
*/
-#define PASSDB_INTERFACE_VERSION 16
+#define PASSDB_INTERFACE_VERSION 17
struct pdb_methods
{
const char *name; /* What name got this module */
- NTSTATUS (*setsampwent)(struct pdb_methods *, bool update, uint32 acb_mask);
-
- void (*endsampwent)(struct pdb_methods *);
-
- NTSTATUS (*getsampwent)(struct pdb_methods *, struct samu *user);
-
NTSTATUS (*getsampwnam)(struct pdb_methods *, struct samu *sam_acct, const char *username);
NTSTATUS (*getsampwsid)(struct pdb_methods *, struct samu *sam_acct, const DOM_SID *sid);