diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-08-16 13:03:26 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-08-16 13:03:26 +0000 |
commit | f63d4c830aa88d20ababe4c3543bff7becc3a506 (patch) | |
tree | 286125d72593631440f3b92c85dac62b3ec2e42f /source3/include | |
parent | b990567a8c8afe8a085eb7865c7704925334a4b5 (diff) | |
download | samba-f63d4c830aa88d20ababe4c3543bff7becc3a506.tar.gz samba-f63d4c830aa88d20ababe4c3543bff7becc3a506.tar.bz2 samba-f63d4c830aa88d20ababe4c3543bff7becc3a506.zip |
- added the "remote announce" option
- made the lp_string() code able to handle any length string
- got rid of the obsolete lmhosts code, instead users should use
"interfaces" and "remote announce". lmhosts now is just used as a IP
to netbios name map
- cleanup the inet_address() code
(This used to be commit be2b67940302b2e63890cb865fe3948c2206ea91)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nameserv.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 582378e183..5162ebe2d7 100644 --- a/source3/include/nameserv.h +++ b/source3/include/nameserv.h @@ -373,3 +373,5 @@ struct packet_struct /* announce as master to WINS server and any Primary Domain Controllers */ #define CHECK_TIME_MST_ANNOUNCE 15 +/* do all remote announcements this often */ +#define REMOTE_ANNOUNCE_INTERVAL 180 diff --git a/source3/include/proto.h b/source3/include/proto.h index 04f5ef158d..d3e9f42ae8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -140,6 +140,7 @@ char *lp_domain_controller(void); char *lp_username_map(void); char *lp_character_set(void); char *lp_logon_script(void); +char *lp_remote_announce(void); char *lp_wins_server(void); char *lp_interfaces(void); BOOL lp_wins_support(void); @@ -308,6 +309,7 @@ void announce_server(struct subnet_record *d, struct work_record *work, char *name, char *comment, time_t ttl, int server_type); void announce_host(void); void announce_master(void); +void announce_remote(void); /*The following definitions come from namebrowse.c */ |