Andreas Schneider
|
fdea54edc5
|
Fix the vim modlines.
|
2009-05-13 10:12:07 +02:00 |
|
Andreas Schneider
|
050b806dc8
|
Rename FindLibSSH.
|
2009-05-07 17:00:25 +02:00 |
|
Andreas Schneider
|
1cb6ae6fca
|
Fix compilation with latest libssh trunk.
|
2009-04-12 23:58:29 +02:00 |
|
Andreas Schneider
|
42014c9a14
|
Add support for asking the user to add the server to known_hosts.
|
2009-03-30 15:06:12 +02:00 |
|
Andreas Schneider
|
fdadbbebab
|
Rename a variable.
|
2009-03-26 11:41:10 +01:00 |
|
Andreas Schneider
|
6863ff0255
|
Switch to libssh 0.3 and add userdata support.
|
2009-03-26 11:10:37 +01:00 |
|
Andreas Schneider
|
3c618a3d7d
|
Add possibility to pass userdata to the auth function.
|
2009-03-26 11:09:46 +01:00 |
|
Andreas Schneider
|
0634e0fdea
|
Don't require a C++ compiler.
|
2009-03-18 10:55:14 +01:00 |
|
Andreas Schneider
|
6d20c8b4fc
|
Install the modules to a version directory.
The directory version number is the soversion of the library.
|
2008-12-16 15:03:57 +01:00 |
|
Andreas Schneider
|
4a2677a539
|
Add more debug output.
|
2008-11-05 15:51:18 +01:00 |
|
Andreas Schneider
|
dd52ac837e
|
Fix libssh connect bug cause of uninitialized port variable.
|
2008-11-05 15:50:09 +01:00 |
|
Andreas Schneider
|
db9049d198
|
Add missing line breaks.
|
2008-11-05 11:12:03 +01:00 |
|
Andreas Schneider
|
50929d6457
|
Add error message to csync_sftp module.
|
2008-11-05 10:46:02 +01:00 |
|
Andreas Schneider
|
a825dd3e14
|
Fix libsmbclient 3.0.x code.
|
2008-10-29 13:50:04 +01:00 |
|
Andreas Schneider
|
1387904c21
|
Add NULL check for the auth_cb function.
|
2008-09-09 15:09:16 +02:00 |
|
Andreas Schneider
|
8b3b57734e
|
Fix segfault in the modules if running in a pam module.
If csync is running in a pam module and the module isn't linked
against the cstdlib, the module segfaults.
|
2008-09-09 15:07:37 +02:00 |
|
Andreas Schneider
|
959911fa32
|
Only build the sftp module if libssh is found.
|
2008-09-04 16:08:50 +02:00 |
|
Andreas Schneider
|
55c17b6832
|
Fix build warning.
|
2008-08-22 15:28:09 +02:00 |
|
Andreas Schneider
|
f607dfbefa
|
Add a basic implemntation for a second sftp module with libssh2.
|
2008-08-20 18:58:46 +02:00 |
|
Andreas Schneider
|
56a26d8cd0
|
Revert "Rename the libssh sftp module to have a backup."
This reverts commit 12d8ba2c97 .
|
2008-08-20 18:48:16 +02:00 |
|
Andreas Schneider
|
12d8ba2c97
|
Rename the libssh sftp module to have a backup.
|
2008-08-18 09:45:36 +02:00 |
|
Andreas Schneider
|
f984f78198
|
Use the uri parser of the stdlib.
|
2008-08-12 15:43:42 +02:00 |
|
Andreas Schneider
|
b5da50b035
|
Use the auth callback for ssh kbd interaction.
|
2008-08-12 15:36:14 +02:00 |
|
Andreas Schneider
|
27800adce5
|
Fix some visual flaws in the auth callback of the client.
|
2008-08-12 11:18:24 +02:00 |
|
Andreas Schneider
|
95f4db7c4f
|
Create a more generic authentication callback.
|
2008-08-11 13:21:15 +02:00 |
|
Andreas Schneider
|
ae304565af
|
Added password only flag or auth callback.
|
2008-08-08 17:28:33 +02:00 |
|
Andreas Schneider
|
4b03d4ff78
|
Linking against the stdlib isn't needed.
|
2008-08-08 15:58:18 +02:00 |
|
Andreas Schneider
|
e4fc52188d
|
Finalize the functions for sftp.
The authentication with username/password still doesn't work.
|
2008-08-08 15:57:19 +02:00 |
|
Andreas Schneider
|
d875c8a6fa
|
More work on the sftp module.
The module doesn't really work, cause the sftp functions don't
set any errno.
|
2008-08-07 14:24:27 +02:00 |
|
Andreas Schneider
|
ecf1027a54
|
This is a start for a sftp module.
|
2008-08-06 18:16:54 +02:00 |
|
Andreas Schneider
|
05253be461
|
Simplify _readdir function of the smb module.
|
2008-08-06 18:16:08 +02:00 |
|
Andreas Schneider
|
d7309c4ff9
|
Rename the callback function.
|
2008-06-24 13:36:27 +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
|
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
|
8fa73bb8dd
|
Temporary fix for Samba cause smbc_chown is missing.
|
2008-06-18 16:29:14 +02:00 |
|
Andreas Schneider
|
0da1133bdb
|
Return an error if basename fails on uri in stat command.
|
2008-05-21 16:06:45 +02:00 |
|
Andreas Schneider
|
711f8ff78d
|
Fix abort, don't free dirent.
|
2008-05-13 16:02:59 +02:00 |
|
Andreas Schneider
|
7284461931
|
Don't segfault if the callback is NULL.
|
2008-05-13 16:02:24 +02:00 |
|
Andreas Schneider
|
4e6a65ab9d
|
Use the auth callback in the modules.
|
2008-05-13 13:39:34 +02:00 |
|
Andreas Schneider
|
1b223a355c
|
Fix build warnings.
|
2008-05-09 10:57:40 +02:00 |
|
Andreas Schneider
|
e6f4a4cf4b
|
Add a module dummy for testing.
|
2008-05-09 10:56:38 +02:00 |
|
Andreas Schneider
|
2fe557af62
|
Change the debug message.
|
2008-04-30 13:09:44 +02:00 |
|
Andreas Schneider
|
fb55788e2e
|
Add support for new libsmbclient interface.
|
2008-04-29 09:54:29 +02:00 |
|