rsync- buffer overflow/broken pipe with critical filename-lenght using cwrsync at server-side

2009-04-22 Thread Thilo Janssen
hi everybody, i?ve a problem with rsync runnig. constellation: rsyncserver is cwrsync at win2k-machine (without cygwin-beta against long filename-problem), client is a linux-ubuntu box. log from the server: (i just change names with xxx, no special charakters) this error happens all the time a

[PATCH] allow to disable SLP with runtime option

2009-04-22 Thread Petr Uzel
Hi everyone, I'd like to propose a patch for review. It enhances rsync when patched and compiled with slp support. It adds a new global boolean option, 'disable slp', which can be used to disable SLP advertisements at runtime. The idea behind this patch is to allow distributors to build rsync wit

rsync windows acl

2009-04-22 Thread David de Lama
>> Rsync's man page inidcates support for ACLs, but does not mention what >> ACL model is supported. > >Rsync supports POSIX ACLs as described at http://acl.bestbits.at/ . > >> > - Rsync uses Unix-like UIDs and GIDs. [...] > >> Presumably, if rsync supports ACLs, it supports the NFSv4 style >> "use

Re: [Code study] lp_motd_file defination? Help

2009-04-22 Thread Daniel.Li
On Wed, 2009-04-22 at 10:14 +0200, Paul Slootman wrote: > On Wed 22 Apr 2009, Daniel.Li wrote: > > > > Currently, I read this in clientserver.c, line 148. > > > > motd = lp_motd_file(); > > > > I have googled, but didn't the definition of char *lp_motd_file(void). > > > $ grep "lp_motd_file" .

DO NOT REPLY [Bug 3653] Reduce the need for the "vanished files" warning

2009-04-22 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3653 --- Comment #15 from o...@yadan.net 2009-04-22 03:51 CST --- I ended up using the following script for snapback2 (which exits with the same error codes as rsync if rsync fails: # cat /etc/cron.daily/snapback2 #! /bin/sh OUT=`/usr/bin/sn

DO NOT REPLY [Bug 3653] Reduce the need for the "vanished files" warning

2009-04-22 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3653 --- Comment #14 from rv-rsyncbugzi...@eychenne.org 2009-04-22 03:39 CST --- I also find this warning annoying, I really vote for this patch. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email --- You are rec

Re: [Code study] lp_motd_file defination? Help

2009-04-22 Thread Daniel.Li
On Wed, 2009-04-22 at 15:54 +0800, Daniel.Li wrote: > Dear List, > > Currently, I read this in clientserver.c, line 148. > > motd = lp_motd_file(); > > I have googled, but didn't the definition of char *lp_motd_file(void). > Can anyone help to explain the following code segment. Many thanks. I

Re: [Code study] lp_motd_file defination? Help

2009-04-22 Thread Paul Slootman
On Wed 22 Apr 2009, Daniel.Li wrote: > > Currently, I read this in clientserver.c, line 148. > > motd = lp_motd_file(); > > I have googled, but didn't the definition of char *lp_motd_file(void). > $ grep "lp_motd_file" . -R > ./proto.h:char *lp_motd_file(void); > ./loadparm.c:FN_GLOBAL_STRING(l

[Code study] lp_motd_file defination? Help

2009-04-22 Thread Daniel.Li
Dear List, Currently, I read this in clientserver.c, line 148. motd = lp_motd_file(); I have googled, but didn't the definition of char *lp_motd_file(void). Can anyone help to explain the following code segment. Many thanks. #line 147 ~ 160, in clientserver.c, version 3.0.5 > if (!am_client) {