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/libsmb/clientgen.c | |
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/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 6b07eb65b3..100e90160d 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -2196,7 +2196,7 @@ BOOL cli_connect(struct cli_state *cli, char *host, struct in_addr *ip) fstrcpy(cli->desthost, host); if (!ip || ip_equal(*ip, ipzero)) { - if (!resolve_name( cli->desthost, &dest_ip)) { + if (!resolve_name( cli->desthost, &dest_ip, 0x20)) { return False; } } else { |