diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-06-07 03:34:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-06-07 03:34:22 +0000 |
commit | 88b191b48836eeb7937f25b37d0bdd4a2276e5a7 (patch) | |
tree | 029183b29f3787bcbb34b61475bd02ad554d30e0 /source/nmbd | |
parent | 5a0d016b2432da9299d92b33d723534d91c8dcf4 (diff) | |
download | samba-88b191b48836eeb7937f25b37d0bdd4a2276e5a7.tar.gz |
- added predict.c, moving the routines from util.c
- added iface_count() and iface_n_ip() routines so its easy to loop
over the local interface list
- made readsize a normal loadparm global
- check for null w in add_domain_entry()
- set the deathtime to time()-1 for doamin entries with servertype==0
This allows servers that are shutting down to be removed
- add the 0x1c name at startup if we are a WINS server. Previously we
added it only if we were a master
- loop over interfaces in add_my_domains(), so people don't have to
have a lmhosts file to get lp_workgroup() on all interfaces
- set add to True for find_workgroupstruct() in nmbsync, and check for
null return
- remove some ugly "errno = EBADF" bits. they just confused things.
Diffstat (limited to 'source/nmbd')
-rw-r--r-- | source/nmbd/nmbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index b93ac2d580b..cd2ebb0521f 100644 --- a/source/nmbd/nmbd.c +++ b/source/nmbd/nmbd.c @@ -492,7 +492,7 @@ static void usage(char *pname) return(-1); if (*group) - add_domain_entry(*iface_bcast(ipzero),*iface_nmask(ipzero),group, True); + add_my_domains(group); if (!is_daemon && !is_a_socket(0)) { DEBUG(0,("standard input is not a socket, assuming -D option\n")); @@ -519,7 +519,7 @@ static void usage(char *pname) string_sub(ServerComment,"%h",myhostname); add_my_names(); - add_my_domains(); + add_my_domains(lp_workgroup()); DEBUG(3,("Checked names\n")); |