Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Richard Sharpe
On Tue, 18 Feb 2003, Guenther Deschner wrote:

> hi,
> 
> On Tue, Feb 18, 2003 at 05:57:55PM +0200, Nir Soffer wrote:
> > Our product uses Samba as a component. In our product we were forced to
> > modify certain parts of Samba, namely:
> > 
> > Winbindd running over TCP (to a remote host)

This, of course, can be dangerous unless your internal network is totally 
separate from the outside world. I would imagine that it is in the 
configuration that you guys are using.

Looks like Exanet is about ready to release a product :-)
 
> this sounds very interesting.
>  
> > Smbd listening to an additional "failover" port.  
> > Allow listening on non-broadcast interfaces.
> > 
> > All these changes are very minimal.  In order to comply with the GPL and
> > provide the community with what little code we've modified, attached is
> > the patch file between this version and Samba 3.0a20. 
> 
> you have forgotten to add that patchfile :)
> 
> thanks,
> guenther
> 
> 

-- 
Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




REPOST: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Nir Soffer
 DEBUG(1, ("open_sockets_smbd: closed connection for fosock."));
+   continue;
+   }
+#endif /* WITH_FO_PORT */
+  
+ 
if (smbd_server_fd() != -1 && sys_fork()==0) {
/* Child code ... */

@@ -821,7 +873,7 @@
 
if (!is_daemon && !is_a_socket(0)) {
        if (!interactive)
-           DEBUG(0,("standard input is not a socket, assuming -D 
option\n"));
+   DEBUG(1,("standard input is not a socket, assuming -D 
+option\n"));
 
/*
 * Setting is_daemon here prevents us from eventually calling

--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"The poor little kittens; They lost their mittens;
 And now you all must die. Mew, Mew, Mew, Mew, 
 And now you all must die." www.sluggy.com, 24/10/02

> -Original Message-
> From: Neil Hoggarth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 6:26 PM
> To: Nir Soffer
> Cc: Guenther Deschner; 
> Subject: Re: Patches for winbindd over TCP and a "failover 
> port" option
> 
> 
> On Tue, 18 Feb 2003, Guenther Deschner wrote:
> 
> > you have forgotten to add that patchfile :)
> 
> Note that since last month the Samba listserver has started filtering
> message attachments:
> 
> http://lists.samba.org/pipermail/samba-technical/2003-January/
> 041954.html
> 
> Inline your patches in the message body, or make sure that your mail
> program flags them as content-type text/plain.
> 
> Regards,
> -- 
> Neil Hoggarth Departmental 
> Computer Officer
> <[EMAIL PROTECTED]>   Laboratory 
> of Physiology
> http://www.physiol.ox.ac.uk/~njh/  University 
> of Oxford, UK
> 



Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Neil Hoggarth
On Tue, 18 Feb 2003, Guenther Deschner wrote:

> you have forgotten to add that patchfile :)

Note that since last month the Samba listserver has started filtering
message attachments:

http://lists.samba.org/pipermail/samba-technical/2003-January/041954.html

Inline your patches in the message body, or make sure that your mail
program flags them as content-type text/plain.

Regards,
-- 
Neil Hoggarth Departmental Computer Officer
<[EMAIL PROTECTED]>   Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/  University of Oxford, UK



Re: Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Guenther Deschner
hi,

On Tue, Feb 18, 2003 at 05:57:55PM +0200, Nir Soffer wrote:
> Our product uses Samba as a component. In our product we were forced to
> modify certain parts of Samba, namely:
> 
> Winbindd running over TCP (to a remote host)

this sounds very interesting.
 
> Smbd listening to an additional "failover" port.  
> Allow listening on non-broadcast interfaces.
> 
> All these changes are very minimal.  In order to comply with the GPL and
> provide the community with what little code we've modified, attached is
> the patch file between this version and Samba 3.0a20. 

you have forgotten to add that patchfile :)

thanks,
guenther

-- 
Guenther Deschner [EMAIL PROTECTED]
SuSE Linux AGGnuPG: 8EE11688
Berliner Str. 27  phone:  +49 (0) 30 / 430944778
D-13507 Berlin   fax:  +49 (0) 30 / 43732804



msg06182/pgp0.pgp
Description: PGP signature


Patches for winbindd over TCP and a "failover port" option

2003-02-18 Thread Nir Soffer

Our product uses Samba as a component. In our product we were forced to modify certain 
parts of Samba, namely:

Winbindd running over TCP (to a remote host)
Smbd listening to an additional "failover" port.
Allow listening on non-broadcast interfaces.

All these changes are very minimal.
In order to comply with the GPL and provide the community with what little code we've 
modified, attached is the patch file between this version and Samba 3.0a20. I'm afraid 
we've never merged it with later versions, since they never seemed to work.

I sincerely hope this helps people,

Regards,
Nir.


--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"The poor little kittens; They lost their mittens;
 And now you all must die. Mew, Mew, Mew, Mew, 
 And now you all must die." www.sluggy.com, 24/10/02