svn commit: samba r8748 - in branches/SAMBA_4_0/source/utils/net: .
tridge at samba.org
tridge at samba.org
Mon Jul 25 04:15:58 GMT 2005
Author: tridge
Date: 2005-07-25 04:15:57 +0000 (Mon, 25 Jul 2005)
New Revision: 8748
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8748
Log:
fixed build. Andrew, please check.
Modified:
branches/SAMBA_4_0/source/utils/net/net_vampire.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/net/net_vampire.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_vampire.c 2005-07-25 04:03:22 UTC (rev 8747)
+++ branches/SAMBA_4_0/source/utils/net/net_vampire.c 2005-07-25 04:15:57 UTC (rev 8748)
@@ -29,7 +29,7 @@
{
NTSTATUS status;
struct libnet_context *libnetctx;
- union libnet_SamDump r;
+ struct libnet_SamDump r;
libnetctx = libnet_context_init(NULL);
if (!libnetctx) {
@@ -37,16 +37,14 @@
}
libnetctx->cred = ctx->credentials;
- /* prepare password change */
- r.generic.level = LIBNET_SAMDUMP_GENERIC;
- r.generic.error_string = NULL;
+ r.level = LIBNET_SAMDUMP_GENERIC;
+ r.error_string = NULL;
- /* do the domain join */
status = libnet_SamDump(libnetctx, ctx->mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("libnet_SamDump returned %s: %s\n",
nt_errstr(status),
- r.generic.error_string));
+ r.error_string));
return -1;
}
More information about the samba-cvs
mailing list