diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=*.so --exclude=.#* --exclude=Makefile --exclude=stamp-h --exclude=configure --exclude=findsmb --exclude=*proto*.h --exclude=build_env.h --exclude=tdbsam2_parse_info.h --exclude=config.* --exclude=bin --exclude=*.configure --exclude=autom4te.cache --exclude=build_options.c* 3_0/docs/docbook/devdoc/modules.xml 3_0-vfs/docs/docbook/devdoc/modules.xml --- 3_0/docs/docbook/devdoc/modules.xml Thu May 1 15:56:21 2003 +++ 3_0-vfs/docs/docbook/devdoc/modules.xml Mon May 19 08:06:21 2003 @@ -40,7 +40,7 @@ the passdb subsystem has: -BOOL smb_register_passdb(const char *name, pdb_init_function init, int version); +NTSTATUS smb_register_passdb(int version, const char *name, pdb_init_function init); @@ -99,7 +99,7 @@ The prototype for these functions is: -int init_module(void); +NTSTATUS init_module(void); This function should call one or more @@ -109,11 +109,11 @@ failure. For example, pdb_ldap_init() contains: -int pdb_ldap_init(void) +NTSTATUS pdb_ldap_init(void) { - smb_register_passdb("ldapsam", pdb_init_ldapsam, PASSDB_INTERFACE_VERSION); - smb_register_passdb("ldapsam_nua", pdb_init_ldapsam_nua, PASSDB_INTERFACE_VERSION); - return TRUE; + smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam", pdb_init_ldapsam); + smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam_compat", pdb_init_ldapsam_compat); + return NT_STATUS_OK; } diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=*.so --exclude=.#* --exclude=Makefile --exclude=stamp-h --exclude=configure --exclude=findsmb --exclude=*proto*.h --exclude=build_env.h --exclude=tdbsam2_parse_info.h --exclude=config.* --exclude=bin --exclude=*.configure --exclude=autom4te.cache --exclude=build_options.c* 3_0/docs/docbook/devdoc/rpc_plugin.xml 3_0-vfs/docs/docbook/devdoc/rpc_plugin.xml --- 3_0/docs/docbook/devdoc/rpc_plugin.xml Thu May 1 15:56:21 2003 +++ 3_0-vfs/docs/docbook/devdoc/rpc_plugin.xml Mon May 19 08:04:30 2003 @@ -50,11 +50,15 @@ rpc_pipe_register_commands(). This func -int rpc_pipe_register_commands(const char *clnt, const char *srv, +NTSTATUS rpc_pipe_register_commands(int version, const char *clnt, const char *srv, const struct api_struct *cmds, int size); + +version +should be filled with SMB_RPC_INTERFACE_VERSION + clnt the Client name of the named pipe