diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-03-09 14:58:22 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-03-09 14:58:22 +0000 |
commit | 88c6a00c3c1b430307f512986185b5ed7aea7181 (patch) | |
tree | c4d6331dabc57cadbdd2fa6672fcf0ed2be6cad3 /source/nameannounce.c | |
parent | ebaff730c9cb6d04049fd9901d46dcd758357e95 (diff) | |
download | samba-88c6a00c3c1b430307f512986185b5ed7aea7181.tar.gz samba-88c6a00c3c1b430307f512986185b5ed7aea7181.tar.xz samba-88c6a00c3c1b430307f512986185b5ed7aea7181.zip |
1) updated ipc.c NetUserGetInfo - load \\%L\%U instead of \\%L\HOMES
because the share must be browseable by a w95 client
2) send_mailslot_reply - unique or group datagram argument added.
3) netlogon.c - rewrote response packet to do the right thing for w95.
4) server.c reply_nt1() - added OEMDomainstring to the end.
5) (deep breath) reworked the nmbd-browsing code a little bit.
i discovered two months ago that becoming a primary domain controller
(and domain master browser) is done independently of becoming a
backup domain controller (logon server) is done independently of
becoming a local master browser.
therefore, three sets of state-machines (instead of just one) are in
place - each of which is responsible for taking samba through the
required stages to become: a logon server; a domain master browser;
and a local master browser.
each of these three things can occur independently on each interface,
_including_ the wins pseudo-interface. the only slight caveat is that
the wins pseudo-interface, by virtue of _not_ being a broadcast
interface, does _not_ register as a local master browser with the wins
server, as this doesn't make sense.
lkcl
Diffstat (limited to 'source/nameannounce.c')
-rw-r--r-- | source/nameannounce.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/nameannounce.c b/source/nameannounce.c index 1dadc0132c1..990be00602d 100644 --- a/source/nameannounce.c +++ b/source/nameannounce.c @@ -79,7 +79,8 @@ void announce_request(struct work_record *work, struct in_addr ip) of 0x1e, then we could get the master browser to announce to us instead of the members of the workgroup. wha-hey! */ - send_mailslot_reply(BROWSE_MAILSLOT,ClientDGRAM,outbuf,PTR_DIFF(p,outbuf), + send_mailslot_reply(False, BROWSE_MAILSLOT,ClientDGRAM, + outbuf,PTR_DIFF(p,outbuf), myname,work->work_group,0x20,0x1e,ip,*iface_ip(ip)); } @@ -106,7 +107,8 @@ void do_announce_request(char *info, char *to_name, int announce_type, strupper(p); p = skip_string(p,1); - send_mailslot_reply(BROWSE_MAILSLOT,ClientDGRAM,outbuf,PTR_DIFF(p,outbuf), + send_mailslot_reply(False,BROWSE_MAILSLOT,ClientDGRAM, + outbuf,PTR_DIFF(p,outbuf), myname,to_name,from,to,dest_ip,*iface_ip(dest_ip)); } @@ -172,7 +174,7 @@ void do_announce_host(int command, debug_browse_data(outbuf, PTR_DIFF(p,outbuf)); /* send the announcement */ - send_mailslot_reply(BROWSE_MAILSLOT,ClientDGRAM,outbuf, + send_mailslot_reply(False,BROWSE_MAILSLOT,ClientDGRAM,outbuf, PTR_DIFF(p,outbuf), from_name, to_name, from_type, to_type, |