summaryrefslogtreecommitdiffstats
path: root/source4/torture
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-07-25 23:17:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:18 -0500
commita47313851f53f71c38825a4e37f49326d2d5d014 (patch)
tree946041395a6dd255446b6f1703250803729764fb /source4/torture
parent890c42045dde106d855894d879aaead651cba16f (diff)
downloadsamba-a47313851f53f71c38825a4e37f49326d2d5d014.tar.gz
samba-a47313851f53f71c38825a4e37f49326d2d5d014.tar.xz
samba-a47313851f53f71c38825a4e37f49326d2d5d014.zip
r24051: more monitor function calls and monitor msg names
convention change. rafal (This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/userinfo.c6
-rw-r--r--source4/torture/libnet/userman.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index b1c48d9f393..42050419f9f 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -226,16 +226,16 @@ static void msg_handler(struct monitor_msg *m)
struct msg_rpc_close_user *msg_close;
switch (m->type) {
- case rpc_open_user:
+ case mon_SamrOpenUser:
msg_open = (struct msg_rpc_open_user*)m->data;
printf("monitor_msg: user opened (rid=%d, access_mask=0x%08x)\n",
msg_open->rid, msg_open->access_mask);
break;
- case rpc_query_user:
+ case mon_SamrQueryUser:
msg_query = (struct msg_rpc_query_user*)m->data;
printf("monitor_msg: user queried (level=%d)\n", msg_query->level);
break;
- case rpc_close_user:
+ case mon_SamrCloseUser:
msg_close = (struct msg_rpc_close_user*)m->data;
printf("monitor_msg: user closed (rid=%d)\n", msg_close->rid);
break;
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index c754c926265..7ffbe43fbbe 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -104,7 +104,7 @@ static void msg_handler(struct monitor_msg *m)
struct msg_rpc_create_user *msg_create;
switch (m->type) {
- case rpc_create_user:
+ case mon_SamrCreateUser:
msg_create = (struct msg_rpc_create_user*)m->data;
printf("monitor_msg: user created (rid=%d)\n", msg_create->rid);
break;