svn commit: samba r16693 - in branches/SAMBA_4_0/source/libnet: .
mimir at samba.org
mimir at samba.org
Thu Jun 29 20:26:11 GMT 2006
Author: mimir
Date: 2006-06-29 20:26:11 +0000 (Thu, 29 Jun 2006)
New Revision: 16693
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16693
Log:
Name type should be passed further down the lookup engine instead
of assuming only PDC name type. Also, fix the comment.
rafal
Modified:
branches/SAMBA_4_0/source/libnet/libnet_lookup.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_lookup.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_lookup.c 2006-06-29 20:23:42 UTC (rev 16692)
+++ branches/SAMBA_4_0/source/libnet/libnet_lookup.c 2006-06-29 20:26:11 UTC (rev 16693)
@@ -163,19 +163,17 @@
/**
- * Sends asynchronous LookupPdc request
+ * Sends asynchronous LookupDCs request
*/
struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
TALLOC_CTX *mem_ctx,
struct libnet_LookupDCs *io)
{
- struct messaging_context *msg_ctx = messaging_client_init(mem_ctx, ctx->event_ctx);
struct composite_context *c;
- c = finddcs_send(mem_ctx,
- io->in.domain_name,
- NBT_NAME_PDC,
- NULL, ctx->name_res_methods,
- ctx->event_ctx, msg_ctx);
+ struct messaging_context *msg_ctx = messaging_client_init(mem_ctx, ctx->event_ctx);
+
+ c = finddcs_send(mem_ctx, io->in.domain_name, io->in.name_type,
+ NULL, ctx->name_res_methods, ctx->event_ctx, msg_ctx);
return c;
}
More information about the samba-cvs
mailing list