Ownership

2004-09-02 Thread Essyug
Hello,
I'm setting up a Linux backup server for Windows Workstations, using
rsync-2.6.3pre1+acl on the server and cygwin rsync-2.6.2-2 on the
Workstations. At this point, I don't care about perserving the acls ; I
only want to preserve the ownership of the files. My server is running
in daemon mode as root, and winbindd (from samba 3.0.6) is running 
correctly : I can get all the users entries from my W2k PDC with 
"gentent passwd", their uid beeing mapped to the 1-2 range. Here 
is my /etc/rsyncd.conf file :

[backup]
path = /backuptest
uid = root
gid = root
read only = false
My test directory on W2k and all its content are owned by 
DOMAIN\testuser, which is a domain administrator.

When I run the following command under cygwin:
rsync -avP testdir $BACKUPserver::backuptest
... the directory is owned by 544:root on the Linux server. Samba shows 
the owner as S-12345-etc.

I've tried --numeric-ids with exactly the same result. This is annoying 
since a would like to use quota on the backup partition.

Is there any way to work aroubnd this problem ?
--
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: Compile error on cygwin

2004-09-02 Thread Dan Bolser
On Thu, 2 Sep 2004, Greger Cronquist wrote:

>
>
>Dan Bolser wrote:
>
>>$ uname -a
>>CYGWIN_NT-5.1 GENUS 1.3.15(0.63/3/2) 2002-11-06 22:41 i686 unknown
>>
>>  
>>
>
>You are using an *ancient* version of cygwin, do consider to update it
>(www.cygwin.com/setup.exe) Using the installer you can also elect to
>install rsync 2.6.2 directly.

I never would have known!

Thanks very much!

Dan.


>
>If that's not an option for you, you can still try cwrsync at www.itefix.no, but that 
>also comes with a newer cygwin DLL and probably causes problems with your old 
>installation.
>
>Regards, Greger
>
>

-- 
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: Compile error on cygwin

2004-09-02 Thread Greger Cronquist

Dan Bolser wrote:
$ uname -a
CYGWIN_NT-5.1 GENUS 1.3.15(0.63/3/2) 2002-11-06 22:41 i686 unknown
 

You are using an *ancient* version of cygwin, do consider to update it 
(www.cygwin.com/setup.exe) Using the installer you can also elect to install rsync 
2.6.2 directly.
If that's not an option for you, you can still try cwrsync at www.itefix.no, but that 
also comes with a newer cygwin DLL and probably causes problems with your old 
installation.
Regards, Greger
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Compile error on cygwin

2004-09-02 Thread Dan Bolser

Hi, 

I am am new to cygwin, so if this email lacks any glaring detail,
please let me know how I can send it along.

Rsync is the first app I have tried to install on cygwin, I have version
2.5.5 already installed, but I am trying to upgrade to remove the 'rsync
hangs with cygwin' problem.

I am trying to install verison 2.6.2 from rsync-2.6.2.tar.gz. 

Configure runs fine, but make gives me the following output...

$ make
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o rsync.o
In file included from rsync.c:23:
rsync.h:276:17: operator '==' has no left operand
rsync.h:278:20: operator '==' has no left operand
rsync.h:280:21: operator '==' has no left operand
rsync.h:303:20: operator '==' has no left operand
rsync.h:305:19: operator '==' has no left operand
rsync.h:315:18: operator '==' has no left operand
rsync.h:317:19: operator '==' has no left operand
make: *** [rsync.o] Error 1


I tried to build version 2.4.0 as per the exelent instructions provided
by Paul Thompson at

http://www.cygwin.com/ml/cygwin/2003-10/msg00129.html


And it does compile, creating an rsync.exe

However, this exe is mostly unresponsive, and when it does do something it
does a core dump. i.e. 

$ ./rsync --verions
rsync: unknown option -- verions
Segmentation fault (core dumped)

$ ./rsync --version

$ ./rsync --help
Segmentation fault (core dumped)


The above error (about ==) does not appear in google, so any help you
could offer a novice would be greatly appreciated.

$ uname -a
CYGWIN_NT-5.1 GENUS 1.3.15(0.63/3/2) 2002-11-06 22:41 i686 unknown

Thanks,
Dan.

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


test

2004-09-02 Thread Dan Bolser

hello?


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