Andreas Schneider
|
e9cfa4e610
|
Remove accidently commited debug message.
|
2008-06-27 16:12:26 +02:00 |
|
Andreas Schneider
|
f52114e043
|
Fix typo.
|
2008-06-25 14:46:01 +02:00 |
|
Andreas Schneider
|
867b8252ad
|
Update changelog and files for 0.42.0 alpha3.
|
2008-06-25 13:55:03 +02:00 |
|
Andreas Schneider
|
9934a2842c
|
Fix disabling the journal in the commandline client.
|
2008-06-25 13:44:11 +02:00 |
|
Andreas Schneider
|
bcbf4f02f5
|
Fix debug output and add more output.
|
2008-06-25 13:43:47 +02:00 |
|
Andreas Schneider
|
e795539137
|
Create files and directories with a default mode again and run chmod.
The chmod function is only called if the file we synchronize has a
different mode set.
|
2008-06-24 18:02:00 +02:00 |
|
Andreas Schneider
|
75c22fce6c
|
Improve debug and error messages.
|
2008-06-24 18:01:43 +02:00 |
|
Andreas Schneider
|
d7d397ab63
|
Change options of the client.
|
2008-06-24 17:39:46 +02:00 |
|
Andreas Schneider
|
8aed1cef83
|
Disable journal completely instead of writing and removing it.
|
2008-06-24 13:36:47 +02:00 |
|
Andreas Schneider
|
d7309c4ff9
|
Rename the callback function.
|
2008-06-24 13:36:27 +02:00 |
|
Andreas Schneider
|
aee15d55ee
|
Improve debug message.
|
2008-06-24 13:34:27 +02:00 |
|
Andreas Schneider
|
c4f87bf519
|
Add missing NULL check.
|
2008-06-24 11:13:56 +02:00 |
|
Andreas Schneider
|
d9821b9780
|
Add getter and setter for the journal exists check.
|
2008-06-24 11:13:17 +02:00 |
|
Andreas Schneider
|
5496d868ca
|
Restructure code and add some comments.
|
2008-06-24 10:20:13 +02:00 |
|
Andreas Schneider
|
b73684cc80
|
Use a static variable for krb5.
|
2008-06-24 10:19:53 +02:00 |
|
Andreas Schneider
|
4c345d5a80
|
Allocate memory directly in the module.
This fixes a segfault in pam_csync.
|
2008-06-20 14:39:58 +02:00 |
|
Andreas Schneider
|
cdda179203
|
Fix kerberos support.
libsmbclient calls always the authentication function. So what we have to
do is to try to authenticat with the current credentials.
|
2008-06-20 14:06:36 +02:00 |
|
Andreas Schneider
|
8f52348315
|
Improve the authentication calls.
Enter will use the old username so you don't have to type it.
|
2008-06-20 10:10:38 +02:00 |
|
Andreas Schneider
|
4ef93cdf17
|
Add more debug output.
|
2008-06-20 10:10:19 +02:00 |
|
Andreas Schneider
|
35284ff09e
|
Set all smbc options before we call smbc_init.
|
2008-06-19 16:08:53 +02:00 |
|
Andreas Schneider
|
a6b2a4b47d
|
Add more debug messages.
|
2008-06-19 15:36:02 +02:00 |
|
Andreas Schneider
|
0f5541ba9a
|
Initialize global variables in csync_smb module.
|
2008-06-19 15:35:41 +02:00 |
|
Andreas Schneider
|
ef6633a130
|
libsmbclient doesn't provide a chown function so disable it.
It would be possible to use smbc_setxattr.
|
2008-06-19 10:32:59 +02:00 |
|
Andreas Schneider
|
902b588d60
|
Close the files after copy.
|
2008-06-18 16:30:00 +02:00 |
|
Andreas Schneider
|
8fa73bb8dd
|
Temporary fix for Samba cause smbc_chown is missing.
|
2008-06-18 16:29:14 +02:00 |
|
Andreas Schneider
|
9d6706493e
|
Add a sysconfdir option to the build script.
|
2008-06-18 14:14:32 +02:00 |
|
Andreas Schneider
|
183f16c386
|
Add a function to merge the trees.
This is needed to be able to write a complete journal.
|
2008-06-18 13:16:45 +02:00 |
|
Andreas Schneider
|
5a05f17187
|
Fix update detection. Don't sync special files.
|
2008-06-18 11:52:57 +02:00 |
|
Andreas Schneider
|
8f427a8ccb
|
Set instruction to UPDATED for newly created files.
This is needed that csync knows which file stats need to be updated. We
need the new inode number for the journal.
|
2008-06-18 10:44:40 +02:00 |
|
Andreas Schneider
|
51728fdd25
|
Rename visitor function to _insert_metadata_visitor.
|
2008-06-18 10:43:57 +02:00 |
|
Andreas Schneider
|
5824c4ba1e
|
Add some comments.
|
2008-06-18 10:43:28 +02:00 |
|
Andreas Schneider
|
7935d63098
|
Don't add deleted files to the journal.
|
2008-06-18 09:56:08 +02:00 |
|
Andreas Schneider
|
4246190524
|
Set O_NOATIME if we are the owner of the file or a superuser.
|
2008-06-16 17:49:45 +02:00 |
|
Andreas Schneider
|
8a9a4b18fb
|
Improve debug output if open fails.
|
2008-06-16 16:42:46 +02:00 |
|
Andreas Schneider
|
0eb0842e0a
|
Fix return code of open which was always 1.
|
2008-06-16 16:41:19 +02:00 |
|
Andreas Schneider
|
9c9faebd0e
|
Fix open on the original file in propagation.
O_NOATIME can only be set by the owner of the file or root.
|
2008-06-16 16:40:25 +02:00 |
|
Andreas Schneider
|
8682bab7f2
|
Set version string for alpha2.
|
2008-06-16 14:05:47 +02:00 |
|
Andreas Schneider
|
8b3deb105e
|
Add a ChangeLog.
|
2008-06-16 12:27:43 +02:00 |
|
Andreas Schneider
|
262a179c68
|
Add a strreplace function to stdlib.
|
2008-06-16 12:12:06 +02:00 |
|
Andreas Schneider
|
72174b6c82
|
Fix journal query test case.
The remote directory must exist for testing.
|
2008-06-16 11:53:59 +02:00 |
|
Andreas Schneider
|
c24411e5e5
|
Don't create the remote directory if it doesn't exist.
|
2008-06-13 18:44:15 +02:00 |
|
Andreas Schneider
|
afa3bd7b80
|
Fix the exclude list test.
|
2008-06-13 09:39:17 +02:00 |
|
Andreas Schneider
|
1608edb5cb
|
Add beagle dir to default exclude list.
|
2008-06-12 10:15:13 +02:00 |
|
Andreas Schneider
|
3ec18e0746
|
Load the right exclude file in the user directory.
|
2008-06-12 09:31:50 +02:00 |
|
Andreas Schneider
|
35d32c045a
|
Add .snapshot dir to default exclude list.
|
2008-06-11 18:16:20 +02:00 |
|
Andreas Schneider
|
c1b9dffd12
|
Remove unused CMake module.
|
2008-06-09 18:16:46 +02:00 |
|
Andreas Schneider
|
9606865383
|
Add CPack support for source tarball generation.
|
2008-06-09 18:14:25 +02:00 |
|
Andreas Schneider
|
914f0e5628
|
Define _GNU_SOURCE only if not defined.
|
2008-06-09 17:19:12 +02:00 |
|
Andreas Schneider
|
bac6f7d7b6
|
Set the right owner and group if possible.
|
2008-06-09 17:16:44 +02:00 |
|
Andreas Schneider
|
971e85871a
|
Move count var to the function stack and add O_NOCTTY to open().
|
2008-06-09 16:44:49 +02:00 |
|