diff options
author | Günther Deschner <gd@samba.org> | 2011-10-17 16:08:04 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-17 16:08:04 +0200 |
commit | bc536d4893678eec2a3fbba40fb133a24761992a (patch) | |
tree | d04560ac2449825b9eba8e965ce1d1bbbf3c3057 /examples | |
parent | 234f06eae1a05a232ec1d09250badd6706b8beb2 (diff) | |
download | samba-bc536d4893678eec2a3fbba40fb133a24761992a.tar.gz samba-bc536d4893678eec2a3fbba40fb133a24761992a.tar.bz2 samba-bc536d4893678eec2a3fbba40fb133a24761992a.zip |
s3-passdb: fix the build of example pdb test module.
Guenther
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pdb/test.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/examples/pdb/test.c b/examples/pdb/test.c index 568b448d28..fb7806f951 100644 --- a/examples/pdb/test.c +++ b/examples/pdb/test.c @@ -18,41 +18,13 @@ #include "includes.h" +#include "passdb.h" static int testsam_debug_level = DBGC_ALL; #undef DBGC_CLASS #define DBGC_CLASS testsam_debug_level -/*************************************************************** - Start enumeration of the passwd list. -****************************************************************/ - -static NTSTATUS testsam_setsampwent(struct pdb_methods *methods, BOOL update, uint32 acb_mask) -{ - DEBUG(10, ("testsam_setsampwent called\n")); - return NT_STATUS_NOT_IMPLEMENTED; -} - -/*************************************************************** - End enumeration of the passwd list. -****************************************************************/ - -static void testsam_endsampwent(struct pdb_methods *methods) -{ - DEBUG(10, ("testsam_endsampwent called\n")); -} - -/***************************************************************** - Get one struct samu from the list (next in line) -*****************************************************************/ - -static NTSTATUS testsam_getsampwent(struct pdb_methods *methods, struct samu *user) -{ - DEBUG(10, ("testsam_getsampwent called\n")); - return NT_STATUS_NOT_IMPLEMENTED; -} - /****************************************************************** Lookup a name in the SAM database ******************************************************************/ @@ -116,9 +88,6 @@ NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location) /* Functions your pdb module doesn't provide should not be set, make_pdb_methods() already provide suitable defaults for missing functions */ - (*pdb_method)->setsampwent = testsam_setsampwent; - (*pdb_method)->endsampwent = testsam_endsampwent; - (*pdb_method)->getsampwent = testsam_getsampwent; (*pdb_method)->getsampwnam = testsam_getsampwnam; (*pdb_method)->getsampwsid = testsam_getsampwsid; (*pdb_method)->add_sam_account = testsam_add_sam_account; |