Frank Lahm | 3 Feb 2012 18:30

Fyi: Netatalk 3.0

To whom it may concern:
I've started a small page where I summarize the most important news
and changes in the next major version of Netatalk.

https://docs.google.com/document/d/15-SJklCVrWoP7rkRFqFnOnjIukvo-QkAK20QF-J0ry0/edit

-f

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Frank Lahm | 15 Feb 2012 14:49

Netatalk 3.0 moving forward [was: [Netatalk-git]Netatalk git repository. branch, branch-iniconfig, updated. netatalk-2-1-4-1031-gc6a46a1]

Hi there,

>>>  delete mode 100644 man/man5/afp_signature.conf.5.tmpl
>>>  delete mode 100644 man/man5/afp_voluuid.conf.5.tmpl
>>
>> Why were these manpages deleted?
>
> By mistake. I'll put them back tomorrow.

I've fixed this one, thanks for catching.

> I'm now mostly finished with the main framework for the new config
> code, I'll give you a more detailed update in the following days so
> that you can contribute if you like.

Ok, here we go! ;)

I've merge branch-iniconfig to branch-allea and deleted it afterwards.
The new inifconfig stuff is basically fully functional at this point,
but some loose ends remain. I've listed them at the end of the
Netatalk 3.0 Googledoc [1] under the TODO section. Feel free to pick
any of the open issues and start working on it, if you do, please drop
me a note so we don't work on the same on, I'll do the same. You might
also commit on branch-allea from this point onwards because afaict I'm
really done with all the heavy changes.

The new ini conifg stuff has proven to be a HUGE code cleanup.

-f

(Continue reading)

Frank Lahm | 19 Feb 2012 08:05

[Netatalk 3] Volume defaults in afp.conf

Hi,

I'm trying to find an intuitive configuration syntax for the volume
defaults stuff in afp.conf (like what we had with :DEFAULT: in
AppleVolumes.default).
I came up with this and would like to get some feedback on it. Thanks!

---8<--- afp.conf
...

[mydefaults1]
defaultset = yes ; this is a defaultset, not a volume
options = ro
cnidsheme = tdb

[mydefaults2]
defaultset = yes ; this is a defaultset, not a volume
options = rw
cnidsheme = dbd

[CD ROM]
path = /mnt/cdrom
defaults = mydefaults1 ; use defaultset once

[AFP Vol 1]
path  = /my/vol1
changedefaults = mydefaults2 ; change defaults for this and subsequent volumes

[AFP Vol 2]
; uses defaultset "mydefaults2" too
(Continue reading)

HAT | 19 Feb 2012 14:29
Picon
Gravatar

Re: [Netatalk 3] Volume defaults in afp.conf

hi,

Frank Lahm <franklahm <at> googlemail.com>, 19 Feb 2012 08:05:16 +0100
> Hi,
> 
> I'm trying to find an intuitive configuration syntax for the volume
> defaults stuff in afp.conf (like what we had with :DEFAULT: in
> AppleVolumes.default).
> I came up with this and would like to get some feedback on it. Thanks!
> 
> ---8<--- afp.conf
> ...
> 
> [mydefaults1]
> defaultset = yes ; this is a defaultset, not a volume
> options = ro
> cnidsheme = tdb
> 
> [mydefaults2]
> defaultset = yes ; this is a defaultset, not a volume
> options = rw
> cnidsheme = dbd
> 
> [CD ROM]
> path = /mnt/cdrom
> defaults = mydefaults1 ; use defaultset once
> 
> [AFP Vol 1]
> path  = /my/vol1
> changedefaults = mydefaults2 ; change defaults for this and subsequent volumes
(Continue reading)

Frank Lahm | 19 Feb 2012 16:01

Re: [Netatalk 3] Volume defaults in afp.conf

Hi,

2012/2/19 HAT <hat <at> fa2.so-net.ne.jp>:
> hi,
>
> Frank Lahm <franklahm <at> googlemail.com>, 19 Feb 2012 08:05:16 +0100
>> Hi,
>>
>> I'm trying to find an intuitive configuration syntax for the volume
>> defaults stuff in afp.conf (like what we had with :DEFAULT: in
>> AppleVolumes.default).
>> I came up with this and would like to get some feedback on it. Thanks!
>>
>> ---8<--- afp.conf
>> ...
>>
>> [mydefaults1]
>> defaultset = yes ; this is a defaultset, not a volume
>> options = ro
>> cnidsheme = tdb
>>
>> [mydefaults2]
>> defaultset = yes ; this is a defaultset, not a volume
>> options = rw
>> cnidsheme = dbd
>>
>> [CD ROM]
>> path = /mnt/cdrom
>> defaults = mydefaults1 ; use defaultset once
>>
(Continue reading)

Alan Snelgrove | 19 Feb 2012 17:01
Picon
Favicon

Re: [Netatalk 3] Volume defaults in afp.conf

Hi, 

It is possible to have some generic terms to match what an Apple AFPServer does.
For instance if I add a new volume on a Mac it is automounted at /Volumes/volname, and auto-shared over afp as volname.

The current method allows for $v,$u,$h,etc. which I use in AppleVolumes.default to share volumes that the
user is not authorised to until the volume is mounted. 

It would be nice if something like the following were possible

[AFP Volumes]
path = /my/$v
sharename = $h.$v

I guess there is no desire to mount the host's root directory, which is available from a Mac server but not
from an AirPort Extreme.

Regards
Alan

   
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
John Brisbin | 19 Feb 2012 19:44

Re: [Netatalk 3] Volume defaults in afp.conf

On 2/19/12 5:29 AM, HAT wrote:
> <snip>
> I cannot understand this format well because it is very complicated.
> It's not intuitive that there are two or more defaults.
> <snip>
Perhaps if each was called a 'preset', instead of a 'default' it would 
make more sense to more people when there is the possibility of more 
than one.

John Brisbin

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Frank Lahm | 20 Feb 2012 11:05

Re: [Netatalk 3] Volume defaults in afp.conf

Am 19. Februar 2012 19:44 schrieb John Brisbin <john <at> nakasuji.com>:
> On 2/19/12 5:29 AM, HAT wrote:
>> <snip>
>> I cannot understand this format well because it is very complicated.
>> It's not intuitive that there are two or more defaults.
>> <snip>
> Perhaps if each was called a 'preset', instead of a 'default' it would
> make more sense to more people when there is the possibility of more
> than one.

Possibly, so what about:

---8<--- afp.conf
...

[mypreset1]
preset = yes ; this is a volume preset, not a volume
options = ro
cnidsheme = tdb

[mypreset2]
preset = yes ; this is a volume preset, not a volume
options = rw
adouble = v2
cnidsheme = dbd

[mypreset3]
preset = yes ; this is a preset, not a volume
options = rw noacls noupriv
adouble = ea
(Continue reading)

Frank Lahm | 20 Feb 2012 11:07

Re: [Netatalk 3] Volume defaults in afp.conf

Am 19. Februar 2012 17:01 schrieb Alan Snelgrove <alansnelgrove <at> yahoo.co.uk>:
> Hi,
>
> It is possible to have some generic terms to match what an Apple AFPServer does.
> For instance if I add a new volume on a Mac it is automounted at /Volumes/volname, and auto-shared over afp
as volname.
>
> The current method allows for $v,$u,$h,etc. which I use in AppleVolumes.default to share volumes that
the user is not authorised to until the volume is mounted.
>
> It would be nice if something like the following were possible
>
> [AFP Volumes]
> path = /my/$v
> sharename = $h.$v

The variable substitution semantics should be fully preserved.

-f

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Florent Viard | 20 Feb 2012 14:07
Gravatar

Re: [Netatalk 3] Volume defaults in afp.conf

Hi,

Why not use a prefix in the name of a preset to indicate that it is?

Example:

[PRESET:mypreset1]
options = ro
cnidsheme = tdb

[PRESET:mypreset2]
options = rw
adouble = v2
cnidsheme = dbd

Florent Viard

Le 20/02/2012 11:05, Frank Lahm a écrit :
> Am 19. Februar 2012 19:44 schrieb John Brisbin<john <at> nakasuji.com>:
>> On 2/19/12 5:29 AM, HAT wrote:
>>> <snip>
>>> I cannot understand this format well because it is very complicated.
>>> It's not intuitive that there are two or more defaults.
>>> <snip>
>> Perhaps if each was called a 'preset', instead of a 'default' it would
>> make more sense to more people when there is the possibility of more
>> than one.
> Possibly, so what about:
>
> ---8<--- afp.conf
(Continue reading)


Gmane