summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 12:00:40 +0000
commit40984f6b55212c710f6a7c7b940a785b2b607985 (patch)
tree7cc4bcf05540c8b9066568a39c62675af704ccbb /source3/smbd/password.c
parent1970c92c0a56672308314d39718f994302c95c95 (diff)
downloadsamba-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/smbd/password.c')
-rw-r--r--source3/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 5a7e20e47e..0ba4f1b7bf 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -945,7 +945,7 @@ struct cli_state *server_cryptkey(void)
standard_sub_basic(desthost);
strupper(desthost);
- if(!resolve_name( desthost, &dest_ip)) {
+ if(!resolve_name( desthost, &dest_ip, 0x20)) {
DEBUG(1,("server_cryptkey: Can't resolve address for %s\n",desthost));
continue;
}
@@ -1232,7 +1232,7 @@ machine %s in domain %s.\n", global_myname, global_myworkgroup ));
standard_sub_basic(remote_machine);
strupper(remote_machine);
- if(!resolve_name( remote_machine, &dest_ip)) {
+ if(!resolve_name( remote_machine, &dest_ip, 0x20)) {
DEBUG(1,("domain_client_validate: Can't resolve address for %s\n", remote_machine));
continue;
}