diff options
author | Günther Deschner <gd@samba.org> | 2008-08-29 12:52:23 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-29 13:58:06 +0200 |
commit | e710a871776eee47642ef828fd04cb0a46e43d2a (patch) | |
tree | 4798af6f77a3113a1cb5acb27e8c2b3229d2a1f9 /source3/utils | |
parent | 57fe0182d3a17c1b61e969e8842b891c362c12f2 (diff) | |
download | samba-e710a871776eee47642ef828fd04cb0a46e43d2a.tar.gz samba-e710a871776eee47642ef828fd04cb0a46e43d2a.tar.bz2 samba-e710a871776eee47642ef828fd04cb0a46e43d2a.zip |
netapi: use NETSETUP join flags in examples.
Guenther
(This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_dom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c index f13b9c23d0..5544cf8a2d 100644 --- a/source3/utils/net_dom.c +++ b/source3/utils/net_dom.c @@ -37,8 +37,8 @@ static int net_dom_unjoin(struct net_context *c, int argc, const char **argv) const char *server_name = NULL; const char *account = NULL; const char *password = NULL; - uint32_t unjoin_flags = WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE | - WKSSVC_JOIN_FLAGS_JOIN_TYPE; + uint32_t unjoin_flags = NETSETUP_ACCT_DELETE | + NETSETUP_JOIN_DOMAIN; struct cli_state *cli = NULL; bool do_reboot = false; NTSTATUS ntstatus; @@ -125,8 +125,8 @@ static int net_dom_join(struct net_context *c, int argc, const char **argv) const char *account_ou = NULL; const char *Account = NULL; const char *password = NULL; - uint32_t join_flags = WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE | - WKSSVC_JOIN_FLAGS_JOIN_TYPE; + uint32_t join_flags = NETSETUP_ACCT_CREATE | + NETSETUP_JOIN_DOMAIN; struct cli_state *cli = NULL; bool do_reboot = false; NTSTATUS ntstatus; |