VMS TCP/IP 5.3
George Watson
watson at srfnet.com
Mon Sep 16 19:38:37 GMT 2002
Any problems with Samba 2.2.4 on VMS TCPIP 5.3?
Thanks,
Mike Ober.
------------
Mike,
I installed 2.2.4 over the weekend on Alpha VMS 7.3-1/TCPIP 5.3.
I ended up making two source changes.
1) You have already noticed this one: SWAT doesn't work as an inetd
(port 901) service. That is because an access check is done against file
descriptor 1 (a constant!) which isn't correct for VMS. The code change is in
[.WEB]CGI.C: move the "if(!check_access(1,..." after the conditional VMS
section (which closes stdin and accesses the special inetd socket), and
change the constant 1 to stdin.
2) SMBCLIENT doesn't accept terminal input, because of fancy stuff it is
trying to do while waiting for your input. Doing select on non-sockets
always causes trouble in VMS. As far as I can tell, this is the only place
anywhere in the code where the routine smb_readline is used. So I made a
change in [.LIB]READLINE.C to just do a simple fgets and return #ifdef VMS.
That means all the fancy keepalive timer/command completion/command history
won't work, but at least SMBCLIENT will be usable.
- GGW3
----------------
George Watson, Terabase Corporation
watson at srfnet.com (978)774-7999 x101
More information about the samba-vms
mailing list