The Samba-Bugzilla – Attachment 9 Details for
Bug 89
the init_module fn now return's NTSTATUS...
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
module docs update
3_0-docs-02.diff (text/plain), 2.77 KB, created by
Stefan Metzmacher
on 2003-05-19 04:23:46 UTC
(
hide
)
Description:
module docs update
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2003-05-19 04:23:46 UTC
Size:
2.77 KB
patch
obsolete
>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: > </para> > > <para><programlisting> >-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); > </programlisting></para> > > <para> >@@ -99,7 +99,7 @@ The prototype for these functions is: > </para> > > <para><programlisting> >-int init_module(void); >+NTSTATUS init_module(void); > </programlisting></para> > > <para>This function should call one or more >@@ -109,11 +109,11 @@ failure.</para> > <para>For example, pdb_ldap_init() contains: </para> > > <para><programlisting> >-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; > } > </programlisting></para> > >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 > </para> > > <para><programlisting> >-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); > </programlisting></para> > > <variablelist> >+ >+<varlistentry><term>version</term> >+<listitem><para>should be filled with SMB_RPC_INTERFACE_VERSION</para></listitem> >+</varlistentry> > > <varlistentry><term>clnt</term> > <listitem><para>the Client name of the named pipe</para></listitem>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 89
: 9