diff options
author | Rafal Szczesniak <mimir@samba.org> | 2007-07-25 23:17:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:18 -0500 |
commit | a47313851f53f71c38825a4e37f49326d2d5d014 (patch) | |
tree | 946041395a6dd255446b6f1703250803729764fb /source4/libnet/userman.c | |
parent | 890c42045dde106d855894d879aaead651cba16f (diff) | |
download | samba-a47313851f53f71c38825a4e37f49326d2d5d014.tar.gz samba-a47313851f53f71c38825a4e37f49326d2d5d014.tar.bz2 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/libnet/userman.c')
-rw-r--r-- | source4/libnet/userman.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c index 94448535cd..2efb892155 100644 --- a/source4/libnet/userman.c +++ b/source4/libnet/userman.c @@ -85,7 +85,7 @@ static void useradd_handler(struct rpc_request *req) c->status = useradd_create(c, s); /* prepare a message to pass to monitor function */ - msg.type = rpc_create_user; + msg.type = mon_SamrCreateUser; rpc_create = talloc(s, struct msg_rpc_create_user); rpc_create->rid = *s->createuser.out.rid; msg.data = (void*)rpc_create; @@ -350,7 +350,7 @@ static void userdel_handler(struct rpc_request *req) c->status = userdel_lookup(c, s); /* monitor message */ - msg.type = rpc_lookup_name; + msg.type = mon_SamrLookupName; msg_lookup = talloc(s, struct msg_rpc_lookup_name); msg_lookup->rid = s->lookupname.out.rids.ids; @@ -363,7 +363,7 @@ static void userdel_handler(struct rpc_request *req) c->status = userdel_open(c, s); /* monitor message */ - msg.type = rpc_open_user; + msg.type = mon_SamrOpenUser; msg_open = talloc(s, struct msg_rpc_open_user); msg_open->rid = s->openuser.in.rid; @@ -376,7 +376,7 @@ static void userdel_handler(struct rpc_request *req) c->status = userdel_delete(c, s); /* monitor message */ - msg.type = rpc_delete_user; + msg.type = mon_SamrDeleteUser; msg.data = NULL; msg.data_size = 0; break; @@ -829,7 +829,7 @@ static void usermod_handler(struct rpc_request *req) if (NT_STATUS_IS_OK(c->status)) { /* monitor message */ - msg.type = rpc_lookup_name; + msg.type = mon_SamrLookupName; msg_lookup = talloc(s, struct msg_rpc_lookup_name); msg_lookup->rid = s->lookupname.out.rids.ids; @@ -844,7 +844,7 @@ static void usermod_handler(struct rpc_request *req) if (NT_STATUS_IS_OK(c->status)) { /* monitor message */ - msg.type = rpc_open_user; + msg.type = mon_SamrOpenUser; msg_open = talloc(s, struct msg_rpc_open_user); msg_open->rid = s->openuser.in.rid; @@ -859,7 +859,7 @@ static void usermod_handler(struct rpc_request *req) if (NT_STATUS_IS_OK(c->status)) { /* monitor message */ - msg.type = rpc_query_user; + msg.type = mon_SamrQueryUser; msg.data = NULL; msg.data_size = 0; } @@ -870,7 +870,7 @@ static void usermod_handler(struct rpc_request *req) if (NT_STATUS_IS_OK(c->status)) { /* monitor message */ - msg.type = rpc_set_user; + msg.type = mon_SamrSetUser; msg.data = NULL; msg.data_size = 0; } |