summaryrefslogtreecommitdiff
path: root/examples/pdb/pdb_test.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-10 20:14:32 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-10 20:14:32 +0000
commit3fce46ac7d790fbe9fcdd2426277857612bb252a (patch)
treefa58e8c28b6a20bfd97ed710ed18a51de0c1ea3b /examples/pdb/pdb_test.c
parent6633633f7dc41a2b0abae2ce913f5c9c69d15d15 (diff)
downloadsamba-3fce46ac7d790fbe9fcdd2426277857612bb252a.tar.gz
samba-3fce46ac7d790fbe9fcdd2426277857612bb252a.tar.bz2
samba-3fce46ac7d790fbe9fcdd2426277857612bb252a.zip
Adding pdb_xml and pdb_mysql passdb modules.
Added some consts to pdb_test to follow pdb_methods struct more strictly (This used to be commit bb1c4501992650a5e26b4bc743aeae551852becc)
Diffstat (limited to 'examples/pdb/pdb_test.c')
-rw-r--r--examples/pdb/pdb_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pdb/pdb_test.c b/examples/pdb/pdb_test.c
index d2722d2e03..b46fe24bd6 100644
--- a/examples/pdb/pdb_test.c
+++ b/examples/pdb/pdb_test.c
@@ -71,7 +71,7 @@ static BOOL testsam_getsampwnam (struct pdb_methods *methods, SAM_ACCOUNT *user,
Search by sid
**************************************************************************/
-static BOOL testsam_getsampwsid (struct pdb_methods *methods, SAM_ACCOUNT *user, DOM_SID sid)
+static BOOL testsam_getsampwsid (struct pdb_methods *methods, SAM_ACCOUNT *user, const DOM_SID *sid)
{
DEBUG(10, ("testsam_getsampwsid called\n"));
return False;
@@ -81,7 +81,7 @@ static BOOL testsam_getsampwsid (struct pdb_methods *methods, SAM_ACCOUNT *user,
Delete a SAM_ACCOUNT
****************************************************************************/
-static BOOL testsam_delete_sam_account(struct pdb_methods *methods, const SAM_ACCOUNT *sam_pass)
+static BOOL testsam_delete_sam_account(struct pdb_methods *methods, SAM_ACCOUNT *sam_pass)
{
DEBUG(10, ("testsam_delete_sam_account called\n"));
return False;
@@ -91,7 +91,7 @@ static BOOL testsam_delete_sam_account(struct pdb_methods *methods, const SAM_AC
Modifies an existing SAM_ACCOUNT
****************************************************************************/
-static BOOL testsam_update_sam_account (struct pdb_methods *methods, const SAM_ACCOUNT *newpwd)
+static BOOL testsam_update_sam_account (struct pdb_methods *methods, SAM_ACCOUNT *newpwd)
{
DEBUG(10, ("testsam_update_sam_account called\n"));
return False;
@@ -101,7 +101,7 @@ static BOOL testsam_update_sam_account (struct pdb_methods *methods, const SAM_A
Adds an existing SAM_ACCOUNT
****************************************************************************/
-static BOOL testsam_add_sam_account (struct pdb_methods *methods, const SAM_ACCOUNT *newpwd)
+static BOOL testsam_add_sam_account (struct pdb_methods *methods, SAM_ACCOUNT *newpwd)
{
DEBUG(10, ("testsam_add_sam_account called\n"));
return False;