Commit graph

15870 commits

Author SHA1 Message Date
Andreas Schneider
bd36d85aae Copy the file to the cmake for manpage generation. 2008-07-02 21:00:59 +02:00
Andreas Schneider
1cd21855f2 Improve the manpage, add description and example section. 2008-07-02 20:37:21 +02:00
Andreas Schneider
ea950dc870 Always compile with -fPIC if supported by the compiler. 2008-07-02 20:20:50 +02:00
Andreas Schneider
e1753fbba2 Update changelog. 2008-07-02 19:03:10 +02:00
Andreas Schneider
67efe90536 Add a manpage for the csync commandline client. 2008-07-02 19:02:27 +02:00
Andreas Schneider
f54b36fe7a Change version to 0.42.0 alpha4 and update ChangeLog. 2008-07-02 10:59:37 +02:00
Andreas Schneider
9a96239e7c Change the exclude list to match the directories exactly. 2008-06-28 20:46:25 +02:00
Andreas Schneider
262348c7ef Check if a path is excluded directly in the file tree walker.
This improves the performace of the update detection cause it doesn't have
to walk directories which are excluded.
2008-06-28 20:44:54 +02:00
Andreas Schneider
e1b1eaa6d5 Set dirent to NULL do avoid double free corruption. 2008-06-28 19:49:37 +02:00
Andreas Schneider
70ca880a05 Set the right instruction during propagation for the journal. 2008-06-28 17:18:10 +02:00
Andreas Schneider
274c73a929 Add missing instructions. 2008-06-28 17:17:34 +02:00
Andreas Schneider
880530c079 Set instruction by default to NONE. 2008-06-28 17:14:20 +02:00
Andreas Schneider
c79c7bddc8 Implement a safe write on local file system.
This means that we try again if we got interrupted.
2008-06-28 15:36:30 +02:00
Andreas Schneider
259319f4f9 Stop synchronization if quota exceeded. 2008-06-28 15:33:52 +02:00
Andreas Schneider
96a933a058 More printf fixes.
Add debug output to insert_metadata_visitor to get printf attribute
checking.
2008-06-27 19:24:24 +02:00
Andreas Schneider
5d35a46d07 More printf fixes. 2008-06-27 19:05:54 +02:00
Andreas Schneider
bd8034170a Fix printf attributes. 2008-06-27 18:52:09 +02:00
Andreas Schneider
d968e6f48d Add printf attribute checking for gcc. 2008-06-27 18:51:44 +02:00
Andreas Schneider
0a4d1e41e1 Forgotten %llu fix for PPC. 2008-06-27 18:25:34 +02:00
Andreas Schneider
076c7fb819 More code cleanup for PPC. 2008-06-27 18:01:19 +02:00
Andreas Schneider
cde1a6b9cc Fix segfault on PPC.
The phash (uint64_t) needs to be represented as %llu on PPC or it
segfaults.
2008-06-27 18:01:12 +02:00
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