svn commit: samba r20099 - in branches/SAMBA_4_0/source/libnet: .
abartlet at samba.org
abartlet at samba.org
Sun Dec 10 22:21:21 GMT 2006
Author: abartlet
Date: 2006-12-10 22:21:20 +0000 (Sun, 10 Dec 2006)
New Revision: 20099
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20099
Log:
Add some comments, and correct others.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/libnet/libnet_join.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_join.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_join.c 2006-12-10 05:23:47 UTC (rev 20098)
+++ branches/SAMBA_4_0/source/libnet/libnet_join.c 2006-12-10 22:21:20 UTC (rev 20099)
@@ -467,7 +467,7 @@
return NT_STATUS_NO_MEMORY;
}
- /* prepare connect to the LSA pipe of PDC */
+ /* prepare connect to the SAMR pipe of PDC */
if (r->in.level == LIBNET_JOINDOMAIN_AUTOMATIC) {
connect_with_info->in.binding = NULL;
connect_with_info->in.name = r->in.domain_name;
@@ -476,11 +476,13 @@
connect_with_info->in.name = NULL;
}
+ /* This level makes a connection to the LSA pipe on the way,
+ * to get some useful bits of information about the domain */
connect_with_info->level = LIBNET_RPC_CONNECT_DC_INFO;
connect_with_info->in.dcerpc_iface = &dcerpc_table_samr;
/*
- establish a SAMR connection, on the same CIFS transport
+ establish the SAMR connection
*/
status = libnet_RpcConnect(ctx, tmp_ctx, connect_with_info);
if (!NT_STATUS_IS_OK(status)) {
More information about the samba-cvs
mailing list