VMS TCP/IP 5.3
Jean-François PIÉRONNE
jf.pieronne at laposte.net
Mon Sep 16 20:23:09 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.
>
I am running Samba 2.2.4 on VMS TCPIP 5.3 and SWAT run correctly.
But your update correct a bug, did you forward a diff file to Jean-Yves ?
> 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.
>
Please, send your update to Jean-Yves, so he can include your bug fix into the
next beta release.
Thanks,
Jean-François
More information about the samba-vms
mailing list