svn commit: samba r24011 - in branches/SAMBA_4_0/source/libnet: .
abartlet at samba.org
abartlet at samba.org
Tue Jul 24 06:02:34 GMT 2007
Author: abartlet
Date: 2007-07-24 06:02:32 +0000 (Tue, 24 Jul 2007)
New Revision: 24011
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24011
Log:
Keep the connect handle around in libnet, in case we want it.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/libnet/libnet.h
branches/SAMBA_4_0/source/libnet/libnet_domain.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet.h
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet.h 2007-07-24 06:01:30 UTC (rev 24010)
+++ branches/SAMBA_4_0/source/libnet/libnet.h 2007-07-24 06:02:32 UTC (rev 24011)
@@ -31,6 +31,7 @@
const char *name;
uint32_t access_mask;
struct policy_handle handle;
+ struct policy_handle connect_handle;
int buf_size;
} samr;
Modified: branches/SAMBA_4_0/source/libnet/libnet_domain.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_domain.c 2007-07-24 06:01:30 UTC (rev 24010)
+++ branches/SAMBA_4_0/source/libnet/libnet_domain.c 2007-07-24 06:02:32 UTC (rev 24011)
@@ -359,6 +359,7 @@
/* store the resulting handle and related data for use by other
libnet functions */
+ ctx->samr.connect_handle = s->connect_handle;
ctx->samr.handle = s->domain_handle;
ctx->samr.name = talloc_steal(ctx, s->domain_name.string);
ctx->samr.access_mask = s->access_mask;
More information about the samba-cvs
mailing list