Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#19 closed defect (fixed)

SWAT

Reported by: Silvan Scherrer Owned by: Paul Smedley
Priority: minor Milestone: Samba Server for eCS (OS/2) 1.0.1
Component: Samba Server Version: 3.0.25a
Keywords: Cc:

Description

SWAT seems not to open a socket and is because of that not usable. According to the log it reads the smb.conf. The log shows no error

Attachments (1)

log.swat (8.6 KB ) - added by Silvan Scherrer 17 years ago.
SWAT Log

Download all attachments as: .zip

Change History (5)

by Silvan Scherrer, 17 years ago

Attachment: log.swat added

SWAT Log

comment:1 by Herwig Bauernfeind, 17 years ago

Rich Walsh about our SWAT problem after having looked at the source:

"As written, SWAT expects that inetd has created a socket for it and has redirected its i/o to stdin & stdout. Apparently, OS/2's inetd can't do that kind of redirection, so it just passes the socket's handle on the command line & leaves it to the app to use TCP/IP calls to access it.

From what I could see, it shouldn't take more than an hour for someone with experience to change the fread() and fwrite() calls to the TCP/IP equivalent.

Maybe I don't know what I'm talking about, but it looks really simple."

comment:2 by guest, 17 years ago

Resolution: fixed
Status: newclosed

starting with Samba server 3.0.28 from 08.02.2008 and later SWAT works as a Apache CGI. See http://svn.netlabs.org/samba/wiki/Cookbook

comment:3 by Herwig Bauernfeind, 16 years ago

Milestone: Samba Server for eCS (OS/2) 1.0.1

comment:4 by Herwig Bauernfeind, 16 years ago

Version: 3.0.25a
Note: See TracTickets for help on using tickets.