diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-04-11 23:26:37 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-04-11 23:26:37 +0000 |
commit | 6e444304d3d2e26d95fd0604cb2b70f20520b8c7 (patch) | |
tree | 95fc2a2cfbdc67f9a9efd9383d5ec5f3e02ce7be /source3 | |
parent | c1da1bfc1ef20737a2bdbaf271f9277d70c90940 (diff) | |
download | samba-6e444304d3d2e26d95fd0604cb2b70f20520b8c7.tar.gz samba-6e444304d3d2e26d95fd0604cb2b70f20520b8c7.tar.bz2 samba-6e444304d3d2e26d95fd0604cb2b70f20520b8c7.zip |
removed reference to subnet_record and work_record, as neither are needed.
lkcl
(This used to be commit 3e7bd36c774a3d4252cbc89a52003cdbccc14d3d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/namelogon.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/namelogon.c b/source3/namelogon.c index 1ea09ee2bb..f3afd4273c 100644 --- a/source3/namelogon.c +++ b/source3/namelogon.c @@ -39,21 +39,15 @@ extern pstring myname; /**************************************************************************** process a domain logon packet - 08aug96 lkcl@pires.co.uk - reply_code == 0xC courtesy of jim@oxfordcc.co.uk forwarded by - lewis2@server.uwindsor.ca **************************************************************************/ void process_logon_packet(struct packet_struct *p,char *buf,int len) { struct dgram_packet *dgram = &p->packet.dgram; - struct in_addr ip = dgram->header.source_ip; - struct subnet_record *d = find_subnet_all(ip); char *logname,*q; fstring reply_name; BOOL add_slashes = False; pstring outbuf; int code,reply_code; - struct work_record *work; char unknown_byte = 0; uint16 request_count = 0; uint16 token = 0; @@ -64,19 +58,6 @@ void process_logon_packet(struct packet_struct *p,char *buf,int len) return; } - if (!d) - { - DEBUG(0,("process_logon_packet: Cannot find subnet for logon request from %s\n", - inet_ntoa(p->ip) )); - return; - } - - if (!(work = find_workgroupstruct(d,dgram->dest_name.name, False))) - { - DEBUG(0,("process_logon_packet: Cannot find WORKGROUP %s for logon request fomr %s\n", - dgram->dest_name.name, inet_ntoa(p->ip) )); - return; - } code = SVAL(buf,0); switch (code) |