summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-02-02 13:28:29 +0000
committerStefan Metzmacher <metze@samba.org>2004-02-02 13:28:29 +0000
commit894e02f80c254da4edca5dbae99561d205c63fbe (patch)
tree5c93f4405c03e62ce6fcdab2c557c2a915baf466 /source4/rpc_server
parentada1de721ab17e83cfedf9d68adec750de626317 (diff)
downloadsamba-894e02f80c254da4edca5dbae99561d205c63fbe.tar.gz
samba-894e02f80c254da4edca5dbae99561d205c63fbe.tar.bz2
samba-894e02f80c254da4edca5dbae99561d205c63fbe.zip
some DEBUG and comment fixes
metze (This used to be commit 5ac4f878687eb0fa95a2e5830a8372168a27d3b3)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c8
-rw-r--r--source4/rpc_server/dcerpc_server.h5
-rw-r--r--source4/rpc_server/remote/dcesrv_remote.c2
3 files changed, 10 insertions, 5 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 0553537cb5..a17910e1d5 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -233,7 +233,7 @@ NTSTATUS dcesrv_interface_register(struct dcesrv_context *dce_ctx,
DLIST_ADD(dce_ctx->endpoint_list, ep);
}
- DEBUG(3,("dcesrv_interface_register: interface '%s' registered on endpoint '%s'\n",
+ DEBUG(4,("dcesrv_interface_register: interface '%s' registered on endpoint '%s'\n",
iface->ndr->name, ep_name));
return NT_STATUS_OK;
@@ -1019,7 +1019,7 @@ static NTSTATUS decrpc_register_ep_server(void *_ep_server)
if (dcesrv_ep_server_byname(ep_server->name) != NULL) {
/* its already registered! */
- DEBUG(1,("DCERPC endpoint server '%s' already registered\n",
+ DEBUG(0,("DCERPC endpoint server '%s' already registered\n",
ep_server->name));
return NT_STATUS_OBJECT_NAME_COLLISION;
}
@@ -1034,7 +1034,7 @@ static NTSTATUS decrpc_register_ep_server(void *_ep_server)
num_ep_servers++;
- DEBUG(1,("DCERPC module '%s' registered\n",
+ DEBUG(3,("DCERPC endpoint server '%s' registered\n",
ep_server->name));
return NT_STATUS_OK;
@@ -1095,6 +1095,6 @@ BOOL dcesrv_init(void)
/* FIXME: Perhaps panic if a basic endpoint server, such as EPMAPER, fails to initialise? */
static_init_dcerpc;
- DEBUG(1,("DCERPC subsystem version %d initialised\n", DCERPC_MODULE_VERSION));
+ DEBUG(3,("DCERPC subsystem version %d initialised\n", DCERPC_MODULE_VERSION));
return True;
}
diff --git a/source4/rpc_server/dcerpc_server.h b/source4/rpc_server/dcerpc_server.h
index 411bf400bf..08f3178689 100644
--- a/source4/rpc_server/dcerpc_server.h
+++ b/source4/rpc_server/dcerpc_server.h
@@ -21,6 +21,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef SAMBA_DCERPC_SERVER_H
+#define SAMBA_DCERPC_SERVER_H
+
/* modules can use the following to determine if the interface has changed
* please increment the version number after each interface change
* with a comment and maybe update struct dcesrv_critical_sizes.
@@ -183,3 +186,5 @@ struct dcesrv_critical_sizes {
int sizeof_dcesrv_auth;
int sizeof_dcesrv_handle;
};
+
+#endif /* SAMBA_DCERPC_SERVER_H */
diff --git a/source4/rpc_server/remote/dcesrv_remote.c b/source4/rpc_server/remote/dcesrv_remote.c
index 381c79135c..2ca7fe326f 100644
--- a/source4/rpc_server/remote/dcesrv_remote.c
+++ b/source4/rpc_server/remote/dcesrv_remote.c
@@ -187,7 +187,7 @@ NTSTATUS dcerpc_remote_init(void)
ep_server.interface_by_uuid = remote_op_interface_by_uuid;
ep_server.interface_by_name = remote_op_interface_by_name;
- /* register ourselves with the NTVFS subsystem. */
+ /* register ourselves with the DCERPC subsystem. */
ret = register_backend("dcerpc", &ep_server);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register 'remote' endpoint server!\n"));