diff options
author | Rafal Szczesniak <mimir@samba.org> | 2003-03-14 17:16:33 +0000 |
---|---|---|
committer | Rafal Szczesniak <mimir@samba.org> | 2003-03-14 17:16:33 +0000 |
commit | 5f86db85dfe26ad235dae8bb479cac8ef9af2d15 (patch) | |
tree | f7d5bff7e3dc21d4d6639c671dc0f2927e982b86 /source3/auth | |
parent | e583dd6278fedf9ad45b551dccf94fbe6c785119 (diff) | |
download | samba-5f86db85dfe26ad235dae8bb479cac8ef9af2d15.tar.gz samba-5f86db85dfe26ad235dae8bb479cac8ef9af2d15.tar.bz2 samba-5f86db85dfe26ad235dae8bb479cac8ef9af2d15.zip |
Extending code to work both in case of domain membership
and domain controller respecting interdomain trust relationships.
In the latter case we need to find DC of remote domain instead
of ours. In the former 'domain' is our domain name.
Rafal
(This used to be commit 0cd45d5d3b3e3ec5a589c3ee9f0e369901eefe8f)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 0d90a184a4..079bb49a21 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -272,7 +272,7 @@ static NTSTATUS find_connect_dc(struct cli_state **cli, struct in_addr dc_ip; fstring srv_name; - if ( !rpc_find_dc(lp_workgroup(), srv_name, &dc_ip) ) { + if (!rpc_find_dc(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; } |