]> arthur.barton.de Git - netatalk.git/log
netatalk.git
11 years agoMove function cnid_for_path to CNID utility libatalk file
Frank Lahm [Thu, 20 Sep 2012 12:13:31 +0000 (14:13 +0200)]
Move function cnid_for_path to CNID utility libatalk file

11 years agoDispatch queries to Tracker and get results
Frank Lahm [Thu, 20 Sep 2012 09:06:00 +0000 (11:06 +0200)]
Dispatch queries to Tracker and get results

11 years agoAdd non const LVALS macro
Frank Lahm [Thu, 20 Sep 2012 09:04:51 +0000 (11:04 +0200)]
Add non const LVALS macro

11 years agoFix macro
Frank Lahm [Wed, 15 Aug 2012 18:41:47 +0000 (20:41 +0200)]
Fix macro

11 years agoStart working on replying queries, add struct for storing query and a queue
Frank Lahm [Wed, 15 Aug 2012 18:01:38 +0000 (20:01 +0200)]
Start working on replying queries, add struct for storing query and a queue

11 years agoFix conditional Spotlight module compilation
Frank Lahm [Tue, 17 Jul 2012 17:32:23 +0000 (19:32 +0200)]
Fix conditional Spotlight module compilation

11 years agoStart DBUS after the signal mask has been reset as dbus-daemon doesn't seem to be...
Frank Lahm [Mon, 16 Jul 2012 19:57:52 +0000 (21:57 +0200)]
Start DBUS after the signal mask has been reset as dbus-daemon doesn't seem to be doing it properly itself

11 years agoStart a DBUS session daemon from netatalk master process
Frank Lahm [Mon, 16 Jul 2012 17:51:23 +0000 (19:51 +0200)]
Start a DBUS session daemon from netatalk master process

11 years agoAdd configure option for Tracker
Frank Lahm [Thu, 5 Apr 2012 10:17:01 +0000 (12:17 +0200)]
Add configure option for Tracker

11 years agolibtracker-sparql
Frank Lahm [Thu, 5 Apr 2012 08:17:54 +0000 (10:17 +0200)]
libtracker-sparql

11 years agoSpotlight module
Frank Lahm [Mon, 16 Jul 2012 08:51:50 +0000 (10:51 +0200)]
Spotlight module

11 years agoSpotlight module
Frank Lahm [Wed, 4 Jul 2012 13:36:08 +0000 (15:36 +0200)]
Spotlight module

11 years agoFix string length calculation for empty strings
Frank Lahm [Tue, 3 Jul 2012 10:15:19 +0000 (12:15 +0200)]
Fix string length calculation for empty strings

11 years agoSome refactoring
Frank Lahm [Mon, 2 Jul 2012 15:13:33 +0000 (17:13 +0200)]
Some refactoring

11 years agoMove marshalling functions in own file
Frank Lahm [Fri, 29 Jun 2012 09:19:11 +0000 (11:19 +0200)]
Move marshalling functions in own file

11 years agoSpotlight RPC init is working
Frank Lahm [Thu, 28 Jun 2012 15:18:40 +0000 (17:18 +0200)]
Spotlight RPC init is working

11 years agoMarshalling basically works
Frank Lahm [Fri, 22 Jun 2012 14:01:01 +0000 (16:01 +0200)]
Marshalling basically works

11 years agoFirst working packing
Frank Lahm [Fri, 22 Jun 2012 09:44:56 +0000 (11:44 +0200)]
First working packing

11 years agoUntabify
Frank Lahm [Wed, 20 Jun 2012 08:30:58 +0000 (10:30 +0200)]
Untabify

11 years agoAdd most pack functions
Frank Lahm [Wed, 20 Jun 2012 08:25:43 +0000 (10:25 +0200)]
Add most pack functions

11 years agodebug logging
Frank Lahm [Tue, 19 Jun 2012 08:45:21 +0000 (10:45 +0200)]
debug logging

11 years agoRename unmarshalling functions
Frank Lahm [Tue, 19 Jun 2012 08:37:44 +0000 (10:37 +0200)]
Rename unmarshalling functions

11 years agoAdd Spotlight logtype and remove Appletalk logtypes
Frank Lahm [Tue, 19 Jun 2012 07:55:50 +0000 (09:55 +0200)]
Add Spotlight logtype and remove Appletalk logtypes

11 years agoAdd missing macros for storing 64 byte types
Frank Lahm [Mon, 18 Jun 2012 14:57:48 +0000 (16:57 +0200)]
Add missing macros for storing 64 byte types

11 years agoBasic functional Spotlight dissection
Frank Lahm [Sun, 17 Jun 2012 20:40:05 +0000 (22:40 +0200)]
Basic functional Spotlight dissection

11 years agoBetter dumping and example
Frank Lahm [Thu, 14 Jun 2012 14:18:07 +0000 (16:18 +0200)]
Better dumping and example

11 years agoBasic rewrite
Frank Lahm [Thu, 14 Jun 2012 13:00:09 +0000 (15:00 +0200)]
Basic rewrite

11 years agoSPOTLIGHT_CMD_FLAGS
Frank Lahm [Sat, 9 Jun 2012 10:54:27 +0000 (12:54 +0200)]
SPOTLIGHT_CMD_FLAGS

11 years agoImport Spotlight dissector code from Wireshark
Frank Lahm [Sat, 9 Jun 2012 07:15:41 +0000 (09:15 +0200)]
Import Spotlight dissector code from Wireshark

11 years agoMove byteorder.h to include/atalk
Frank Lahm [Fri, 8 Jun 2012 09:23:28 +0000 (11:23 +0200)]
Move byteorder.h to include/atalk

11 years agoGive the baby the name dalloc, haha
Frank Lahm [Thu, 7 Jun 2012 14:18:27 +0000 (16:18 +0200)]
Give the baby the name dalloc, haha

11 years agoAdd destructor
Frank Lahm [Wed, 6 Jun 2012 14:58:11 +0000 (16:58 +0200)]
Add destructor

11 years agoUse talloc typing instead of own types
Frank Lahm [Wed, 6 Jun 2012 13:14:13 +0000 (15:14 +0200)]
Use talloc typing instead of own types

11 years agoFirst checking of Dynamic Datastore
Frank Lahm [Tue, 5 Jun 2012 15:07:43 +0000 (17:07 +0200)]
First checking of Dynamic Datastore

11 years agoMoved talloc.h
Frank Lahm [Mon, 4 Jun 2012 17:23:01 +0000 (19:23 +0200)]
Moved talloc.h

11 years agoMove talloc.h to include/atalk dir
Frank Lahm [Mon, 4 Jun 2012 10:03:08 +0000 (12:03 +0200)]
Move talloc.h to include/atalk dir

11 years agotalloc build fixes
Frank Lahm [Fri, 25 May 2012 10:26:18 +0000 (12:26 +0200)]
talloc build fixes

11 years agoImport talloc 2.0.7
Frank Lahm [Fri, 25 May 2012 10:05:07 +0000 (12:05 +0200)]
Import talloc 2.0.7

11 years agoFix data corruption bug
Frank Lahm [Thu, 23 Aug 2012 10:20:00 +0000 (12:20 +0200)]
Fix data corruption bug

Received data from the client was written to the read-ahead buffer
from dsi_peek() which caused data corrution.
Fix is: change the DSI command buffer from static 8192 bytes to
an allocated buffer of size DSI quantum and use this buffer in
dsi_write/write_fork. That just requires dsi_writeinit to use
memmove instead of memcpy, because now we use the same buffer.

11 years agoUpdate NEWS
Frank Lahm [Thu, 23 Aug 2012 08:18:55 +0000 (10:18 +0200)]
Update NEWS

11 years agoRestructure fork opening, fix adouble refcounting
Frank Lahm [Thu, 23 Aug 2012 08:06:04 +0000 (10:06 +0200)]
Restructure fork opening, fix adouble refcounting

Fixes Bug ID 3559783

The bug is caused by passing ADFLAGS_NOHF to ad_open() when opening a
files data fork. For files without metadata then ad_open() doesn't
return an error for the ADFLAGS_HF request to open the metadata. As a
result of the successfull ad_open return AFPFORK_META is set in the
fork struct, which implies the meta is open. Later afp_close looked at
that flag and added ADFLAGS_HF to ad_close flags, resulting in a
refcount decement of 2 although the ad_open only incremented by 1. Eg
opening such a file twice, then closing once, close the fork. Later
operations on the other still open fork fail.

afp_openfork opens the fork and metadata in one call to ad_open which
lead to an insane if/else and error checking code path.  I've
seperated this in two distincs calls to ad_open(): the first opens the
fork (data or ressource), the second opens the metadata. This gives a
cleaner code path but it required a subtle modifications to the way we
refcount and flag forks as open inside ad_open: currently we use the
fd and it's recount but these do not differente between open data and
metadata in the case of adouble:ea as both use the data fork handle,
fd and it's refcount.  Now we add real refcounting for the forks
different from the recount on the file fd by adding three refcounting
variables to struct.adouble and change the AD_XXX_OPEN macros to use
these.

Added test-suite testcases 3, 4 and 7.

11 years agoFix merge errors
Frank Lahm [Sat, 18 Aug 2012 10:59:03 +0000 (12:59 +0200)]
Fix merge errors

11 years agoFix merge error
Frank Lahm [Sat, 18 Aug 2012 06:05:02 +0000 (08:05 +0200)]
Fix merge error

11 years agoMerge remote branch 'sf/product-2-2' into develop
Frank Lahm [Fri, 17 Aug 2012 12:21:52 +0000 (14:21 +0200)]
Merge remote branch 'sf/product-2-2' into develop

Conflicts:
etc/afpd/afp_dsi.c
libatalk/dsi/dsi_stream.c

11 years agoUpdate NEWS
Frank Lahm [Fri, 17 Aug 2012 11:45:18 +0000 (13:45 +0200)]
Update NEWS

11 years agodiscarded macro HAVE_DB4_DB_H
HAT [Mon, 13 Aug 2012 13:38:41 +0000 (22:38 +0900)]
discarded macro HAVE_DB4_DB_H

11 years agosendfile on Solaris may return EINTR with bytes written https://issues.apache.org...
Frank Lahm [Fri, 3 Aug 2012 06:01:07 +0000 (08:01 +0200)]
sendfile on Solaris may return EINTR with bytes written https://issues.apache.org/bugzilla/show_bug.cgi?id=44550 http://wesunsolve.net/bugid/id/6408517

11 years agohandling of '/' and ':' in volume name
HAT [Wed, 8 Aug 2012 14:44:10 +0000 (23:44 +0900)]
handling of '/' and ':' in volume name

11 years agoBDB is not optional
HAT [Thu, 2 Aug 2012 16:24:35 +0000 (01:24 +0900)]
BDB is not optional

11 years agovolume name must not contain ":"
HAT [Thu, 2 Aug 2012 16:04:31 +0000 (01:04 +0900)]
volume name must not contain ":"

11 years agoTwisted loglevel and logtype
HAT [Thu, 2 Aug 2012 16:00:14 +0000 (01:00 +0900)]
Twisted loglevel and logtype
and Untabfy

11 years agoFix regression introduced by 88436a544d0c87299a3417432b15e897f1ea15ec
Frank Lahm [Thu, 2 Aug 2012 15:43:02 +0000 (17:43 +0200)]
Fix regression introduced by 88436a544d0c87299a3417432b15e897f1ea15ec

11 years agoFix subdirectory ordering
Frank Lahm [Wed, 1 Aug 2012 14:01:38 +0000 (16:01 +0200)]
Fix subdirectory ordering

11 years agoRemove libevent from hardcoded SUBDIRS, it's added by configure as necessary
Frank Lahm [Sat, 28 Jul 2012 12:44:26 +0000 (14:44 +0200)]
Remove libevent from hardcoded SUBDIRS, it's added by configure as necessary

11 years agoReset signal handlers and alarm timer after successfull PAM authentication
Frank Lahm [Fri, 27 Jul 2012 10:01:35 +0000 (12:01 +0200)]
Reset signal handlers and alarm timer after successfull PAM authentication
Fixes a problem with AFP disconnects caused by pam_smbpass.so messing with
our handlers and timer.

11 years agoUpdate libatalk ABI file
Frank Lahm [Wed, 25 Jul 2012 12:09:16 +0000 (14:09 +0200)]
Update libatalk ABI file

11 years agoNew LDAP option ldap uuid encoding, from Thomas Johnson <NTmatter@gmail.com>
Frank Lahm [Wed, 25 Jul 2012 12:03:20 +0000 (14:03 +0200)]
New LDAP option ldap uuid encoding, from Thomas Johnson <NTmatter@gmail.com>

11 years agoLDAP: Support for Active Directory objectGUID
Thomas Johnson [Sun, 15 Jul 2012 15:55:20 +0000 (17:55 +0200)]
LDAP: Support for Active Directory objectGUID

Adds optional "ldap uuid encoding = string | ms-guid" parameter to afp.conf,
allowing for usage of the binary objectGUID fields from Active Directory.

If left unspecified, "string" is the default, which passes through the ASCII
UUID returned by most other LDAP stores. If set to ms-guid, the internal UUID
representation is converted to and from the binary format used in the
objectGUID attribute found on objects in Active Directory when interacting
with the server.

11 years agoMerge remote branch 'sf/develop' into develop
Frank Lahm [Wed, 25 Jul 2012 09:21:06 +0000 (11:21 +0200)]
Merge remote branch 'sf/develop' into develop

11 years agoConvert to more readable error checking
Frank Lahm [Wed, 25 Jul 2012 09:20:44 +0000 (11:20 +0200)]
Convert to more readable error checking

11 years agoasip-status.pl: improvement of visibility.
HAT [Tue, 24 Jul 2012 13:31:16 +0000 (22:31 +0900)]
asip-status.pl: improvement of visibility.
forgotten ExtSleep.
show unknouwn flags.

11 years agoChange loglevel and add a few debug log statements
Frank Lahm [Wed, 18 Jul 2012 09:25:01 +0000 (11:25 +0200)]
Change loglevel and add a few debug log statements

11 years agoMerge remote branch 'sf/develop' into develop
Frank Lahm [Wed, 18 Jul 2012 08:30:39 +0000 (10:30 +0200)]
Merge remote branch 'sf/develop' into develop

11 years agoapple_dump: Extended Attributes AppleDouble support for *BSD
HAT [Mon, 16 Jul 2012 13:32:54 +0000 (22:32 +0900)]
apple_dump: Extended Attributes AppleDouble support for *BSD

11 years agoUpdate news
Frank Lahm [Sat, 14 Jul 2012 14:45:31 +0000 (16:45 +0200)]
Update news

11 years agoRemove AC_NETATALK_SMB_SHAREMODES from configure, it's still an empty stub
Frank Lahm [Fri, 13 Jul 2012 13:28:12 +0000 (15:28 +0200)]
Remove AC_NETATALK_SMB_SHAREMODES from configure, it's still an empty stub

11 years agoBump lib version, some struct have changed
Frank Lahm [Fri, 13 Jul 2012 13:25:24 +0000 (15:25 +0200)]
Bump lib version, some struct have changed

11 years agoMake all struct fields visible, don't hide them behind compile time config.h conditionals
Frank Lahm [Fri, 13 Jul 2012 13:18:21 +0000 (15:18 +0200)]
Make all struct fields visible, don't hide them behind compile time config.h conditionals

11 years agoFix config.h header protection
Frank Lahm [Fri, 13 Jul 2012 13:08:48 +0000 (15:08 +0200)]
Fix config.h header protection

11 years agoSet PAM_RUSER, some PAM module may need it (looking at you pam_smbpass!)
Frank Lahm [Sat, 23 Jun 2012 13:10:41 +0000 (15:10 +0200)]
Set PAM_RUSER, some PAM module may need it (looking at you pam_smbpass!)

11 years agoUpdate NEWS
Frank Lahm [Sat, 23 Jun 2012 11:50:33 +0000 (13:50 +0200)]
Update NEWS

11 years agoFix signal blocking, pthread_sigmask was called before mask initialisation. Also...
Frank Lahm [Wed, 20 Jun 2012 13:33:26 +0000 (15:33 +0200)]
Fix signal blocking, pthread_sigmask was called before mask initialisation. Also block all sigs instead of only SIGTERM (think I saw SIGHUP somewhere).

11 years agoBlock SIGTERM when calling pam_close_session
Frank Lahm [Mon, 18 Jun 2012 14:26:28 +0000 (16:26 +0200)]
Block SIGTERM when calling pam_close_session

11 years agoMissing UAM links
Frank Lahm [Tue, 29 May 2012 14:00:04 +0000 (16:00 +0200)]
Missing UAM links

11 years ago2.2.4dev
Frank Lahm [Tue, 29 May 2012 13:54:07 +0000 (15:54 +0200)]
2.2.4dev

11 years ago2.2.3
Frank Lahm [Tue, 22 May 2012 11:28:53 +0000 (13:28 +0200)]
2.2.3

11 years agoFix ressource leak, from Riccardo Magliocchetti
Frank Lahm [Tue, 22 May 2012 11:13:22 +0000 (13:13 +0200)]
Fix ressource leak, from Riccardo Magliocchetti

11 years agoEnhance logging
Frank Lahm [Mon, 21 May 2012 13:58:46 +0000 (15:58 +0200)]
Enhance logging

11 years agoOnly use AI_NUMERICSERV if defined
Frank Lahm [Mon, 21 May 2012 13:56:45 +0000 (15:56 +0200)]
Only use AI_NUMERICSERV if defined

11 years agonosavepassword is not default
HAT [Wed, 16 May 2012 14:26:30 +0000 (23:26 +0900)]
nosavepassword is not default

11 years agoZeroconf could not advertise non-ASCII time machine volume name, suggested by Oichi
HAT [Tue, 15 May 2012 12:47:44 +0000 (21:47 +0900)]
Zeroconf could not advertise non-ASCII time machine volume name, suggested by Oichi

11 years agoChanged behaviour for TimeMachine volumes in case there's a problem
Frank Lahm [Tue, 15 May 2012 11:43:08 +0000 (13:43 +0200)]
Changed behaviour for TimeMachine volumes in case there's a problem
talking to the CNID daemons. Previously the volume was flagged read-only
and an AFP message was sent to the client. As this might result in
TimeMachine assuming the backup sparse bundle is damaged, we now just
switch the CNID database to an in-memory tdb without the additional stuff.

11 years agoFix regression introduced by previous IPC fds fix
Frank Lahm [Fri, 4 May 2012 08:25:32 +0000 (10:25 +0200)]
Fix regression introduced by previous IPC fds fix

12 years agoPortability fix, preventing crash on FreeBSD
Frank Lahm [Sun, 29 Apr 2012 18:37:04 +0000 (20:37 +0200)]
Portability fix, preventing crash on FreeBSD

11 years agoFix loggging
Frank Lahm [Fri, 13 Jul 2012 10:13:13 +0000 (12:13 +0200)]
Fix loggging

11 years agoInstall relevant includes necessary for building programs with installed headers...
Frank Lahm [Thu, 12 Jul 2012 12:05:16 +0000 (14:05 +0200)]
Install relevant includes necessary for building programs with installed headers and shared lib libatalk

11 years agoAdd missing config.h include
Frank Lahm [Thu, 12 Jul 2012 10:37:09 +0000 (12:37 +0200)]
Add missing config.h include

11 years agoUpdate NEWS
Frank Lahm [Wed, 11 Jul 2012 13:42:43 +0000 (15:42 +0200)]
Update NEWS

11 years agoFix possible alignment violations due to bad casts
Frank Lahm [Wed, 11 Jul 2012 13:22:31 +0000 (15:22 +0200)]
Fix possible alignment violations due to bad casts

11 years agoFix a Solaris 10 SPARC sendfilev bug
Frank Lahm [Tue, 10 Jul 2012 12:47:41 +0000 (14:47 +0200)]
Fix a Solaris 10 SPARC sendfilev bug

11 years agoReset version to 3.0dev
Frank Lahm [Mon, 9 Jul 2012 11:45:02 +0000 (13:45 +0200)]
Reset version to 3.0dev

11 years agoDisable tests wich need a writable volume
Frank Lahm [Mon, 9 Jul 2012 09:38:25 +0000 (11:38 +0200)]
Disable tests wich need a writable volume

11 years agoAdd 3.0 ABI and Version info
Frank Lahm [Mon, 9 Jul 2012 09:11:43 +0000 (11:11 +0200)]
Add 3.0 ABI and Version info

11 years agoImport 3.0 libatalk ABI
Frank Lahm [Mon, 9 Jul 2012 09:08:52 +0000 (11:08 +0200)]
Import 3.0 libatalk ABI

11 years agoSet Version to 3.0
Frank Lahm [Mon, 9 Jul 2012 09:06:16 +0000 (11:06 +0200)]
Set Version to 3.0

11 years agoMinor corrections
Frank Lahm [Mon, 9 Jul 2012 09:03:03 +0000 (11:03 +0200)]
Minor corrections

11 years agoMerge remote branch 'sf/develop' into develop
Frank Lahm [Mon, 9 Jul 2012 05:22:58 +0000 (07:22 +0200)]
Merge remote branch 'sf/develop' into develop

11 years agoImport manpages from XML
Frank Lahm [Mon, 9 Jul 2012 05:21:53 +0000 (07:21 +0200)]
Import manpages from XML

11 years agothe return of the daemon
HAT [Wed, 4 Jul 2012 14:47:07 +0000 (23:47 +0900)]
the return of the daemon
icon should be unique

11 years agoapple_dump: standard input support
HAT [Mon, 2 Jul 2012 14:34:58 +0000 (23:34 +0900)]
apple_dump: standard input support