Re: [Bug 2583] rsync fails with authentication failure

2005-04-09 Thread Vidar Madsen
Quoting the comment from the bugtracker; --- Additional Comments From [EMAIL PROTECTED] 2005-04-09 11:19 --- Serendipitously, you'll be glad to know that I just finished checking in some changes to the authorization code that makes it log the reason for why the authorization failed

Re: patch for replacing non-printable chars in filenames

2005-04-01 Thread Vidar Madsen
Hi. After trying this a bit, I now think it would read better to use 3-digit octal escaping. I would be perfectly fine with that. And octal is probably more in the line of how escaping is traditionally done. As long as I can process the files in the log, I'm all for it. Btw, will this change

Re: patch for replacing non-printable chars in filenames

2005-03-31 Thread Vidar Madsen
Hi. Sorry about picking up a rather ancient thread, but this didn't bite me until now (when I upgraded to 2.6.4); Wayne wrote: I've also checked in an improvement to safe_fname() that makes it use isprint() (instead of just looking for newlines). Is there a chance that this feature will

Re: patch for replacing non-printable chars in filenames

2005-03-31 Thread Vidar Madsen
Oops, I should have added that for isprint() (in safe_fname()) to be locale-aware at all, you need to add a call to setlocale(LC_CTYPE, ). Vidar -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Some files not logged when using --compare-dest. Bug?

2005-03-31 Thread Vidar Madsen
Hi again. I just spotted another peculiarity when inspecting the rsync log. When using --compare-dest, source files that have permissions that differ from the comparables are not logged, unless you're using -i. Here's a testing session: $ ls -lR .: total 12 drwxr-xr-x 2 vidar users

Re: Multiple --compare-dest args again

2004-06-23 Thread Vidar Madsen
Thanks for your comments. :) I'll throw in another usage example, while I'm at it. I have several machines, all of which I'm backup with rsync. When I upgrade or install something, it will usually be done on all the machines, as they are supposed to be somewhat identical. What I'd like to do is

Multiple --compare-dest args again

2004-06-22 Thread Vidar Madsen
Hi all. A while ago (April 15th or so) I posted a patch that allows rsync to take multiple --compare-dest or --link-dest arguments, allowing fetching of files not present in multiple trees. I never got any feedback on it, though, so I'm picking it up again. :) Is there any interest in such a

Daemon + ipv6 bug report

2004-06-06 Thread Vidar Madsen
Hi all. I'm just reporting some strange (fatal) behaviour when running rsync --daemon on an IPv6-enabled box. It gets a fatal error when trying to bind to the same address twice. strace output: bind(4, {sa_family=AF_INET6, sin6_port=htons(873), inet_pton(AF_INET6, ::, sin6_addr),

Daemon and IPv6 bug report

2004-06-06 Thread Vidar Madsen
Hi all. I'm just reporting some strange (fatal) behaviour when running rsync --daemon on an IPv6-enabled box. It gets a fatal error when trying to bind to the same address twice. strace output: bind(4, {sa_family=AF_INET6, sin6_port=htons(873), inet_pton(AF_INET6, ::, sin6_addr),

Oops, sorry

2004-06-06 Thread Vidar Madsen
Sorry about the double post. I got an error on the first one (something about an invalid Subject field, in Spanish, no less), but I realized after sending it again that the error came from one of the other recipients on the list, not from the list server. Vidar -- To unsubscribe or change

Multiple compare-dest args

2004-04-15 Thread Vidar Madsen
Hi all. I have just finished a small patch that adds support for multiple --compare-dest or --link-dest args. Its primary usage is to do incremental backups on top of eachother. (My current backup system stores each incremental as a single diff of the latest full.) Example: First full