svn commit: samba r7249 - in branches/SAMBA_4_0/source/utils/net: .
jelmer at samba.org
jelmer at samba.org
Fri Jun 3 21:30:08 GMT 2005
Author: jelmer
Date: 2005-06-03 21:30:07 +0000 (Fri, 03 Jun 2005)
New Revision: 7249
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7249
Log:
Cope with struct member rename
Modified:
branches/SAMBA_4_0/source/utils/net/net_join.c
branches/SAMBA_4_0/source/utils/net/net_password.c
branches/SAMBA_4_0/source/utils/net/net_time.c
branches/SAMBA_4_0/source/utils/net/net_user.c
branches/SAMBA_4_0/source/utils/net/net_vampire.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/net/net_join.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_join.c 2005-06-03 20:44:46 UTC (rev 7248)
+++ branches/SAMBA_4_0/source/utils/net/net_join.c 2005-06-03 21:30:07 UTC (rev 7249)
@@ -61,7 +61,7 @@
if (!libnetctx) {
return -1;
}
- libnetctx->credentials = ctx->credentials;
+ libnetctx->cred = ctx->credentials;
/* prepare password change */
r.generic.level = LIBNET_JOIN_GENERIC;
Modified: branches/SAMBA_4_0/source/utils/net/net_password.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_password.c 2005-06-03 20:44:46 UTC (rev 7248)
+++ branches/SAMBA_4_0/source/utils/net/net_password.c 2005-06-03 21:30:07 UTC (rev 7249)
@@ -57,7 +57,7 @@
if (!libnetctx) {
return -1;
}
- libnetctx->credentials = ctx->credentials;
+ libnetctx->cred = ctx->credentials;
/* prepare password change */
r.generic.level = LIBNET_CHANGE_PASSWORD_GENERIC;
@@ -132,7 +132,7 @@
if (!libnetctx) {
return -1;
}
- libnetctx->credentials = ctx->credentials;
+ libnetctx->cred = ctx->credentials;
/* prepare password change */
r.generic.level = LIBNET_SET_PASSWORD_GENERIC;
Modified: branches/SAMBA_4_0/source/utils/net/net_time.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_time.c 2005-06-03 20:44:46 UTC (rev 7248)
+++ branches/SAMBA_4_0/source/utils/net/net_time.c 2005-06-03 21:30:07 UTC (rev 7249)
@@ -47,7 +47,7 @@
if (!libnetctx) {
return -1;
}
- libnetctx->credentials = ctx->credentials;
+ libnetctx->cred = ctx->credentials;
/* prepare to get the time */
r.generic.level = LIBNET_REMOTE_TOD_GENERIC;
Modified: branches/SAMBA_4_0/source/utils/net/net_user.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_user.c 2005-06-03 20:44:46 UTC (rev 7248)
+++ branches/SAMBA_4_0/source/utils/net/net_user.c 2005-06-03 21:30:07 UTC (rev 7249)
@@ -47,12 +47,12 @@
lnet_ctx = libnet_context_init();
if (!lnet_ctx) return -1;
- lnet_ctx->credentials = ctx->credentials;
+ lnet_ctx->cred = ctx->credentials;
/* calling CreateUser function */
r.generic.level = LIBNET_CREATE_USER_GENERIC;
r.generic.in.user_name = user_name;
- r.generic.in.domain_name = cli_credentials_get_domain(lnet_ctx->credentials);
+ r.generic.in.domain_name = cli_credentials_get_domain(lnet_ctx->cred);
status = libnet_CreateUser(lnet_ctx, ctx->mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {
Modified: branches/SAMBA_4_0/source/utils/net/net_vampire.c
===================================================================
--- branches/SAMBA_4_0/source/utils/net/net_vampire.c 2005-06-03 20:44:46 UTC (rev 7248)
+++ branches/SAMBA_4_0/source/utils/net/net_vampire.c 2005-06-03 21:30:07 UTC (rev 7249)
@@ -35,7 +35,7 @@
if (!libnetctx) {
return -1;
}
- libnetctx->credentials = ctx->credentials;
+ libnetctx->cred = ctx->credentials;
/* prepare password change */
r.generic.level = LIBNET_SAMDUMP_GENERIC;
More information about the samba-cvs
mailing list