Opened 17 years ago

Closed 16 years ago

Last modified 15 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)

Changed 17 years ago by Silvan Scherrer

Attachment: log.swat added

SWAT Log

comment:1 Changed 16 years ago by Herwig Bauernfeind

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 Changed 16 years ago by guest

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 Changed 15 years ago by Herwig Bauernfeind

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

comment:4 Changed 15 years ago by Herwig Bauernfeind

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