summaryrefslogtreecommitdiffstats
path: root/source/libsmb/passchange.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-07 06:55:36 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-07 06:55:36 +0000
commitb563be824b8c3141c49558eced7829b48d4ab26f (patch)
tree8e7ce416231383522648f9af6d3f60fc9d820ab0 /source/libsmb/passchange.c
parentbf9b1328c5843eb217eff4ca05645498de2def82 (diff)
downloadsamba-b563be824b8c3141c49558eced7829b48d4ab26f.tar.gz
samba-b563be824b8c3141c49558eced7829b48d4ab26f.tar.xz
samba-b563be824b8c3141c49558eced7829b48d4ab26f.zip
this looks like a big commit, but it isn't really :)
This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name.
Diffstat (limited to 'source/libsmb/passchange.c')
-rw-r--r--source/libsmb/passchange.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/libsmb/passchange.c b/source/libsmb/passchange.c
index b0b1188f321..335d9a7d1ab 100644
--- a/source/libsmb/passchange.c
+++ b/source/libsmb/passchange.c
@@ -23,7 +23,6 @@
extern pstring global_myname;
-extern pstring scope;
/*************************************************************
change a password on a remote machine using IPC calls
@@ -52,8 +51,8 @@ BOOL remote_password_change(const char *remote_machine, const char *user_name,
return False;
}
- make_nmb_name(&calling, global_myname , 0x0 , scope);
- make_nmb_name(&called , remote_machine, 0x20, scope);
+ make_nmb_name(&calling, global_myname , 0x0);
+ make_nmb_name(&called , remote_machine, 0x20);
if (!cli_session_request(&cli, &calling, &called)) {
slprintf(err_str, err_str_len-1, "machine %s rejected the session setup. Error was : %s.\n",