diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-07 06:55:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-07 06:55:36 +0000 |
commit | 171da4d78736730557a94b44af9f2d62081b80ba (patch) | |
tree | ad74341f9d50a521baec09c65637b81b150a0891 /source3/nmbd/nmbd_nameregister.c | |
parent | 102e44e446035bdcc7611b8b556d0e20978fbb80 (diff) | |
download | samba-171da4d78736730557a94b44af9f2d62081b80ba.tar.gz samba-171da4d78736730557a94b44af9f2d62081b80ba.tar.xz samba-171da4d78736730557a94b44af9f2d62081b80ba.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.
(This used to be commit b563be824b8c3141c49558eced7829b48d4ab26f)
Diffstat (limited to 'source3/nmbd/nmbd_nameregister.c')
-rw-r--r-- | source3/nmbd/nmbd_nameregister.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_nameregister.c b/source3/nmbd/nmbd_nameregister.c index 1e819cc88f..8805728737 100644 --- a/source3/nmbd/nmbd_nameregister.c +++ b/source3/nmbd/nmbd_nameregister.c @@ -26,7 +26,6 @@ extern int DEBUGLEVEL; -extern pstring scope; extern fstring global_myworkgroup; /**************************************************************************** @@ -333,7 +332,7 @@ BOOL register_name(struct subnet_record *subrec, { struct nmb_name nmbname; - make_nmb_name(&nmbname, name, type, scope); + make_nmb_name(&nmbname, name, type); /* Always set the NB_ACTIVE flag on the name we are registering. Doesn't make sense without it. |