Displaying 2 results from an estimated 2 matches for "testsam_init".
2003 Sep 26
1
how set samba use mysql
...st.c
mkdir .libs
gcc -I../../source -I../../source/include -I../../source/ubiqx
-I../../source/smbwrapper -Wall -g -c pdb_test.c -fPIC -DPIC -o
.libs/pdb_test.lo
In file included from pdb_test.c:21:
../../source/include/includes.h:896:19: proto.h: No such file or directory
pdb_test.c: In function `testsam_init':
pdb_test.c:111: warning: implicit declaration of function `make_pdb_methods'
pdb_test.c:111: incompatible types in assignment
pdb_test.c:129: warning: implicit declaration of function `debug_add_class'
pdb_test.c: In function `init_module':
pdb_test.c:145: warning: implicit declar...
2006 Jul 12
1
updated samba-3.0.23/examples/pdb/test.c
...existing struct samu
****************************************************************************/
static NTSTATUS testsam_add_sam_account (struct pdb_methods *methods, struct samu *newpwd)
{
DEBUG(10, ("testsam_add_sam_account called\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
{
NTSTATUS nt_status;
if (!NT_STATUS_IS_OK(nt_status = make_pdb_method( pdb_method ))) {
return nt_status;
}
(*pdb_method)->name = "testsam";
/* Functions your pdb module doesn't provide should not be
set, make_pd...