diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 08:57:24 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 08:57:24 +0000 |
commit | 07465761137adf756d771fa1f8592c294488e779 (patch) | |
tree | 19dd710228d65ace7862e07735f56072ed5eccc9 /source3/smbd | |
parent | e3958c21050be094c1aaa4030e54eb7cee74a6f9 (diff) | |
download | samba-07465761137adf756d771fa1f8592c294488e779.tar.gz samba-07465761137adf756d771fa1f8592c294488e779.tar.bz2 samba-07465761137adf756d771fa1f8592c294488e779.zip |
Update cli_full_connection() to take a 'flags' paramater, and try to get a
few more places to use it.
Andrew Bartlett
(This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/change_trust_pw.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/smbd/change_trust_pw.c b/source3/smbd/change_trust_pw.c index 182995d7f4..0c468699b4 100644 --- a/source3/smbd/change_trust_pw.c +++ b/source3/smbd/change_trust_pw.c @@ -35,7 +35,6 @@ static NTSTATUS modify_trust_password( char *domain, char *remote_machine, { struct cli_state *cli; DOM_SID domain_sid; - struct in_addr dest_ip; NTSTATUS nt_status; /* @@ -47,16 +46,11 @@ static NTSTATUS modify_trust_password( char *domain, char *remote_machine, return NT_STATUS_UNSUCCESSFUL; } - if(!resolve_name( remote_machine, &dest_ip, 0x20)) { - DEBUG(0,("modify_trust_password: Can't resolve address for %s\n", remote_machine)); - return NT_STATUS_UNSUCCESSFUL; - } - if (!NT_STATUS_IS_OK(cli_full_connection(&cli, global_myname, remote_machine, - &dest_ip, 0, + NULL, 0, "IPC$", "IPC", "", "", - ""))) { + "", 0))) { DEBUG(0,("modify_trust_password: Connection to %s failed!\n", remote_machine)); return NT_STATUS_UNSUCCESSFUL; } |