diff options
author | Günther Deschner <gd@samba.org> | 2010-04-26 15:42:47 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-26 22:52:59 +0200 |
commit | 725976290939e82bd43a0b8bce07df6068e65496 (patch) | |
tree | 2a3da10121c95023ced3482c49d47ddad37292dd /source3/utils | |
parent | 1983d0dde7c33666c5e0c1082d0c2604e6d1e860 (diff) | |
download | samba-725976290939e82bd43a0b8bce07df6068e65496.tar.gz samba-725976290939e82bd43a0b8bce07df6068e65496.tar.xz samba-725976290939e82bd43a0b8bce07df6068e65496.zip |
s3: use generated rap header.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c index 078c7febc96..ce94e774e48 100644 --- a/source3/utils/net_rap.c +++ b/source3/utils/net_rap.c @@ -24,6 +24,7 @@ #include "includes.h" #include "utils/net.h" +#include "../librpc/gen_ndr/rap.h" /* The following messages were for error checking that is not properly reported at the moment. Which should be reinstated? */ @@ -226,7 +227,7 @@ static int rap_share_add(struct net_context *c, int argc, const char **argv) struct cli_state *cli; int ret; - RAP_SHARE_INFO_2 sinfo; + struct rap_share_info_2 sinfo; char *p; char *sharename; @@ -812,7 +813,7 @@ static int rap_user_add(struct net_context *c, int argc, const char **argv) { struct cli_state *cli; int ret; - RAP_USER_INFO_1 userinfo; + struct rap_user_info_1 userinfo; if (argc == 0 || c->display_usage) { return net_rap_user_usage(c, argc, argv); @@ -956,7 +957,7 @@ static int rap_group_add(struct net_context *c, int argc, const char **argv) { struct cli_state *cli; int ret; - RAP_GROUP_INFO_1 grinfo; + struct rap_group_info_1 grinfo; if (argc == 0 || c->display_usage) { return net_rap_group_usage(c, argc, argv); |