diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 12:00:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 12:00:40 +0000 |
commit | 40984f6b55212c710f6a7c7b940a785b2b607985 (patch) | |
tree | 7cc4bcf05540c8b9066568a39c62675af704ccbb /source3/rpc_client | |
parent | 1970c92c0a56672308314d39718f994302c95c95 (diff) | |
download | samba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.gz samba-40984f6b55212c710f6a7c7b940a785b2b607985.tar.bz2 samba-40984f6b55212c710f6a7c7b940a785b2b607985.zip |
- modified resolve_name() to take a name_type
- cleaned up resolve_name() (split into separate functions for each resolver)
- if can't find local master then use #1B name
- support listing of foreign workgroups in /smb/
(This used to be commit a4e607c17d1119925c9d0e1d05e0fe81e9a2d1aa)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_netlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c index 9af2a05f27..2671bac773 100644 --- a/source3/rpc_client/cli_netlogon.c +++ b/source3/rpc_client/cli_netlogon.c @@ -484,7 +484,7 @@ static BOOL modify_trust_password( char *domain, char *remote_machine, return False; } - if(!resolve_name( remote_machine, &cli.dest_ip)) { + if(!resolve_name( remote_machine, &cli.dest_ip, 0x20)) { DEBUG(0,("modify_trust_password: Can't resolve address for %s\n", remote_machine)); return False; } |