1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

Another little one: Make pdb_test.c at least compile, although its way out of

date.

Volker
(This used to be commit 5d7a14166af3daf04b570fd5f66469d5db5a3500)
This commit is contained in:
Volker Lendecke 2003-12-30 21:12:36 +00:00
parent 0ac7dcce6b
commit 2abf5f928f
2 changed files with 4 additions and 8 deletions

View File

@ -8,7 +8,7 @@ SAMBA_SRC = ../../source
SAMBA_INCL = ../../source/include
UBIQX_SRC = ../../source/ubiqx
SMBWR_SRC = ../../source/smbwrapper
CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g
CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g -I/usr/include/heimdal -fPIC
PDB_OBJS = pdb_test.so
# Default target

View File

@ -139,11 +139,7 @@ NTSTATUS testsam_init(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, const
return NT_STATUS_OK;
}
int init_module(void);
int init_module() {
if(smb_register_passdb("testsam", testsam_init, PASSDB_INTERFACE_VERSION))
return 0;
return 1;
NTSTATUS init_module(void) {
return smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam",
testsam_init);
}