]>
arthur.barton.de Git - netatalk.git/log
Frank Lahm [Wed, 21 Mar 2012 14:14:45 +0000 (15:14 +0100)]
Remove remaining caseinsensitive stuff
Frank Lahm [Wed, 21 Mar 2012 11:23:25 +0000 (12:23 +0100)]
Add Kerberos libs to afpd, we need it with the new kerb stuff
Frank Lahm [Tue, 20 Mar 2012 17:54:42 +0000 (18:54 +0100)]
Import manpage from XML
Frank Lahm [Tue, 20 Mar 2012 16:34:42 +0000 (17:34 +0100)]
Adjust charset comments
Frank Lahm [Tue, 20 Mar 2012 16:01:16 +0000 (17:01 +0100)]
Fix server options parser.
New server option "nosendfile" to disable sendfile() usage at runtime.
Frank Lahm [Mon, 19 Mar 2012 13:13:39 +0000 (14:13 +0100)]
Merge branch 'branch-allea' of netafp.com:git/netatalk into branch-allea
Frank Lahm [Mon, 19 Mar 2012 13:11:19 +0000 (14:11 +0100)]
Fix one off
Jamie Gilbertson [Fri, 16 Mar 2012 03:46:38 +0000 (21:46 -0600)]
Change status_directorynames to use keytab when constructing names
v3: Forgot to pass the address of 'data' to append_directoryname (since it adjusts it by the length of the principal)
v2: Add append_directory name
v2: Construct a directory name even if Kerberos support is disabled
When constructing the DirectoryNames portion of the response, we check if uams_gss is loaded. If it isn't, we don't bother with constructing a name. If uams_gss *is* loaded, we need to check the options k5service, fqdn and k5realm. If they are set, we construct a service principal name using them, and ensure that principal is present in afpd's keytab. Otherwise, we use the principal from the first entry in the keytab. After we have a valid principal, we convert it to a directory name, and use it for the response.
AFPSRVRINFO_SRVRDIR implies that we can authenticate via Kerberos, so only enable that if uams_gss is loaded.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:33 +0000 (20:34 -0600)]
Add configure option for Kerberos support
We need to use the native Kerberos API to read afpd's keytab. So, we add a configure feature for the next patch in the series to use.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:32 +0000 (20:34 -0600)]
Formatting/logging for uams_gss
Changed formatting to be consistent.
Added convenience macros for logging.
Log which service principal the client chose to use.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:31 +0000 (20:34 -0600)]
Use stdint.h
Since we now require at least C99 to build, use the standard int types defined in <stdint.h>
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:30 +0000 (20:34 -0600)]
Cleaned up includes
Removed includes that are either not used or included indirectly.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:29 +0000 (20:34 -0600)]
Register just UAM_SERVER_LOGIN_EXT
Registering UAM_SERVER_LOGIN_EXT is sufficent, since it and UAM_SERVER_LOGIN are treated the same by uam.c and auth.c
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Jamie Gilbertson [Tue, 13 Mar 2012 02:34:28 +0000 (20:34 -0600)]
Use principals in keytab instead of specifying one
We now accept any principal that is in afpd's keytab as valid. As a result, removed code that used the various Kerberos options to specify the principal to use in gss_accept_sec_context.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
HAT [Sun, 18 Mar 2012 23:23:07 +0000 (08:23 +0900)]
remove perm option
HAT [Sun, 18 Mar 2012 16:06:49 +0000 (01:06 +0900)]
more intuitive parameter
delimiter is comma and space
Frank Lahm [Sun, 18 Mar 2012 15:41:07 +0000 (16:41 +0100)]
Import manpage
Frank Lahm [Sun, 18 Mar 2012 15:33:03 +0000 (16:33 +0100)]
Append time to sleep and disconnect option
Frank Lahm [Sun, 18 Mar 2012 14:25:55 +0000 (15:25 +0100)]
Dont remove rfork EA on zero leght truncation ifdef HAVE_EAFD
Frank Lahm [Sun, 18 Mar 2012 09:51:30 +0000 (10:51 +0100)]
Fix removal of zero truncated rforks
Frank Lahm [Sun, 18 Mar 2012 06:40:26 +0000 (07:40 +0100)]
Initialize filler to zero
Frank Lahm [Sun, 18 Mar 2012 06:38:38 +0000 (07:38 +0100)]
Fix for previous merge from master
Frank Lahm [Sat, 17 Mar 2012 21:18:55 +0000 (22:18 +0100)]
Merge remote branch 'sf/branch-allea' into branch-allea
Frank Lahm [Sat, 17 Mar 2012 21:18:14 +0000 (22:18 +0100)]
Merge master
Frank Lahm [Sat, 17 Mar 2012 17:10:52 +0000 (18:10 +0100)]
Merge remote branch 'sf/master'
Frank Lahm [Sat, 17 Mar 2012 17:08:58 +0000 (18:08 +0100)]
Cleanup respawn throttling code
HAT [Sat, 17 Mar 2012 16:18:04 +0000 (01:18 +0900)]
default charset
Frank Lahm [Fri, 16 Mar 2012 14:20:04 +0000 (15:20 +0100)]
Merge remote branch 'sf/branch-allea' into branch-allea
Frank Lahm [Fri, 16 Mar 2012 14:17:53 +0000 (15:17 +0100)]
Fix hostname detection
HAT [Fri, 16 Mar 2012 14:16:28 +0000 (23:16 +0900)]
LOG for LOCALE
Frank Lahm [Thu, 15 Mar 2012 18:52:21 +0000 (19:52 +0100)]
libatalk is now a read dynamic library
HAT [Thu, 15 Mar 2012 16:36:52 +0000 (01:36 +0900)]
renewal of charset options
unix charset = LOCALE [G]
vol charset = UTF8 [G] [V]
mac charset = MAC_ROMAN [G] [V]
BUG: manpage has not been corrected yet.
TODO: default value of unix charset is LOCALE or UTF8 ?
HAT [Thu, 15 Mar 2012 14:46:05 +0000 (23:46 +0900)]
small fix
HAT [Thu, 15 Mar 2012 13:25:28 +0000 (22:25 +0900)]
replace "sysv-style" with "init-style"
Frank Lahm [Thu, 15 Mar 2012 10:02:21 +0000 (11:02 +0100)]
Option for specifying path to CNID database is now a global opion named 'vol dbpath'
Frank Lahm [Thu, 15 Mar 2012 09:41:47 +0000 (10:41 +0100)]
Merge remote branch 'sf/branch-allea' into branch-allea
Frank Lahm [Thu, 15 Mar 2012 09:33:43 +0000 (10:33 +0100)]
Change default installation directories:
1. afp.conf to $sysconfdir
2. UAMS to $libdir/netatalk
Fix afpd -v ouput.
Frank Lahm [Thu, 15 Mar 2012 05:57:51 +0000 (06:57 +0100)]
Move AppleDB
Frank Lahm [Wed, 14 Mar 2012 14:02:08 +0000 (15:02 +0100)]
New state dir
HAT [Wed, 14 Mar 2012 13:04:00 +0000 (22:04 +0900)]
remove ATALK_MAC_CHARSET and ATALK_UNIX_CHARSET
Frank Lahm [Wed, 14 Mar 2012 12:30:39 +0000 (13:30 +0100)]
Cleanup
Frank Lahm [Wed, 14 Mar 2012 11:25:54 +0000 (12:25 +0100)]
Do not ask for SUSv3, instead use <atalk/standard.h> as necessary
Frank Lahm [Wed, 14 Mar 2012 09:38:26 +0000 (10:38 +0100)]
Use reentrant strtok_r
HAT [Tue, 13 Mar 2012 16:22:42 +0000 (01:22 +0900)]
remove legacy stuff
HAT [Tue, 13 Mar 2012 15:54:12 +0000 (00:54 +0900)]
afp.conf: show version
HAT [Tue, 13 Mar 2012 15:43:23 +0000 (00:43 +0900)]
For the future, conf file version is clarified
HAT [Tue, 13 Mar 2012 14:48:37 +0000 (23:48 +0900)]
initscript: fix
not use AC_ARG_ENABLE
Frank Lahm [Tue, 13 Mar 2012 11:14:43 +0000 (12:14 +0100)]
Not all krb5-config support gssapi libs output
Frank Lahm [Tue, 13 Mar 2012 08:35:04 +0000 (09:35 +0100)]
Missing include
HAT [Mon, 12 Mar 2012 17:17:25 +0000 (02:17 +0900)]
update initscripts
Frank Lahm [Mon, 12 Mar 2012 16:15:37 +0000 (17:15 +0100)]
Add missing default value for dbpath
Frank Lahm [Mon, 12 Mar 2012 15:36:48 +0000 (16:36 +0100)]
Offset was not added when reading ressource fork
Frank Lahm [Mon, 12 Mar 2012 14:34:40 +0000 (15:34 +0100)]
Remove empty adoubel rfork and use UNIX name in struct adouble
Frank Lahm [Mon, 12 Mar 2012 12:01:19 +0000 (13:01 +0100)]
Creating a ressource fork clobbered the metadata EA
Jamie Gilbertson [Sun, 11 Mar 2012 06:02:11 +0000 (23:02 -0700)]
Honor the debug option (we fork before parsing config)
afpd doesn't actually respect the debug command-line option, because obj.options.flags isn't updated until after afpd has already daemonized itself. Changed to check obj.cmdlineflags instead.
Signed-off-by: Jamie Gilbertson <jamie.gilbertson@luniv.ca>
Frank Lahm [Fri, 9 Mar 2012 10:20:56 +0000 (11:20 +0100)]
Merge branch 'master' of netafp.com:git/netatalk
Frank Lahm [Fri, 9 Mar 2012 10:20:40 +0000 (11:20 +0100)]
Fix dependencie on LDAP
Frank Lahm [Thu, 8 Mar 2012 15:01:11 +0000 (16:01 +0100)]
Changes to the iniparser lib
Frank Lahm [Wed, 7 Mar 2012 13:17:26 +0000 (14:17 +0100)]
Merge remote branch 'netafp/master' into branch-allea
Frank Lahm [Wed, 7 Mar 2012 13:16:44 +0000 (14:16 +0100)]
Check if server_name might is GSS_C_NO_NAME
Frank Lahm [Wed, 7 Mar 2012 12:55:27 +0000 (13:55 +0100)]
Merge remote branch 'sf/branch-allea' into branch-allea
HAT [Wed, 7 Mar 2012 13:44:25 +0000 (22:44 +0900)]
manpage of afp.conf was not installed
Frank Lahm [Wed, 7 Mar 2012 12:54:13 +0000 (13:54 +0100)]
No home for guest logins
Frank Lahm [Wed, 7 Mar 2012 10:52:57 +0000 (11:52 +0100)]
Test for EAs and ad_convert as root
Frank Lahm [Wed, 7 Mar 2012 10:49:33 +0000 (11:49 +0100)]
Reset curdir when closing a volume, fixes a crash in movecwd()
Frank Lahm [Wed, 7 Mar 2012 10:05:38 +0000 (11:05 +0100)]
Fix mdns merge from master
Frank Lahm [Wed, 7 Mar 2012 10:12:01 +0000 (11:12 +0100)]
Ensure username has no trailing slash and fix hostaccessvol
Frank Lahm [Wed, 7 Mar 2012 09:34:30 +0000 (10:34 +0100)]
Merge master
Frank Lahm [Tue, 6 Mar 2012 15:58:06 +0000 (16:58 +0100)]
LDAP config string values must be strdup'ed
Frank Lahm [Tue, 6 Mar 2012 14:16:15 +0000 (15:16 +0100)]
Merge branch 'branch-allea' of netafp.com:git/netatalk into branch-allea
Frank Lahm [Tue, 6 Mar 2012 14:16:01 +0000 (15:16 +0100)]
Ignore EAs on symlinks
Frank Lahm [Tue, 6 Mar 2012 12:31:33 +0000 (13:31 +0100)]
Fix child slot handling
Frank Lahm [Mon, 5 Mar 2012 15:37:25 +0000 (16:37 +0100)]
Update news
Frank Lahm [Mon, 5 Mar 2012 15:36:06 +0000 (16:36 +0100)]
Merge branch 'ldap'
Frank Lahm [Mon, 5 Mar 2012 15:36:05 +0000 (16:36 +0100)]
Reduce loglevel from error to debug
Frank Lahm [Mon, 5 Mar 2012 14:28:11 +0000 (15:28 +0100)]
Fix for undefined path and set username, from Anton Starikov
Frank Lahm [Mon, 5 Mar 2012 14:24:14 +0000 (15:24 +0100)]
Fixes, from Riccardo Magliocchetti
Frank Lahm [Mon, 5 Mar 2012 13:30:24 +0000 (14:30 +0100)]
Fix, from Riccardo Magliocchetti
Frank Lahm [Mon, 5 Mar 2012 12:04:40 +0000 (13:04 +0100)]
Fixes, from Riccardo Magliocchetti
Frank Lahm [Mon, 5 Mar 2012 11:52:05 +0000 (12:52 +0100)]
ldap_uuid_string
Frank Lahm [Sun, 4 Mar 2012 13:03:57 +0000 (14:03 +0100)]
Fix, from Anton Starikov
Frank Lahm [Sun, 4 Mar 2012 09:09:17 +0000 (10:09 +0100)]
Seperate Netatalk special dirs from adouble:v2 dirs, compare case sensitive and check for netatalk_dirs in adouble:ea
Frank Lahm [Sun, 4 Mar 2012 08:34:17 +0000 (09:34 +0100)]
Add some debug messages for dbpath
Frank Lahm [Sun, 4 Mar 2012 07:24:02 +0000 (08:24 +0100)]
Fix, from Anton Starikov
Frank Lahm [Sat, 3 Mar 2012 21:24:13 +0000 (22:24 +0100)]
Fixes, from Anton Starikov
Frank Lahm [Sat, 3 Mar 2012 18:15:13 +0000 (19:15 +0100)]
Support relative paths in getvolbypath
Frank Lahm [Sat, 3 Mar 2012 15:30:20 +0000 (16:30 +0100)]
Fixes
Frank Lahm [Sat, 3 Mar 2012 13:34:27 +0000 (14:34 +0100)]
Include parameter
Frank Lahm [Sat, 3 Mar 2012 06:56:39 +0000 (07:56 +0100)]
Fix an refcounting bug
HAT [Fri, 2 Mar 2012 16:15:10 +0000 (01:15 +0900)]
configure summary and afpd -V: show mDNSResponder or Avahi
Frank Lahm [Fri, 2 Mar 2012 14:27:12 +0000 (15:27 +0100)]
Fix fd leakage
Frank Lahm [Fri, 2 Mar 2012 12:20:33 +0000 (13:20 +0100)]
Add some description about the iniparser
Frank Lahm [Thu, 1 Mar 2012 12:44:13 +0000 (13:44 +0100)]
basedir regex
Frank Lahm [Thu, 1 Mar 2012 11:53:05 +0000 (12:53 +0100)]
Use a regex to find user homes basedir
Frank Lahm [Wed, 29 Feb 2012 15:27:06 +0000 (16:27 +0100)]
Merge branch 'branch-allea' of netafp.com:git/netatalk into branch-allea
Frank Lahm [Wed, 29 Feb 2012 15:26:51 +0000 (16:26 +0100)]
Support for home dirs
Frank Lahm [Wed, 29 Feb 2012 12:03:59 +0000 (13:03 +0100)]
Support for mdnsresponder, from Lee Essen
Frank Lahm [Wed, 29 Feb 2012 10:11:56 +0000 (11:11 +0100)]
Use GSS_C_NO_NAME as server principal when Kerberos options -fqdn and -krb5service are not set, from Jamie Gilbertson
Frank Lahm [Mon, 27 Feb 2012 14:23:40 +0000 (15:23 +0100)]
Solaris fixes
Frank Lahm [Fri, 24 Feb 2012 14:52:14 +0000 (15:52 +0100)]
Fixes