Re: --daemon for clients

2004-02-01 Thread jw schultz
On Thu, Jan 29, 2004 at 04:58:45PM +0100, Stefan Hoefer wrote:
> Hello
> 
> I have the following situation: one perl script opens a TCP connection to
> a remote server running another perl script. The file descriptors on both
> sides are mapped to STDIN and STDOUT file descriptors. After some
> "talking", I would like to start rsync using the "exec" call on both sides
> of the connection, with both rsync partners using the existing connection
> (inherited on STDIN and STDOUT). On the server side, this is no problem (I
> can use the --daemon switch). Is there any way rsync can perform this on
> the client side, too?
> 
> Thanks for any help

I have a vague recollection that of there being a patch that
would allow rsync to connect to open file descriptors. 

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: [PATCH] --links-depth for rsync

2004-02-01 Thread jw schultz
On Sat, Jan 24, 2004 at 11:09:46PM +0200, Antti Tapaninen wrote:
> 
> Hello,
> 
> about a year ago I ran into situation where there's a "metadirectory"
> containing directories and symlinks to files. There was a need to mirror
> the contents of files and directories gathered via symlinks to this
> metadirectory, regular mirroring of the tree wouldn't do any good.
> 
> The attached patch gives the user ability to define how many symbolic
> links rsync should follow before actually adding it to the file list.
> 
> Any code behaviour without the new parameter is unchanged, I've used the
> previous versions of the patch with rsync 2.5.x for the last year and
> might just as well share the patch. Consider merging the patch for the
> next release, please reply to me directly for additional feedback or
> issues.
> 
> Cheers,
> -Antti

Thanks for updating the patch for those who might have need
of it.  I don't anticipate committing this at this time.

flist.c is in flux and 1.169 is in the midst of that so you
might want to rediff against rsync 2.6.1 when that is
released.


-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: innetgr revised netgroup patch against 2.6.0

2004-02-01 Thread jw schultz
On Sun, Feb 01, 2004 at 11:25:22PM +1100, Travis Freeland wrote:
> 
> innetgr.. much easier..

Much cleaner.  But the code could be tightened further.
I've provided an example.  Note also formatting changes.

Also, we use tabs, not spaces for indent.  If that is your
mailer either fix the config or use text/plain (not x-diff)
attachments.

> Had a look for the user section but didn't find it in my 15 seconds of 
> looking..

Do the user, user+host and the autoconf and I'll consider
this for CVS.

> --- access.c2003-07-30 16:12:27.0 +1000
> +++ ../rsync-2.6.0-Linux/access.c   2004-02-01 23:21:12.0 +1100
> @@ -22,10 +22,21 @@
>*/
> 
>  #include "rsync.h"
> +#include 
> 
> 
>  static int match_hostname(char *host, char *tok)
>  {
> +   char *netgroup;
> +
> +   if(strlen(tok)>1){
> +   if(tok[0]=='@'){
> +   netgroup=tok+1;
> +   if(innetgr(netgroup, host, NULL, NULL)){
> +   return(1);
> +   }
> +   }
> +   }
> if (!host || !*host) return 0;
> return wildmatch(tok, host);
>  }

--- access.c2003-07-30 16:12:27.0 +1000
+++ ../rsync-2.6.0-Linux/access.c   2004-02-01 23:21:12.0 +1100
@@ -22,10 +22,21 @@
   */

 #include "rsync.h"
+#include 


 static int match_hostname(char *host, char *tok)
 {
+   if (tok[0] == '@' && tok[1]) {
+   if (innetgr(&tok[1], host, NULL, NULL))
+   return(1);
+   }
if (!host || !*host) return 0;
return wildmatch(tok, host);
 }

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Norton AntiVirus detected and quarantined a virus in a message yo u sent.

2004-02-01 Thread NAV for Microsoft Exchange-ASI_FS2
Recipient of the infected attachment:  Jack Malky\Inbox
Subject of the message:  test
One or more attachments were quarantined.
  Attachment doc.scr was Quarantined for the following reasons:
Virus [EMAIL PROTECTED] was found.
<>-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

innetgr revised netgroup patch against 2.6.0

2004-02-01 Thread Travis Freeland

innetgr.. much easier..

Had a look for the user section but didn't find it in my 15 seconds of 
looking..

--- access.c2003-07-30 16:12:27.0 +1000
+++ ../rsync-2.6.0-Linux/access.c   2004-02-01 23:21:12.0 +1100
@@ -22,10 +22,21 @@
   */

 #include "rsync.h"
+#include 


 static int match_hostname(char *host, char *tok)
 {
+   char *netgroup;
+
+   if(strlen(tok)>1){
+   if(tok[0]=='@'){
+   netgroup=tok+1;
+   if(innetgr(netgroup, host, NULL, NULL)){
+   return(1);
+   }
+   }
+   }
if (!host || !*host) return 0;
return wildmatch(tok, host);
 }


Travis

http://www.deakin.edu.au/~travis/sig.html
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Autoreply from registration@cgta.org [Re: test ]

2004-02-01 Thread registration

This message was automatically generated on Sun, 01 Feb 2004 02:05:19 -0500
in response to your message originally sent with the following information:

From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED] (expanded to: [EMAIL PROTECTED])
Subject: test
Date:Sun, 1 Feb 2004 02:04:59 -0500
Size:31316 (bytes) 421 (lines) Local ID: 
clyde.connection.ca/1AnBfN-0007JW-00

You will get this auto-reply message only once.
The following text below is a prerecorded message from registration:

Hi,

You have reached the CGTA Gift Show Registration Department. I am sorry that I am 
unable to reply your e-mail as I am currently out of the office, onsite at the show.

The Registration Department will return to the CGTA office on February 02, 2004.

If you have pre-registered and have received a confirmation by fax or by e-mail, but 
not yet received your badge, you can pick it up at any Advanced Registration Desk at 
the show.

As all pre-registration deadlines have past, you can now register on-site at the show 
with a copy of your vendor’s permit/business license for the gift industry, and a 
personalized imprinted business card for every individual attending under your 
business name.

Please remember, the CGTA Gift Show is a trade show only and is not open to the 
general public.

If you would like to contact the show office of the Toronto Congress Centre, the phone 
number is (416) 244-3224.

If you would like to contact the show office of the Toronto International Centre, the 
phone number is (905) 678-4411.
 

For further information, please visit our website at www.cgta.org.

Thank you kindly,

Celia Oliveira
Registration Co-Ordinator
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html