445?
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Fri Aug 27 15:48:51 GMT 1999
On Fri, 27 Aug 1999, Gerald Carter wrote:
> Cabler, Adam W wrote:
> >
> > I saw a post a few days ago about the new port being used, 445.
>
> Port 445 is the NetBIOS-less CIFS port. Luke's been playing
> with implementing NetBIOS-less CIFS connections "ala" Windows2000.
i've done client-side (clientgen.c) in cvs main, it was incredibly simple:
if (port != 445)
{
cli_session_request(...)
}
server-side i haven't done, i don't know enough about sockets: you need to
listen on both 445 and 139. if 445, then skip the session request and
fake up the netbios names (called / calling) from reverse dns lookups
(gethostbyaddr()).
@begin rant
... which is, of course, where the problems start rolling in
[gethostbyaddr()] in nt 5 because they are using dynamic dns, and of
course the ttl can sometimes be long enough on a cached dns lookup to
cause the wrong name to be returned from the gethostbyaddr() call...
we told them to include the name in a suitable first SMB request (e.g an
SMBnegprotX) but of course, because nt5 beta 1 had been released and
feature-frozen at the same time that the first draft cifs spec was
released they "of course" couldn't do anything about it.
amazing.
@end rant
luke
More information about the samba-ntdom
mailing list