diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 23:33:16 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:53 +0100 |
commit | da0f222f432c4fc8bf5da80baf849ca32b315ca0 (patch) | |
tree | 3af5624aca9ce68b4b169ed1066dd03e8b2e7d9d /source4/libnet | |
parent | 5b357ca8774d97e85153151552bc052cfaf26c1b (diff) | |
download | samba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.tar.gz samba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.tar.bz2 samba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.zip |
r26271: Remove some more uses of global_loadparm.
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 1 | ||||
-rw-r--r-- | source4/libnet/libnet_site.c | 1 | ||||
-rw-r--r-- | source4/libnet/libnet_unbecome_dc.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index 2673af8e0f..e8b1632e73 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -738,6 +738,7 @@ static void becomeDC_send_cldap(struct libnet_BecomeDC_state *s) struct cldap_request *req; s->cldap.io.in.dest_address = s->source_dsa.address; + s->cldap.io.in.dest_port = lp_cldap_port(global_loadparm); s->cldap.io.in.realm = s->domain.dns_name; s->cldap.io.in.host = s->dest_dsa.netbios_name; s->cldap.io.in.user = NULL; diff --git a/source4/libnet/libnet_site.c b/source4/libnet/libnet_site.c index 251cecb3b0..9351aef634 100644 --- a/source4/libnet/libnet_site.c +++ b/source4/libnet/libnet_site.c @@ -51,6 +51,7 @@ NTSTATUS libnet_FindSite(TALLOC_CTX *ctx, struct libnet_JoinSite *r) /* Resolve the site name. */ ZERO_STRUCT(search); search.in.dest_address = r->in.dest_address; + search.in.dest_port = lp_cldap_port(global_loadparm); search.in.acct_control = -1; search.in.version = 6; diff --git a/source4/libnet/libnet_unbecome_dc.c b/source4/libnet/libnet_unbecome_dc.c index 8b27d85718..a7b962f2a8 100644 --- a/source4/libnet/libnet_unbecome_dc.c +++ b/source4/libnet/libnet_unbecome_dc.c @@ -258,6 +258,7 @@ static void unbecomeDC_send_cldap(struct libnet_UnbecomeDC_state *s) struct cldap_request *req; s->cldap.io.in.dest_address = s->source_dsa.address; + s->cldap.io.in.dest_port = lp_cldap_port(global_loadparm); s->cldap.io.in.realm = s->domain.dns_name; s->cldap.io.in.host = s->dest_dsa.netbios_name; s->cldap.io.in.user = NULL; |