summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-13 21:03:15 +0000
committerJeremy Allison <jra@samba.org>2003-06-13 21:03:15 +0000
commit292a51eda152f5e1885f38f3a811e956560f33f0 (patch)
tree113ecebcde11b60bdba0ab364d1d0260b01ef4f9 /source3/auth
parent3d0d8f609d08a41faa8607fa374816bcde48a62e (diff)
downloadsamba-292a51eda152f5e1885f38f3a811e956560f33f0.tar.gz
samba-292a51eda152f5e1885f38f3a811e956560f33f0.tar.bz2
samba-292a51eda152f5e1885f38f3a811e956560f33f0.zip
Forward port the app-head changes for dc name cache into 3.0.
Jeremy. (This used to be commit 8bcc3116a22ce11b55a35f3363230f54bc5735fc)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 2991684280..f1575e43b0 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -276,7 +276,7 @@ static NTSTATUS find_connect_dc(struct cli_state **cli,
struct in_addr dc_ip;
fstring srv_name;
- if (!rpc_find_dc(domain, srv_name, &dc_ip)) {
+ if (!get_dc_name(domain, srv_name, &dc_ip)) {
DEBUG(0,("find_connect_dc: Failed to find an DCs for %s\n", lp_workgroup()));
return NT_STATUS_NO_LOGON_SERVERS;
}